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

feat: Add cmake & ninja build requirements only when needed #2451

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mgorny
Copy link

@mgorny mgorny commented Jan 17, 2025

Rather than listing cmake and ninja build requirements unconditionally, add them to setup_requires when they are necessary -- that is, when using skbuild and when the system installations of these tools are not available. This avoids installing the packages unnecessarily, and improves portability by using downstream patched CMake version when available.

Rather than listing `cmake` and `ninja` build requirements
unconditionally, add them to `setup_requires` when they are necessary --
that is, when using skbuild and when the system installations of these
tools are not available.  This avoids installing the packages
unnecessarily, and improves portability by using downstream patched
CMake version when available.
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.

2 participants