Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix flang #18

Merged
merged 3 commits into from
Aug 21, 2023
Merged

Fix flang #18

merged 3 commits into from
Aug 21, 2023

Conversation

yannrichet
Copy link
Member

add

USE_FLANG=$(shell echo $(FC) | egrep "flang")
ifneq ($(USE_FLANG),)
  LLVM_PATH=$(shell $(USE_FLANG) --version | egrep "InstalledDir" | cut -d: -f2 | tr -d ' ')
  FLIBS=-L$(LLVM_PATH)/../lib -lFortran_main -lFortranRuntime -lFortranDecimal -lm
  $(info Use FLANG with FLIBS: $(FLIBS))
endif

in src/Makevars to support flang

@yannrichet yannrichet merged commit a6442b5 into master Aug 21, 2023
30 of 46 checks passed
@yannrichet yannrichet deleted the fix-flang branch August 21, 2023 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants