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

Only set Fortran arguments for Fortran compiler #637

Merged
merged 2 commits into from
Mar 19, 2022

Conversation

awvwgk
Copy link
Member

@awvwgk awvwgk commented Mar 18, 2022

Closes #636

@awvwgk awvwgk added the build: cmake Issue with stdlib's CMake build files label Mar 18, 2022
awvwgk added a commit to regro-cf-autotick-bot/fortran_stdlib-feedstock that referenced this pull request Mar 18, 2022
@awvwgk awvwgk requested a review from a team March 18, 2022 12:11
Copy link
Member

@jvdp1 jvdp1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am far to be an expert in CMake. So, AFAIK, it looks good to me. Thank you.

Copy link
Member

@ivan-pi ivan-pi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hopefully there are no compiler flags which use a semi-colon... CMake never ceases to surprise me with it's quirky syntax.

Overall looks understandable. How are users supposed to provide their own flags? Via export FFLAGS, or something like -DCMAKE_Fortran_FLAGS_????

@awvwgk awvwgk merged commit ee4d105 into fortran-lang:master Mar 19, 2022
@awvwgk awvwgk deleted the cmake branch March 19, 2022 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build: cmake Issue with stdlib's CMake build files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fails to compile with clang as C compiler
3 participants