Skip to content

Conversation

@rbberger
Copy link
Member

@rbberger rbberger commented Jan 9, 2026

Kokkos 5 requires C++20. vtk-m fails to compile with it. I was considering explicitly directing people to use viskores, but I don't know too much about it and how compatible they are.

Note

Viskores has the appropriate changes for C++20, so should probably be used moving forward. See this changelog.

Copy link
Contributor

@tpadioleau tpadioleau left a comment

Choose a reason for hiding this comment

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

Looks good to me.

I wanted to consider depends_on("kokkos@:4", when="+kokkos") but I am not sure how to interpret depends_on("[email protected]:3.9", when="@2.0 +kokkos"), why is it specific to 2.0.x ?

@kmorel
Copy link
Contributor

kmorel commented Jan 9, 2026

I agree with your assessment. Applications still using VTK-m would have to be updated to Viskores, but this will be expected going forward. I don't see a reason to patch VTK-m to use C++20 unless there is a compelling use case for that.

@johnwparent johnwparent merged commit 5f19518 into spack:develop Jan 9, 2026
17 checks passed
@rbberger rbberger deleted the updates/vtk-m branch January 9, 2026 21:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants