Simplify a few CMakePackages by removing redundant directives (#41163)
Co-authored-by: jmcarcell <jmcarcell@users.noreply.github.com>
This commit is contained in:
parent
e0ef78b26e
commit
bd3a1d28bf
@ -28,13 +28,6 @@ class Crtm(CMakePackage):
|
||||
variant(
|
||||
"fix", default=False, description='Download CRTM coeffecient or "fix" files (several GBs).'
|
||||
)
|
||||
variant(
|
||||
"build_type",
|
||||
default="RelWithDebInfo",
|
||||
description="CMake build type",
|
||||
values=("Debug", "Release", "RelWithDebInfo", "MinSizeRel"),
|
||||
)
|
||||
|
||||
depends_on("cmake@3.15:")
|
||||
depends_on("git-lfs")
|
||||
depends_on("netcdf-fortran", when="@2.4.0:")
|
||||
|
@ -41,12 +41,6 @@ class Draco(CMakePackage):
|
||||
version("6.20.1", sha256="b1c51000c9557e0818014713fce70d681869c50ed9c4548dcfb2e9219c354ebe")
|
||||
version("6.20.0", sha256="a6e3142c1c90b09c4ff8057bfee974369b815122b01d1f7b57888dcb9b1128f6")
|
||||
|
||||
variant(
|
||||
"build_type",
|
||||
default="Release",
|
||||
description="CMake build type",
|
||||
values=("Debug", "Release", "RelWithDebInfo", "MinSizeRel"),
|
||||
)
|
||||
variant("caliper", default=False, description="Enable caliper timers support")
|
||||
variant("cuda", default=False, description="Enable Cuda/GPU support")
|
||||
variant("eospac", default=True, description="Enable EOSPAC support")
|
||||
|
@ -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",
|
||||
description="CMake build type",
|
||||
values=("Debug", "Release", "RelWithDebInfo", "MinSizeRel"),
|
||||
)
|
||||
depends_on("googletest", type="test")
|
||||
depends_on("cmake@3:", type="build")
|
||||
depends_on("chrpath", when="+chrpath", type="run")
|
||||
|
Loading…
Reference in New Issue
Block a user