Skip to content

Conversation

@kiranchandramohan
Copy link
Contributor

%flang expands to flang -isysroot <SDK location> in Mac and probably other OS as well. fc1 is only accepted as the first argument and hence in this case it fails.

Use the %flang_fc1 option to correctly expand to flang -fc1 -isysroot <SDK location>.

%flang expands to flang -isysroot <SDK location> in Mac and probably
other OS as well. `fc1` is only accepted as the first argument and
hence in this case it fails.

Use the %flang_fc1 option to correctly expand.
@llvmbot llvmbot added the flang Flang issues not falling into any other category label Jun 15, 2025
Copy link
Contributor

@tblah tblah left a comment

Choose a reason for hiding this comment

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

Thanks

@kiranchandramohan kiranchandramohan merged commit dfb14b6 into llvm:main Jun 16, 2025
7 checks passed
akuhlens pushed a commit to akuhlens/llvm-project that referenced this pull request Jun 24, 2025
`%flang` expands to `flang -isysroot <SDK location>` in Mac and probably
other OS as well. `fc1` is only accepted as the first argument and hence
in this case it fails.

Use the `%flang_fc1` option to correctly expand to `flang -fc1 -isysroot
<SDK location>`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

flang Flang issues not falling into any other category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants