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

add option for stdmode install #258

Merged
merged 1 commit into from
Feb 27, 2024

Conversation

nmm0
Copy link
Contributor

@nmm0 nmm0 commented May 2, 2023

Anyway, this PR adds a new CMake option, MDSPAN_INSTALL_STDMODE_HEADERS that will disable installing the std-like headers <experimental/mdspan> and <experimental/mdarray>. This will hopefully avoid conflicts with any standard library that actually ships mdspan if the user is not intending to use these headers (including ones that ship this library :P). I've defaulted this to OFF which is technically a breaking change so I can switch that around. However, in general I think it shouldn't be on by default.

Also, I realized that <mdspan/mdspan.hpp> and <mdspan/mdarray.hpp> were not installed, so this fixes that too.

@nmm0 nmm0 requested review from dalg24 and crtrott May 2, 2023 23:00
@crtrott
Copy link
Member

crtrott commented May 3, 2023

You mean you defaulted to off right?

@nmm0
Copy link
Contributor Author

nmm0 commented May 3, 2023

You mean you defaulted to off right?

woops yeah

@crtrott
Copy link
Member

crtrott commented May 3, 2023

I think this is ok.

@nmm0 nmm0 force-pushed the add-option-for-stdmode-install branch from 862cac4 to 27a36c8 Compare May 15, 2023 22:12
@nmm0 nmm0 force-pushed the add-option-for-stdmode-install branch from 27a36c8 to 2496616 Compare November 28, 2023 20:32
@nmm0 nmm0 force-pushed the add-option-for-stdmode-install branch from 2496616 to 4ab7984 Compare February 12, 2024 18:56
@dalg24 dalg24 merged commit 879869d into kokkos:stable Feb 27, 2024
10 checks passed
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