Skip to content

Conversation

@jplehr
Copy link
Contributor

@jplehr jplehr commented Nov 27, 2025

Recent changes in CMake require to explicitly build the flang-rt for the offload target.

Recent changes in CMake require to explicitly build the flang-rt for the
offload target.
Copy link
Member

@Meinersbur Meinersbur left a comment

Choose a reason for hiding this comment

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

Background: llvm/llvm-project#169638 makes the Fortran modules files specific for each target. That means to run the offload Fortran tests, it needs the amdgpu-amd-amdhsa module files which are generated by flang-rt.

Will need to wait for llvm/llvm-project#169638 to land. Without it it will try to compile the entire runtime for amdgpu-amd-amdhsa which according to llvm/llvm-project#131826 is experimental and when I tried failed because of missing C++ headers.

@jplehr
Copy link
Contributor Author

jplehr commented Nov 27, 2025

Thank you for the links to the related LLVM PRs. Feel free to land this when you landed the other PR.

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