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

Remove old build notes for cmake <3.12 #617

Closed
wants to merge 1 commit into from

Conversation

JBludau
Copy link
Contributor

@JBludau JBludau commented Jan 26, 2025

since we require 3.16 users should not hit this

Copy link
Member

@dalg24 dalg24 left a comment

Choose a reason for hiding this comment

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

I think that was more about what projects downstream set as their cmake minimum required version and that if that is less than 3.12, then Kokkos_ROOT might not be the right thing to find Kokkos.

Comment on lines -28 to -31
Note: You may need the following if using some versions of CMake (e.g. 3.12):
````cmake
cmake_policy(SET CMP0074 NEW)
````
Copy link
Contributor

Choose a reason for hiding this comment

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

Note: Using Kokkos_ROOT requires CMP0074 to be set to NEW, e.g., using

cmake_policy(SET CMP0074 NEW)

when the minimum required CMake version in the dowsntream project is less than 3.12.

@JBludau
Copy link
Contributor Author

JBludau commented Jan 27, 2025

Not sure if we really test this, but I will close this for now. If we update our cmake build system we will need to revisit this because there we impose 3.21 on downstream projects.

@JBludau JBludau closed this Jan 27, 2025
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.

3 participants