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

Create a FindScikitBuildCore.cmake module #902

Open
LecrisUT opened this issue Sep 19, 2024 · 0 comments
Open

Create a FindScikitBuildCore.cmake module #902

LecrisUT opened this issue Sep 19, 2024 · 0 comments

Comments

@LecrisUT
Copy link
Collaborator

There could be some additional checks and settings that would work better running within CMake, e.g. checking try_compile of python bindings. What can or should include in such a module:

  • check that scikit-build-core is included in the python environment
  • expose Components to control additional integrations
  • try_compile to make sure python devel package is present and ABI compatible with the compiler
  • migrate most cache values definitions to there
  • expose functions to create and install python metadata files, python native files, etc.
  • reconfigure GnuInstallDir paths to be wheel install compatible. Primarily thinking about CMAKE_INSTALL_BINDIR

Most of these should be gated by the components requested and maybe pip install can auto-inject some components depending on the configuration.

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

No branches or pull requests

1 participant