diff options
author | Michael Kuhn <michael.kuhn@ovgu.de> | 2023-05-05 10:35:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-05 10:35:40 +0200 |
commit | b2c3973d4a3066abcbe95694e017f01b7a812e0b (patch) | |
tree | 9fd4000d67af616cd8e4e279777afddd20d101d2 | |
parent | 35e1dc8eba0ceb8ca9f0b4481343e38cbcdb7cd3 (diff) | |
download | spack-b2c3973d4a3066abcbe95694e017f01b7a812e0b.tar.gz spack-b2c3973d4a3066abcbe95694e017f01b7a812e0b.tar.bz2 spack-b2c3973d4a3066abcbe95694e017f01b7a812e0b.tar.xz spack-b2c3973d4a3066abcbe95694e017f01b7a812e0b.zip |
meson: change default build type to "release" (#37436)
The same was done for CMake in #36679.
-rw-r--r-- | lib/spack/spack/build_systems/meson.py | 2 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/mesa/package.py | 8 |
2 files changed, 1 insertions, 9 deletions
diff --git a/lib/spack/spack/build_systems/meson.py b/lib/spack/spack/build_systems/meson.py index 65e0e7ad4f..be02685e54 100644 --- a/lib/spack/spack/build_systems/meson.py +++ b/lib/spack/spack/build_systems/meson.py @@ -33,7 +33,7 @@ class MesonPackage(spack.package_base.PackageBase): with when("build_system=meson"): variant( "buildtype", - default="debugoptimized", + default="release", description="Meson build type", values=("plain", "debug", "debugoptimized", "release", "minsize"), ) diff --git a/var/spack/repos/builtin/packages/mesa/package.py b/var/spack/repos/builtin/packages/mesa/package.py index d4d489de74..5e5d5d07b6 100644 --- a/var/spack/repos/builtin/packages/mesa/package.py +++ b/var/spack/repos/builtin/packages/mesa/package.py @@ -55,14 +55,6 @@ class Mesa(MesonPackage): depends_on("expat") depends_on("zlib@1.2.3:") - # Override the build type variant so we can default to release - variant( - "buildtype", - default="release", - description="Meson build type", - values=("plain", "debug", "debugoptimized", "release", "minsize"), - ) - # Internal options variant("llvm", default=True, description="Enable LLVM.") |