Skip to content

Only set Fortran arguments for Fortran compiler - #637

Merged
awvwgk merged 2 commits into
fortran-lang:masterfrom
awvwgk:cmake
Mar 19, 2022
Merged

awvwgk merged 2 commits into
fortran-lang:masterfrom
awvwgk:cmake

Conversation

@awvwgk

@awvwgk awvwgk commented Mar 18, 2022

Copy link
Copy Markdown
Member

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

@jvdp1 jvdp1 left a comment

Copy link
Copy Markdown
Member

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.

Comment thread config/DefaultFlags.cmake Resolved

@ivan-pi ivan-pi left a comment

Copy link
Copy Markdown
Member

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