Skip to content

Enable configuring against <builddir>/cmake_packages - #471

Closed
dalg24 wants to merge 7 commits into
kokkos:stablefrom
dalg24:configure_against_binary_dir
Closed

dalg24 wants to merge 7 commits into
kokkos:stablefrom
dalg24:configure_against_binary_dir

Conversation

@dalg24

@dalg24 dalg24 commented Sep 27, 2026

Copy link
Copy Markdown
Member

Similar to kokkos/kokkos#9596
Enable to configure against <builddir>/cmake_packages, and not <builddir>.
This is a developer convenience, required in Kokkos Core. The recommended practice for users remains to configure against an install of Kokkos.

Blocks kokkos/kokkos#9517

Signed-off-by: Damien L-G <dalg24@gmail.com>
Signed-off-by: Damien L-G <dalg24@gmail.com>
Signed-off-by: Damien L-G <dalg24@gmail.com>
Comment thread CMakeLists.txt
cmake_minimum_required(VERSION 3.22)

project(MDSpan
project(mdspan

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

IMO this should match the name of the package when we export the configuration.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@tpadioleau tpadioleau Sep 30, 2026 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The requirement is really about the namespace and the project name. We can close #466 when merging then.

Signed-off-by: Damien L-G <dalg24@gmail.com>
@dalg24

dalg24 commented Sep 28, 2026

Copy link
Copy Markdown
Member Author

Hold on before you merge

@dalg24
dalg24 marked this pull request as draft September 28, 2026 16:59
Signed-off-by: Damien L-G <dalg24@gmail.com>
Signed-off-by: Damien L-G <dalg24@gmail.com>
@dalg24
dalg24 force-pushed the configure_against_binary_dir branch from 0b3f6ef to 7614704 Compare September 28, 2026 19:05
Signed-off-by: Damien L-G <dalg24@gmail.com>
@dalg24
dalg24 marked this pull request as ready for review September 28, 2026 19:41
@dalg24
dalg24 requested a review from nmm0 September 28, 2026 20:41
@dalg24

dalg24 commented Sep 28, 2026

Copy link
Copy Markdown
Member Author

Please wait on @nmm0 review before you merge

@dalg24

dalg24 commented Sep 30, 2026

Copy link
Copy Markdown
Member Author

Not required now that we went with kokkos/kokkos#9604

@dalg24 dalg24 closed this Sep 30, 2026
@dalg24
dalg24 deleted the configure_against_binary_dir branch September 30, 2026 17:36
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.

4 participants