Skip to content

Commit

Permalink
Simplify a few CMakePackages by removing redundant directives (spack#…
Browse files Browse the repository at this point in the history
…41163)

Co-authored-by: jmcarcell <[email protected]>
  • Loading branch information
2 people authored and climbfuji committed Dec 19, 2023
1 parent 67633ed commit d71fff9
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 19 deletions.
7 changes: 0 additions & 7 deletions var/spack/repos/builtin/packages/crtm/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,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("[email protected]:", type="build")
depends_on("git-lfs")
depends_on("netcdf-fortran", when="@2.4.0:")
Expand Down
6 changes: 0 additions & 6 deletions var/spack/repos/builtin/packages/draco/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
6 changes: 0 additions & 6 deletions var/spack/repos/builtin/packages/libtree/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit d71fff9

Please sign in to comment.