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

make Kokkos_CXX_COMPILER_VERSION available to CMake consumers #6282

Merged
merged 1 commit into from
Jul 14, 2023

Conversation

cwpearson
Copy link
Contributor

This might be generally useful to people, but the specific need is that a new performance test in Kokkos Kernels uses std::filesystem, and the rocm 5.2 compiler has that in a different library and experimental namespace, so we need to do some different configuration based on the compiler version.

Copy link
Member

@crtrott crtrott left a comment

Choose a reason for hiding this comment

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

I don't see a good reason not to export KOKKOS_CXX_COMPILER_VERSION, if we export KOKKOS_CXX_COMPILER_ID too. I could see an argument for ONLY exporting Kokkos_CXX_COMPILER to enable check for using the same compiler. But in fact even checking for same compiler to be rigorous probably should check for same compiler version too.

@dalg24
Copy link
Member

dalg24 commented Jul 14, 2023

Ignoring failure to start of one of the CUDA build

@dalg24 dalg24 merged commit 7061a4b into kokkos:develop Jul 14, 2023
27 of 28 checks passed
@dalg24
Copy link
Member

dalg24 commented Jul 14, 2023

Make sure you add to the changelog

@cwpearson cwpearson mentioned this pull request Jul 14, 2023
@cwpearson
Copy link
Contributor Author

Done, thanks for the reminder.

@cwpearson cwpearson deleted the feature/export-compiler-version branch July 14, 2023 20:43
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.

None yet

3 participants