-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Remove the default build_type for packages with the default CMake builds #41163
Conversation
@BenjaminTJohnson can you review this PR? This PR modifies the following package(s), for which you are listed as a maintainer:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2 packages out of 5 are not CMakePackages
. Another 2 have different default values, and this change needs to be approved by maintainers. draco
seems indeed a redundant directive.
@@ -54,12 +54,6 @@ def url_for_version(self, version): | |||
with when("build_system=cmake"): | |||
variant("chrpath", default=False, description="Use chrpath for deployment") | |||
variant("strip", default=False, description="Use binutils strip for deployment") | |||
variant( | |||
"build_type", | |||
default="RelWithDebInfo", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So does libtree
…41163) Co-authored-by: jmcarcell <[email protected]>
…41163) Co-authored-by: jmcarcell <[email protected]>
Let
build_type
be configured by the user or the default (currentlyRelease
) without having different default settings in each package.I have only changed the packages with the four default cases, but there are several candidate packages that only have a subset of the four that probably also don't need to have specified the
build_type
. For packages with different options, removing this may lead to problems if a certain type of build can't be done, as that would fail now at concretization time and without this block it would fail at build time.