treewide style: move depends_on(c,cxx,fortran) with other dependencies, after variants (#49769)
* fix: move depends_on(c,cxx,fortran) with other dependencies, after variants * treewide style: move depends_on(c,cxx,fortran) with other dependencies, after variants * treewide style: move depends_on(c,cxx,fortran) with other dependencies, after variant --------- Co-authored-by: Alec Scott <hi@alecbcs.com>
This commit is contained in:
@@ -28,11 +28,11 @@ class Abacus(MakefilePackage):
|
||||
version("2.2.1", sha256="14feca1d8d1ce025d3f263b85ebfbebc1a1efff704b6490e95b07603c55c1d63")
|
||||
version("2.2.0", sha256="09d4a2508d903121d29813a85791eeb3a905acbe1c5664b8a88903f8eda64b8f")
|
||||
|
||||
variant("openmp", default=True, description="Enable OpenMP support")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
variant("openmp", default=True, description="Enable OpenMP support")
|
||||
|
||||
depends_on("elpa+openmp", when="+openmp")
|
||||
depends_on("elpa~openmp", when="~openmp")
|
||||
depends_on("cereal")
|
||||
|
||||
@@ -43,10 +43,6 @@ class Abinit(AutotoolsPackage):
|
||||
version("8.6.3", sha256="82e8d071088ab8dc1b3a24380e30b68c544685678314df1213180b449c84ca65")
|
||||
version("8.2.2", sha256="e43544a178d758b0deff3011c51ef7c957d7f2df2ce8543366d68016af9f3ea1")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
depends_on("fortran", type="build") # generated
|
||||
|
||||
variant("mpi", default=True, description="Builds with MPI support. Requires MPI2+")
|
||||
variant("openmp", default=False, description="Enables OpenMP threads. Use threaded FFTW3")
|
||||
variant("scalapack", default=False, description="Enables scalapack support. Requires MPI")
|
||||
@@ -65,6 +61,10 @@ class Abinit(AutotoolsPackage):
|
||||
variant("install-tests", default=False, description="Install test cases")
|
||||
|
||||
# Add dependencies
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
depends_on("fortran", type="build") # generated
|
||||
|
||||
depends_on("atompaw")
|
||||
depends_on("blas")
|
||||
depends_on("lapack")
|
||||
|
||||
@@ -68,8 +68,6 @@ class AbseilCpp(CMakePackage):
|
||||
version("20181200", sha256="e2b53bfb685f5d4130b84c4f3050c81bf48c497614dc85d91dbd3ed9129bce6d")
|
||||
version("20180600", sha256="794d483dd9a19c43dc1fbbe284ce8956eb7f2600ef350dac4c602f9b4eb26e90")
|
||||
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
# Avoid export of testonly target absl::test_allocator in CMake builds
|
||||
patch(
|
||||
"https://github.com/abseil/abseil-cpp/commit/779a3565ac6c5b69dd1ab9183e500a27633117d5.patch?full_index=1",
|
||||
@@ -88,6 +86,8 @@ class AbseilCpp(CMakePackage):
|
||||
description="C++ standard used during compilation",
|
||||
)
|
||||
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
depends_on("cmake@3.16:", when="@20240722:", type="build")
|
||||
depends_on("cmake@3.10:", when="@20220907:", type="build")
|
||||
depends_on("cmake@3.5:", when="@20190312:", type="build")
|
||||
|
||||
@@ -36,13 +36,13 @@ class Abyss(AutotoolsPackage):
|
||||
version("2.0.2", sha256="d87b76edeac3a6fb48f24a1d63f243d8278a324c9a5eb29027b640f7089422df")
|
||||
version("1.5.2", sha256="8a52387f963afb7b63db4c9b81c053ed83956ea0a3981edcad554a895adf84b1")
|
||||
|
||||
depends_on("c", type="build")
|
||||
depends_on("cxx", type="build")
|
||||
|
||||
variant(
|
||||
"maxk", default=128, values=is_multiple_32, description="set the maximum k-mer length."
|
||||
)
|
||||
|
||||
depends_on("c", type="build")
|
||||
depends_on("cxx", type="build")
|
||||
|
||||
depends_on("autoconf", type="build")
|
||||
depends_on("automake", type="build")
|
||||
depends_on("bwa", type="run")
|
||||
|
||||
@@ -17,11 +17,11 @@ class Accfft(CMakePackage, CudaPackage):
|
||||
|
||||
version("develop", branch="master")
|
||||
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
variant("pnetcdf", default=True, description="Add support for parallel NetCDF")
|
||||
variant("shared", default=True, description="Enables the build of shared libraries")
|
||||
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
# See: http://accfft.org/articles/install/#installing-dependencies
|
||||
depends_on("fftw precision=float,double ~mpi+openmp")
|
||||
|
||||
|
||||
@@ -23,8 +23,6 @@ class ActsAlgebraPlugins(CMakePackage):
|
||||
version("0.25.0", sha256="bb0cba6e37558689d780a6de8f749abb3b96f8cd9e0c8851474eb4532e1e98b8")
|
||||
version("0.24.0", sha256="f44753e62b1ba29c28ab86b282ab67ac6028a0f9fe41e599b7fc6fc50b586b62")
|
||||
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
_cxxstd_values = (
|
||||
conditional("17", when="@:0.25"),
|
||||
conditional("20", when="@0:"),
|
||||
@@ -39,6 +37,8 @@ class ActsAlgebraPlugins(CMakePackage):
|
||||
variant("vc", default=False, description="Enables the Vc plugin")
|
||||
variant("fastor", default=False, description="Enables the Fastor plugin")
|
||||
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
depends_on("cmake@3.14:", type="build")
|
||||
depends_on("vecmem@1.5.0:", when="+vecmem")
|
||||
depends_on("vecmem@1.14.0:", when="+vecmem @0.27:")
|
||||
|
||||
@@ -196,9 +196,6 @@ class Acts(CMakePackage, CudaPackage):
|
||||
version("0.08.1", commit="289bdcc320f0b3ff1d792e29e462ec2d3ea15df6")
|
||||
version("0.08.0", commit="99eedb38f305e3a1cd99d9b4473241b7cd641fa9")
|
||||
|
||||
depends_on("c", type="build", when="+dd4hep") # DD4hep requires C
|
||||
depends_on("cxx", type="build")
|
||||
|
||||
# Variants that affect the core Acts library
|
||||
variant(
|
||||
"benchmarks", default=False, description="Build the performance benchmarks", when="@0.16:"
|
||||
@@ -350,6 +347,8 @@ class Acts(CMakePackage, CudaPackage):
|
||||
variant("analysis", default=False, description="Build analysis applications in the examples")
|
||||
|
||||
# Build dependencies
|
||||
depends_on("c", type="build", when="+dd4hep") # DD4hep requires C
|
||||
depends_on("cxx", type="build")
|
||||
depends_on("acts-dd4hep", when="@19 +dd4hep")
|
||||
with when("+svg"):
|
||||
depends_on("actsvg@0.4.20:", when="@20.1:")
|
||||
|
||||
@@ -27,10 +27,6 @@ class Adios(AutotoolsPackage):
|
||||
version("1.10.0", sha256="6713069259ee7bfd4d03f47640bf841874e9114bab24e7b0c58e310c42a0ec48")
|
||||
version("1.9.0", sha256="23b2bb70540d51ab0855af0b205ca484fd1bd963c39580c29e3133f9e6fffd46")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
depends_on("fortran", type="build") # generated
|
||||
|
||||
variant("shared", default=True, description="Builds a shared version of the library")
|
||||
|
||||
variant("fortran", default=False, description="Enable Fortran bindings support")
|
||||
@@ -60,6 +56,10 @@ class Adios(AutotoolsPackage):
|
||||
description="Enable dataspaces and/or flexpath staging transports",
|
||||
)
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
depends_on("fortran", type="build") # generated
|
||||
|
||||
depends_on("autoconf", type="build")
|
||||
depends_on("automake", type="build")
|
||||
depends_on("m4", type="build")
|
||||
|
||||
@@ -47,10 +47,6 @@ class Adios2(CMakePackage, CudaPackage, ROCmPackage):
|
||||
version("2.6.0", sha256="45b41889065f8b840725928db092848b8a8b8d1bfae1b92e72f8868d1c76216c")
|
||||
version("2.5.0", sha256="7c8ff3bf5441dd662806df9650c56a669359cb0185ea232ecb3578de7b065329")
|
||||
|
||||
depends_on("c", type="build")
|
||||
depends_on("cxx", type="build")
|
||||
depends_on("fortran", type="build")
|
||||
|
||||
# There's not really any consistency about how static and shared libs are
|
||||
# implemented across spack. What we're trying to support is specifically three
|
||||
# library build types:
|
||||
@@ -119,6 +115,10 @@ class Adios2(CMakePackage, CudaPackage, ROCmPackage):
|
||||
# ifx does not support submodules in separate files
|
||||
conflicts("%oneapi@:2022.1.0", when="+fortran")
|
||||
|
||||
depends_on("c", type="build")
|
||||
depends_on("cxx", type="build")
|
||||
depends_on("fortran", type="build")
|
||||
|
||||
depends_on("cmake@3.12.0:", type="build")
|
||||
|
||||
# Standalone CUDA support
|
||||
|
||||
@@ -29,9 +29,6 @@ class AdolC(AutotoolsPackage):
|
||||
version("2.5.1", sha256="dedb93c3bb291366d799014b04b6d1ec63ca4e7216edf16167776c07961e3b4a")
|
||||
version("2.5.0", sha256="9d51c426d831884aac8f418be410c001eb62f3a11cb8f30c66af0b842edffb96")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
variant(
|
||||
"advanced_branching",
|
||||
default=False,
|
||||
@@ -55,6 +52,9 @@ class AdolC(AutotoolsPackage):
|
||||
variant("boost", default=False, description="Enable boost")
|
||||
|
||||
# Build dependencies
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
depends_on("automake", type="build", when="@develop")
|
||||
depends_on("autoconf", type="build", when="@develop")
|
||||
depends_on("libtool", type="build", when="@develop")
|
||||
|
||||
@@ -25,9 +25,6 @@ class Akantu(CMakePackage):
|
||||
version("master", branch="master")
|
||||
version("3.0.0", sha256="7e8f64e25956eba44def1b2d891f6db8ba824e4a82ff0d51d6b585b60ab465db")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
variant(
|
||||
"external_solvers",
|
||||
values=any_combination_of("mumps", "petsc"),
|
||||
@@ -36,6 +33,9 @@ class Akantu(CMakePackage):
|
||||
variant("mpi", default=True, description="Activates parallel capabilities")
|
||||
variant("python", default=False, description="Activates python bindings")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
depends_on("boost@:1.66", when="@:3.0")
|
||||
depends_on(Boost.with_default_variants)
|
||||
depends_on("lapack")
|
||||
|
||||
@@ -20,8 +20,6 @@ class Albany(CMakePackage):
|
||||
|
||||
version("develop", branch="master")
|
||||
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
variant("lcm", default=True, description="Enable LCM")
|
||||
variant("aeras", default=False, description="Enable AERAS")
|
||||
variant("qcad", default=False, description="Enable QCAD")
|
||||
@@ -39,6 +37,8 @@ class Albany(CMakePackage):
|
||||
variant("64bit", default=True, description="Enable 64BIT")
|
||||
|
||||
# Add dependencies
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
depends_on("mpi")
|
||||
depends_on(
|
||||
"trilinos"
|
||||
|
||||
@@ -20,11 +20,11 @@ class Alembic(CMakePackage):
|
||||
version("1.8.5", sha256="180a12f08d391cd89f021f279dbe3b5423b1db751a9898540c8059a45825c2e9")
|
||||
version("1.7.16", sha256="2529586c89459af34d27a36ab114ad1d43dafd44061e65cfcfc73b7457379e7c")
|
||||
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
variant("python", default=False, description="Python support")
|
||||
variant("hdf5", default=False, description="HDF5 support")
|
||||
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
depends_on("cmake@2.8.11:", type="build")
|
||||
depends_on("openexr@2.2.0:")
|
||||
depends_on("hdf5@1.8.9:", when="+hdf5")
|
||||
|
||||
@@ -48,8 +48,6 @@ class Alpaka(CMakePackage, CudaPackage):
|
||||
deprecated=True,
|
||||
)
|
||||
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
variant(
|
||||
"backend",
|
||||
multi=True,
|
||||
@@ -73,6 +71,8 @@ class Alpaka(CMakePackage, CudaPackage):
|
||||
|
||||
variant("examples", default=False, description="Build alpaka examples")
|
||||
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
depends_on("boost@1.65.1:", when="@0.4.0:0.8.0")
|
||||
depends_on("boost@1.74:", when="@0.9.0:")
|
||||
|
||||
|
||||
@@ -21,12 +21,12 @@ class Alquimia(CMakePackage):
|
||||
version("1.0.10", commit="b2c11b6cde321f4a495ef9fcf267cb4c7a9858a0") # tag v.1.0.10
|
||||
version("1.0.9", commit="2ee3bcfacc63f685864bcac2b6868b48ad235225") # tag v.1.0.9
|
||||
|
||||
variant("shared", default=True, description="Enables the build of shared libraries")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
depends_on("fortran", type="build") # generated
|
||||
|
||||
variant("shared", default=True, description="Enables the build of shared libraries")
|
||||
|
||||
depends_on("mpi")
|
||||
depends_on("hdf5")
|
||||
depends_on("pflotran@5.0.0", when="@1.1.0")
|
||||
|
||||
@@ -19,12 +19,12 @@ class AlsaLib(AutotoolsPackage):
|
||||
version("1.2.2", sha256="d8e853d8805574777bbe40937812ad1419c9ea7210e176f0def3e6ed255ab3ec")
|
||||
version("1.1.4.1", sha256="91bb870c14d1c7c269213285eeed874fa3d28112077db061a3af8010d0885b76")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
|
||||
variant("python", default=False, description="enable python")
|
||||
|
||||
patch("python.patch", when="@1.1.4:1.1.5 +python")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
|
||||
depends_on("python", type=("link", "run"), when="+python")
|
||||
|
||||
conflicts("platform=darwin", msg="ALSA only works for Linux")
|
||||
|
||||
@@ -32,8 +32,6 @@ class Aluminum(CachedCMakePackage, CudaPackage, ROCmPackage):
|
||||
version("1.3.0", sha256="d0442efbebfdfb89eec793ae65eceb8f1ba65afa9f2e48df009f81985a4c27e3")
|
||||
version("1.2.3", sha256="9b214bdf30f9b7e8e017f83e6615db6be2631f5be3dd186205dbe3aa62f4018a")
|
||||
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
# Library capabilities
|
||||
variant(
|
||||
"cuda_rma",
|
||||
@@ -89,6 +87,8 @@ class Aluminum(CachedCMakePackage, CudaPackage, ROCmPackage):
|
||||
|
||||
conflicts("+cuda", when="+rocm", msg="CUDA and ROCm support are mutually exclusive")
|
||||
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
depends_on("mpi")
|
||||
|
||||
depends_on("cmake@3.21.0:", type="build", when="@1.0.1:")
|
||||
|
||||
@@ -52,9 +52,6 @@ class Amdfftw(FftwBase):
|
||||
version("3.0", sha256="a69deaf45478a59a69f77c4f7e9872967f1cfe996592dd12beb6318f18ea0bcd")
|
||||
version("2.2", sha256="de9d777236fb290c335860b458131678f75aa0799c641490c644c843f0e246f8")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("fortran", type="build") # generated
|
||||
|
||||
variant("shared", default=True, description="Builds a shared version of the library")
|
||||
variant("openmp", default=True, description="Enable OpenMP support")
|
||||
variant("threads", default=False, description="Enable SMP threads support")
|
||||
@@ -107,6 +104,9 @@ class Amdfftw(FftwBase):
|
||||
" to execute on different x86 CPU architectures",
|
||||
)
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("fortran", type="build") # generated
|
||||
|
||||
depends_on("texinfo")
|
||||
|
||||
provides("fftw-api@3")
|
||||
|
||||
@@ -61,10 +61,6 @@ class Amdlibflame(CMakePackage, LibflameBase):
|
||||
version("3.0", sha256="d94e08b688539748571e6d4c1ec1ce42732eac18bd75de989234983c33f01ced")
|
||||
version("2.2", sha256="12b9c1f92d2c2fa637305aaa15cf706652406f210eaa5cbc17aaea9fcfa576dc")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
depends_on("fortran", type="build") # generated
|
||||
|
||||
variant("ilp64", default=False, when="@3.0.1: ", description="Build with ILP64 support")
|
||||
variant(
|
||||
"vectorization",
|
||||
@@ -99,6 +95,10 @@ class Amdlibflame(CMakePackage, LibflameBase):
|
||||
|
||||
provides("flame@5.2", when="@2:")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
depends_on("fortran", type="build") # generated
|
||||
|
||||
depends_on("python+pythoncmd", type="build")
|
||||
depends_on("gmake@4:", when="@3.0.1,3.1:", type="build")
|
||||
|
||||
|
||||
@@ -43,12 +43,12 @@ class Amdlibm(SConsPackage):
|
||||
version("3.0", sha256="eb26b5e174f43ce083928d0d8748a6d6d74853333bba37d50057aac2bef7c7aa")
|
||||
version("2.2", commit="4033e022da428125747e118ccd6fdd9cee21c470")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
variant("verbose", default=False, description="Building with verbosity", when="@:4.1")
|
||||
|
||||
# Mandatory dependencies
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
depends_on("python@3.6.1:", type=("build", "run"))
|
||||
depends_on("scons@3.1.2:", type=("build"))
|
||||
depends_on("mpfr", type=("link"))
|
||||
|
||||
@@ -23,12 +23,12 @@ class Amg2013(MakefilePackage):
|
||||
version("1.1", tag="1.1", commit="09fe8a78baf6ba5eaef7d2804f7b653885d60fee")
|
||||
version("1.0", tag="1.0", commit="f5b864708ca3ef48a86e1e46fcb812cbbfa80c51")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
|
||||
variant("openmp", default=True, description="Build with OpenMP support")
|
||||
variant("optflags", default=False, description="Additional optimizations")
|
||||
variant("int64", default=False, description="Use 64-bit integers for global variables")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
|
||||
depends_on("mpi")
|
||||
|
||||
@property
|
||||
|
||||
@@ -20,12 +20,12 @@ class Amg2023(CMakePackage, CudaPackage, ROCmPackage):
|
||||
|
||||
version("develop", branch="main")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
|
||||
variant("mpi", default=True, description="Enable MPI support")
|
||||
variant("openmp", default=False, description="Enable OpenMP support")
|
||||
variant("caliper", default=False, description="Enable Caliper monitoring")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
|
||||
depends_on("mpi", when="+mpi")
|
||||
depends_on("hypre+mpi", when="+mpi")
|
||||
requires("+mpi", when="^hypre+mpi")
|
||||
|
||||
@@ -28,14 +28,14 @@ class Amgx(CMakePackage, CudaPackage):
|
||||
version("2.0.1", sha256="6f9991f1836fbf4ba2114ce9f49febd0edc069a24f533bd94fd9aa9be72435a7")
|
||||
version("2.0.0", sha256="8ec7ea8412be3de216fcf7243c4e2a8bcf76878e6865468e4238630a082a431b")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
variant("cuda", default=True, description="Build with CUDA")
|
||||
variant("mpi", default=True, description="Enable MPI support")
|
||||
variant("mkl", default=False, description="Enable MKL support")
|
||||
variant("magma", default=False, description="Enable Magma support")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
depends_on("mpi", when="+mpi")
|
||||
depends_on("mkl", when="+mkl")
|
||||
depends_on("magma", when="+magma")
|
||||
|
||||
@@ -40,8 +40,6 @@ class Aml(AutotoolsPackage):
|
||||
deprecated=True,
|
||||
)
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
|
||||
# Generate possible variants.
|
||||
#############################
|
||||
|
||||
@@ -64,6 +62,7 @@ class Aml(AutotoolsPackage):
|
||||
|
||||
# Dependencies management
|
||||
#########################
|
||||
depends_on("c", type="build") # generated
|
||||
|
||||
# aml always depends on libnuma
|
||||
depends_on("numactl")
|
||||
|
||||
@@ -21,8 +21,6 @@ class AmqpCpp(CMakePackage):
|
||||
version("4.3.24", sha256="c3312f8af813cacabf6c257dfaf41bf9e66606bbf7d62d085a9b7da695355245")
|
||||
version("4.3.19", sha256="ca29bb349c498948576a4604bed5fd3c27d87240b271a4441ccf04ba3797b31d")
|
||||
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
variant(
|
||||
"tcp",
|
||||
default=False,
|
||||
@@ -32,6 +30,8 @@ class AmqpCpp(CMakePackage):
|
||||
|
||||
conflicts("+tcp", when="platform=darwin", msg="TCP module requires Linux")
|
||||
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
depends_on("cmake@3.5:", type="build")
|
||||
depends_on("openssl@1.1.1:", when="+tcp", type=("build", "link", "run"))
|
||||
|
||||
|
||||
@@ -94,10 +94,6 @@ class Amrex(CMakePackage, CudaPackage, ROCmPackage):
|
||||
version("18.10", sha256="298eba03ef03d617c346079433af1089d38076d6fab2c34476c687740c1f4234")
|
||||
version("18.09.1", sha256="a065ee4d1d98324b6c492ae20ea63ba12a4a4e23432bf5b3fe9788d44aa4398e")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
depends_on("fortran", type="build") # generated
|
||||
|
||||
# Config options
|
||||
variant(
|
||||
"dimensions",
|
||||
@@ -154,6 +150,10 @@ class Amrex(CMakePackage, CudaPackage, ROCmPackage):
|
||||
variant("sycl", default=False, description="Enable SYCL backend")
|
||||
|
||||
# Build dependencies
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
depends_on("fortran", type="build") # generated
|
||||
|
||||
depends_on("mpi", when="+mpi")
|
||||
with when("+linear_solvers"):
|
||||
depends_on("rocsparse", when="@25.01: +rocm")
|
||||
|
||||
@@ -19,8 +19,6 @@ class Amrvis(MakefilePackage):
|
||||
|
||||
version("main", branch="main")
|
||||
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
variant(
|
||||
"dims",
|
||||
default="3",
|
||||
@@ -39,6 +37,8 @@ class Amrvis(MakefilePackage):
|
||||
variant("debug", default=False, description="Enable debugging features")
|
||||
variant("profiling", default=False, description="Enable AMReX profiling features")
|
||||
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
depends_on("gmake", type="build")
|
||||
depends_on("mpi", when="+mpi")
|
||||
depends_on("libsm")
|
||||
|
||||
@@ -27,9 +27,6 @@ class Ams(CMakePackage, CudaPackage):
|
||||
submodules=False,
|
||||
)
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
variant(
|
||||
"faiss",
|
||||
default=False,
|
||||
@@ -50,6 +47,9 @@ class Ams(CMakePackage, CudaPackage):
|
||||
description="Enable AMSLib verbose output (controlled by environment variable)",
|
||||
)
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
depends_on("umpire")
|
||||
depends_on("mpi", when="+mpi")
|
||||
|
||||
|
||||
@@ -21,11 +21,11 @@ class Angsd(MakefilePackage):
|
||||
version("0.921", sha256="8892d279ce1804f9e17fe2fc65a47e5498e78fc1c1cb84d2ca2527fd5c198772")
|
||||
version("0.919", sha256="c2ea718ca5a5427109f4c3415e963dcb4da9afa1b856034e25c59c003d21822a")
|
||||
|
||||
variant("r", default=True, description="Enable R dependency")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
variant("r", default=True, description="Enable R dependency")
|
||||
|
||||
depends_on("htslib")
|
||||
conflicts("^htslib@1.6:", when="@0.919")
|
||||
|
||||
|
||||
@@ -19,9 +19,6 @@ class Antlr(AutotoolsPackage):
|
||||
|
||||
version("2.7.7", sha256="853aeb021aef7586bda29e74a6b03006bcb565a755c86b66032d8ec31b67dbb9")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
# Fixes build with recent versions of GCC
|
||||
patch("gcc.patch")
|
||||
|
||||
@@ -30,6 +27,9 @@ class Antlr(AutotoolsPackage):
|
||||
variant("python", default=False, description="Enable ANTLR for Python")
|
||||
variant("pic", default=False, description="Enable fPIC")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
extends("python", when="+python")
|
||||
depends_on("java", type=("build", "run"), when="+java")
|
||||
|
||||
|
||||
@@ -58,14 +58,14 @@ class Aocc(Package, LlvmDetection, CompilerPackage):
|
||||
url="https://download.amd.com/developer/eula/aocc-compiler/aocc-compiler-3.2.0.tar",
|
||||
)
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
|
||||
provides("c", "cxx")
|
||||
provides("fortran")
|
||||
|
||||
# Licensing
|
||||
license_url = "https://www.amd.com/en/developer/aocc/aocc-compiler/eula.html"
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
|
||||
depends_on("libxml2")
|
||||
depends_on("zlib-api")
|
||||
depends_on("ncurses")
|
||||
|
||||
@@ -49,9 +49,6 @@ class AoclCompression(CMakePackage):
|
||||
)
|
||||
version("4.2", sha256="a18b3e7f64a8105c1500dda7b4c343e974b5e26bfe3dd838a1c1acf82a969c6f")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
variant("shared", default=True, description="Build shared library")
|
||||
variant("zlib", default=True, description="Build zlib library")
|
||||
variant("bzip2", default=True, description="Build bzip2 library")
|
||||
@@ -74,6 +71,9 @@ class AoclCompression(CMakePackage):
|
||||
)
|
||||
variant("enable_fast_math", default=False, description="Enable fast-math optimizations")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
depends_on("cmake@3.22:", type="build")
|
||||
|
||||
def cmake_args(self):
|
||||
|
||||
@@ -43,8 +43,6 @@ class AoclCrypto(CMakePackage):
|
||||
)
|
||||
version("4.2", sha256="2bdbedd8ab1b28632cadff237f4abd776e809940ad3633ad90fc52ce225911fe")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
variant("examples", default=False, description="Build examples")
|
||||
variant("ipp", default=False, description="Build Intel IPP library")
|
||||
|
||||
@@ -55,6 +53,8 @@ class AoclCrypto(CMakePackage):
|
||||
when="@5.0",
|
||||
)
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
depends_on("cmake@3.22:", type="build")
|
||||
depends_on("openssl@3.1.5:")
|
||||
depends_on("intel-oneapi-ippcp@2021.12.0:", when="+ipp")
|
||||
|
||||
@@ -39,9 +39,6 @@ class AoclLibmem(CMakePackage):
|
||||
)
|
||||
version("4.2", sha256="4ff5bd8002e94cc2029ef1aeda72e7cf944b797c7f07383656caa93bcb447569")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
variant("logging", default=False, description="Enable/Disable logger")
|
||||
variant("tunables", default=False, description="Enable/Disable user input")
|
||||
variant("shared", default=True, description="build shared library")
|
||||
@@ -60,6 +57,9 @@ class AoclLibmem(CMakePackage):
|
||||
when="@5.0",
|
||||
)
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
depends_on("cmake@3.22:", type="build")
|
||||
|
||||
@property
|
||||
|
||||
@@ -42,9 +42,6 @@ class AoclSparse(CMakePackage):
|
||||
version("3.0", sha256="1d04ba16e04c065051af916b1ed9afce50296edfa9b1513211a7378e1d6b952e")
|
||||
version("2.2", sha256="33c2ed6622cda61d2613ee63ff12c116a6cd209c62e54307b8fde986cd65f664")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
variant("shared", default=True, description="Build shared library")
|
||||
variant("ilp64", default=False, description="Build with ILP64 support")
|
||||
variant("examples", default=False, description="Build sparse examples")
|
||||
@@ -58,6 +55,9 @@ class AoclSparse(CMakePackage):
|
||||
)
|
||||
variant("openmp", default=True, when="@4.2:", description="Enable OpenMP support")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
for vers in ["4.1", "4.2", "5.0"]:
|
||||
with when(f"@={vers}"):
|
||||
depends_on(f"amdblis@={vers}")
|
||||
|
||||
@@ -42,13 +42,13 @@ class AoclUtils(CMakePackage):
|
||||
version("4.2", sha256="1294cdf275de44d3a22fea6fc4cd5bf66260d0a19abb2e488b898aaf632486bd")
|
||||
version("4.1", sha256="660746e7770dd195059ec25e124759b126ee9f060f43302d13354560ca76c02c")
|
||||
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
variant("doc", default=False, description="enable documentation")
|
||||
variant("tests", default=False, description="enable testing")
|
||||
variant("shared", default=True, when="@4.2:", description="build shared library")
|
||||
variant("examples", default=False, description="enable examples")
|
||||
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
depends_on("cmake@3.22:", type="build")
|
||||
depends_on("doxygen", when="+doc")
|
||||
|
||||
|
||||
@@ -41,15 +41,15 @@ class Apcomp(Package):
|
||||
version("0.0.2", sha256="cb2e2c4524889408de2dd3d29665512c99763db13e6f5e35c3b55e52948c649c")
|
||||
version("0.0.1", sha256="cbf85fe58d5d5bc2f468d081386cc8b79861046b3bb7e966edfa3f8e95b998b2")
|
||||
|
||||
depends_on("cxx", type="build") # generated
|
||||
depends_on("fortran", type="build") # generated
|
||||
|
||||
variant("openmp", default=True, description="Build with openmp support")
|
||||
variant("mpi", default=True, description="Build with MPI support")
|
||||
variant("shared", default=True, description="Build Shared Library")
|
||||
# set to false for systems that implicitly link mpi
|
||||
variant("blt_find_mpi", default=True, description="Use BLT CMake Find MPI logic")
|
||||
|
||||
depends_on("cxx", type="build") # generated
|
||||
depends_on("fortran", type="build") # generated
|
||||
|
||||
depends_on("cmake@3.9:", type="build")
|
||||
depends_on("mpi", when="+mpi")
|
||||
depends_on("llvm-openmp", when="+openmp %apple-clang")
|
||||
|
||||
@@ -66,10 +66,6 @@ class Apex(CMakePackage):
|
||||
deprecated=True,
|
||||
)
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
depends_on("fortran", type="build") # generated
|
||||
|
||||
# Disable some default dependencies on Darwin/OSX
|
||||
darwin_default = False
|
||||
if sys.platform != "darwin":
|
||||
@@ -102,6 +98,10 @@ class Apex(CMakePackage):
|
||||
variant("examples", default=False, description="Build Examples")
|
||||
|
||||
# Dependencies
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
depends_on("fortran", type="build") # generated
|
||||
|
||||
depends_on("zlib-api")
|
||||
depends_on("cmake@3.10.0:", type="build")
|
||||
depends_on("cmake@3.20.1:", type="build", when="@2.6.2:")
|
||||
|
||||
@@ -18,14 +18,14 @@ class AprUtil(AutotoolsPackage):
|
||||
version("1.6.0", sha256="483ef4d59e6ac9a36c7d3fd87ad7b9db7ad8ae29c06b9dd8ff22dda1cc416389")
|
||||
version("1.5.4", sha256="976a12a59bc286d634a21d7be0841cc74289ea9077aa1af46be19d1a6e844c19")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
|
||||
variant("crypto", default=True, description="Enable crypto support")
|
||||
variant("gdbm", default=False, description="Enable GDBM support")
|
||||
variant("pgsql", default=False, description="Enable PostgreSQL support")
|
||||
variant("sqlite", default=False, description="Enable sqlite DBD driver")
|
||||
variant("odbc", default=False, description="Enalbe ODBC support")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
|
||||
depends_on("apr")
|
||||
depends_on("expat")
|
||||
depends_on("iconv")
|
||||
|
||||
@@ -49,9 +49,6 @@ class Arbor(CMakePackage, CudaPackage):
|
||||
url="https://github.com/arbor-sim/arbor/releases/download/v0.5.2/arbor-v0.5.2-full.tar.gz",
|
||||
)
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
variant("assertions", default=False, description="Enable arb_assert() assertions in code.")
|
||||
variant("doc", default=False, description="Build documentation.")
|
||||
variant("mpi", default=False, description="Enable MPI support")
|
||||
@@ -73,6 +70,9 @@ class Arbor(CMakePackage, CudaPackage):
|
||||
conflicts("%cce@:9.1")
|
||||
conflicts("%intel")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
depends_on("cmake@3.19:", type="build")
|
||||
|
||||
# misc dependencies
|
||||
|
||||
@@ -37,8 +37,6 @@ class Arborx(CMakePackage, CudaPackage, ROCmPackage):
|
||||
deprecated=True,
|
||||
)
|
||||
|
||||
depends_on("cxx", type="build")
|
||||
|
||||
# Allowed C++ standard
|
||||
variant(
|
||||
"cxxstd",
|
||||
@@ -64,6 +62,8 @@ class Arborx(CMakePackage, CudaPackage, ROCmPackage):
|
||||
variant(backend.lower(), default=deflt, description=descr)
|
||||
variant("trilinos", default=False, when="@:1.5", description="use Kokkos from Trilinos")
|
||||
|
||||
depends_on("cxx", type="build")
|
||||
|
||||
depends_on("cmake@3.12:", type="build")
|
||||
depends_on("cmake@3.16:", type="build", when="@1.0:")
|
||||
depends_on("mpi", when="+mpi")
|
||||
|
||||
@@ -27,8 +27,6 @@ class Argobots(AutotoolsPackage):
|
||||
version("1.0.1", sha256="fa05a02d7f8f74d845647636609219ee02f6adf628ebcbf40393f829987d9036")
|
||||
version("1.0", sha256="36a0815f7bf99900a9c9c1eef61ef9b3b76aa2cfc4594a304f6c8c3296da8def")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
|
||||
variant("perf", default=True, description="Add performance optimization flags")
|
||||
variant("valgrind", default=False, description="Enable Valgrind")
|
||||
variant("debug", default=False, description="Compiled with debugging symbols")
|
||||
@@ -43,6 +41,8 @@ class Argobots(AutotoolsPackage):
|
||||
variant("tool", default=False, description="Enable ABT_tool interface")
|
||||
variant("affinity", default=False, description="Enable affinity setting")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
|
||||
depends_on("m4", type=("build"), when="@main")
|
||||
depends_on("autoconf", type=("build"), when="@main")
|
||||
depends_on("automake", type=("build"), when="@main")
|
||||
|
||||
@@ -33,11 +33,11 @@ class Armadillo(CMakePackage):
|
||||
version("8.100.1", sha256="54773f7d828bd3885c598f90122b530ded65d9b195c9034e082baea737cd138d")
|
||||
version("7.950.1", sha256="a32da32a0ea420b8397a53e4b40ed279c1a5fc791dd492a2ced81ffb14ad0d1b")
|
||||
|
||||
variant("hdf5", default=False, description="Include HDF5 support", when="@:10")
|
||||
|
||||
depends_on("c", type="build")
|
||||
depends_on("cxx", type="build")
|
||||
|
||||
variant("hdf5", default=False, description="Include HDF5 support", when="@:10")
|
||||
|
||||
depends_on("cmake@2.8.12:", type="build")
|
||||
depends_on("cmake@3.5:", type="build", when="@14:")
|
||||
depends_on("arpack-ng") # old arpack causes undefined symbols
|
||||
|
||||
@@ -22,14 +22,14 @@ class Armcimpi(AutotoolsPackage):
|
||||
"0.3.1-beta", sha256="f3eaa8f365fb55123ecd9ced401086b0732e37e4df592b27916d71a67ab34fe9"
|
||||
)
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("fortran", type="build") # generated
|
||||
|
||||
variant("shared", default=True, description="Builds a shared version of the library")
|
||||
variant("progress", default=False, description="Enable asynchronous progress")
|
||||
|
||||
provides("armci")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("fortran", type="build") # generated
|
||||
|
||||
depends_on("autoconf", type="build")
|
||||
depends_on("automake", type="build")
|
||||
depends_on("libtool", type="build")
|
||||
|
||||
@@ -51,10 +51,6 @@ class ArpackNg(CMakePackage, AutotoolsPackage):
|
||||
version("3.5.0", sha256="50f7a3e3aec2e08e732a487919262238f8504c3ef927246ec3495617dde81239")
|
||||
version("3.4.0", sha256="69e9fa08bacb2475e636da05a6c222b17c67f1ebeab3793762062248dd9d842f")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
depends_on("fortran", type="build") # generated
|
||||
|
||||
variant("shared", default=True, description="Enables the build of shared libraries")
|
||||
variant("mpi", default=True, description="Activates MPI support")
|
||||
variant("icb", default=False, when="@3.6:", description="Activates iso_c_binding support")
|
||||
@@ -71,6 +67,10 @@ class ArpackNg(CMakePackage, AutotoolsPackage):
|
||||
patch("xlf.patch", when="@3.7.0%xl", level=0)
|
||||
patch("xlf.patch", when="@3.7.0%xl_r", level=0)
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
depends_on("fortran", type="build") # generated
|
||||
|
||||
depends_on("blas")
|
||||
depends_on("lapack")
|
||||
depends_on("mpi", when="+mpi")
|
||||
|
||||
@@ -28,12 +28,12 @@ class Arrayfire(CMakePackage, CudaPackage):
|
||||
"3.7.0", commit="fbea2aeb6f7f2d277dcb0ab425a77bb18ed22291", submodules=True, tag="v3.7.0"
|
||||
)
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
variant("forge", default=False, description="Enable graphics library")
|
||||
variant("opencl", default=False, description="Enable OpenCL backend")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
depends_on("boost@1.70:")
|
||||
depends_on("fftw-api@3:")
|
||||
depends_on("blas")
|
||||
|
||||
@@ -23,10 +23,6 @@ class Asagi(CMakePackage):
|
||||
# is preferred to satisfy internal-dependencies
|
||||
version("1.0", commit="f67250798b435c308b9a1e7516f916f7855534ec", submodules=True)
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
depends_on("fortran", type="build") # generated
|
||||
|
||||
variant(
|
||||
"link_type",
|
||||
default="shared",
|
||||
@@ -46,6 +42,10 @@ class Asagi(CMakePackage):
|
||||
variant("tests", default=False, description="compile tests")
|
||||
variant("examples", default=False, description="compile examples")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
depends_on("fortran", type="build") # generated
|
||||
|
||||
depends_on("mpi", when="+mpi")
|
||||
depends_on("mpi@3:", when="+mpi3")
|
||||
depends_on("netcdf-c +mpi", when="+mpi")
|
||||
|
||||
@@ -87,10 +87,6 @@ class Ascent(CMakePackage, CudaPackage):
|
||||
"0.6.0", tag="v0.6.0", commit="9ade37b0a9ea495e45adb25cda7498c0bf9465c5", submodules=True
|
||||
)
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
depends_on("fortran", type="build") # generated
|
||||
|
||||
###########################################################################
|
||||
# package variants
|
||||
###########################################################################
|
||||
@@ -159,6 +155,10 @@ class Ascent(CMakePackage, CudaPackage):
|
||||
##########################################################################
|
||||
# package dependencies
|
||||
###########################################################################
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
depends_on("fortran", type="build") # generated
|
||||
|
||||
# Certain CMake versions have been found to break for our use cases
|
||||
depends_on("cmake@3.14.1:3.14,3.18.2:", type="build")
|
||||
|
||||
|
||||
@@ -37,10 +37,10 @@ class AsdfCxx(CMakePackage):
|
||||
version("1.1.0", sha256="3e23b9cd16254f5adbf878145e320f56b4d3ad75de23d2c761eb7f04150926c5")
|
||||
version("1.0.0", sha256="0b63594a1dec27cc85d25adbf900b6e936b5015f579b9b892b983151bec96775")
|
||||
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
variant("python", default=True, description="Enable Python support")
|
||||
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
depends_on("bzip2")
|
||||
depends_on("openssl")
|
||||
depends_on("py-numpy", type=("build", "run"), when="+python")
|
||||
|
||||
@@ -20,10 +20,10 @@ class Aspa(MakefilePackage):
|
||||
|
||||
version("master", branch="master")
|
||||
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
variant("mpi", default=True, description="Build with MPI Support")
|
||||
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
depends_on("lapack")
|
||||
depends_on("blas")
|
||||
depends_on("mpi", when="+mpi")
|
||||
|
||||
@@ -27,10 +27,6 @@ class Aspect(CMakePackage):
|
||||
version("2.0.1", sha256="0bf5600c42afce9d39c1d285b0654ecfdeb0f30e9f3421651c95f54ca01ac165")
|
||||
version("2.0.0", sha256="d485c07f54248e824bdfa35f3eec8971b65e8b7114552ffa2c771bc0dede8cc0")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
depends_on("fortran", type="build") # generated
|
||||
|
||||
variant(
|
||||
"build_type",
|
||||
default="Release",
|
||||
@@ -41,6 +37,10 @@ class Aspect(CMakePackage):
|
||||
variant("fpe", default=False, description="Enable floating point exception checks")
|
||||
variant("opendap", default=False, description="Enable OPeNDAP support for remote file access")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
depends_on("fortran", type="build") # generated
|
||||
|
||||
depends_on("dealii+p4est+trilinos+mpi")
|
||||
depends_on("dealii+p4est+trilinos+mpi+sundials", when="@3.0")
|
||||
depends_on("dealii-parameter-gui", when="+gui")
|
||||
|
||||
@@ -17,8 +17,6 @@ class Athena(AutotoolsPackage):
|
||||
version("master", branch="master")
|
||||
version("4.2", sha256="6334848d7f1325aa44859418feac8ce223b56793ae8907103000af5b27f50e7e")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
|
||||
# PHYSICS "packages":
|
||||
variant(
|
||||
"problem",
|
||||
@@ -154,6 +152,8 @@ class Athena(AutotoolsPackage):
|
||||
variant("rotating_frame", default=False, description="Turn on rotating_frame")
|
||||
variant("l1_inflow", default=False, description="Enable inflow from L1 point")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
|
||||
depends_on("autoconf", type="build")
|
||||
depends_on("automake", type="build")
|
||||
depends_on("libtool", type="build")
|
||||
|
||||
@@ -35,11 +35,11 @@ class Autodiff(CMakePackage, CudaPackage):
|
||||
version("0.6.4", sha256="cfe0bb7c0de10979caff9d9bfdad7e6267faea2b8d875027397486b47a7edd75")
|
||||
version("0.5.13", sha256="a73dc571bcaad6b44f74865fed51af375f5a877db44321b5568d94a4358b77a1")
|
||||
|
||||
depends_on("cxx", type="build")
|
||||
|
||||
variant("python", default=False, description="Enable the compilation of the python bindings.")
|
||||
variant("examples", default=False, description="Enable the compilation of the example files.")
|
||||
|
||||
depends_on("cxx", type="build")
|
||||
|
||||
depends_on("cmake@3.0:", type="build")
|
||||
depends_on("cmake@3.22:", when="@0.6.8", type="build")
|
||||
depends_on("cmake@3.16:", when="@0.6.9:", type="build")
|
||||
|
||||
@@ -21,8 +21,6 @@ class AutodockGpu(MakefilePackage, CudaPackage):
|
||||
|
||||
version("develop", branch="develop")
|
||||
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
variant(
|
||||
"device",
|
||||
default="cuda",
|
||||
@@ -33,6 +31,8 @@ class AutodockGpu(MakefilePackage, CudaPackage):
|
||||
variant("overlap", default=False, description="Overlap CPU and GPU operations")
|
||||
variant("cuda", default=True, description="Build with CUDA")
|
||||
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
depends_on("cuda")
|
||||
|
||||
conflicts("~cuda") # the cuda variant is mandatory
|
||||
|
||||
@@ -20,10 +20,10 @@ class Autogen(AutotoolsPackage, GNUMirrorPackage):
|
||||
|
||||
version("5.18.12", sha256="805c20182f3cb0ebf1571d3b01972851c56fb34348dfdc38799fd0ec3b2badbe")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
|
||||
variant("xml", default=True, description="Enable XML support")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
|
||||
depends_on("pkgconfig", type="build")
|
||||
|
||||
depends_on("guile@1.8:2.0")
|
||||
|
||||
@@ -34,11 +34,11 @@ class AwsOfiNccl(AutotoolsPackage):
|
||||
version("1.7.1", sha256="d50a160c7aba76445e5c895fba0f3dbfdec51f702d218168a5e5017806cf0fb0")
|
||||
version("1.6.0", sha256="19a6fc91afe9a317fd3154c897fa219eab48fcdddefa66d881f1843c1165f7ee")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
|
||||
variant("trace", default=False, description="Enable printing trace messages")
|
||||
variant("tests", default=False, description="Build tests")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
|
||||
depends_on("libfabric")
|
||||
depends_on("cuda")
|
||||
depends_on("nccl")
|
||||
|
||||
@@ -22,11 +22,11 @@ class AwsOfiRccl(AutotoolsPackage):
|
||||
version("cxi", branch="cxi", preferred=True)
|
||||
version("master", branch="master")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
|
||||
variant("trace", default=False, description="Enable printing trace messages")
|
||||
variant("tests", default=False, description="Build tests")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
|
||||
depends_on("libfabric")
|
||||
depends_on("hip")
|
||||
depends_on("rccl")
|
||||
|
||||
@@ -60,10 +60,6 @@ class Axom(CachedCMakePackage, CudaPackage, ROCmPackage):
|
||||
version("0.3.0", tag="v0.3.0", commit="20068ccab4b4f70055918b4f17960ec3ed6dbce8")
|
||||
version("0.2.9", tag="v0.2.9", commit="9e9a54ede3326817c05f35922738516e43b5ec3d")
|
||||
|
||||
depends_on("c", type="build")
|
||||
depends_on("cxx", type="build")
|
||||
depends_on("fortran", type="build", when="+fortran")
|
||||
|
||||
# https://github.com/spack/spack/issues/31829
|
||||
patch("examples-oneapi.patch", when="@0.6.1 +examples %oneapi")
|
||||
|
||||
@@ -114,6 +110,10 @@ class Axom(CachedCMakePackage, CudaPackage, ROCmPackage):
|
||||
# Dependencies
|
||||
# -----------------------------------------------------------------------
|
||||
# Basics
|
||||
depends_on("c", type="build")
|
||||
depends_on("cxx", type="build")
|
||||
depends_on("fortran", type="build", when="+fortran")
|
||||
|
||||
depends_on("cmake@3.14:", type="build")
|
||||
depends_on("cmake@3.18:", type="build", when="@0.7.0:")
|
||||
depends_on("cmake@3.21:", type="build", when="+rocm")
|
||||
|
||||
@@ -23,10 +23,10 @@ class BackwardCpp(CMakePackage):
|
||||
version("1.2", sha256="0a44fdad126cf2c53f93c33fd6418abaf99672048c98a5a57e2a2e43a38d5f84")
|
||||
version("1.1", sha256="36139e98b8b6a8ff84b28c50fd6443054ccee93cf63231fdd1db0036093553c4")
|
||||
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
variant("dwarf", default=False, description="Use libdwarf/libelf to read debug info")
|
||||
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
depends_on("libdwarf", when="+dwarf")
|
||||
|
||||
def cmake_args(self):
|
||||
|
||||
@@ -38,9 +38,6 @@ class Bcftools(AutotoolsPackage):
|
||||
version("1.3.1", sha256="12c37a4054cbf1980223e2b3a80a7fdb3fd850324a4ba6832e38fdba91f1b924")
|
||||
version("1.2", sha256="53c628339020dd45334a007c9cefdaf1cba3f1032492ec813b116379fa684fd6")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
variant(
|
||||
"libgsl",
|
||||
default=False,
|
||||
@@ -54,6 +51,9 @@ class Bcftools(AutotoolsPackage):
|
||||
"filtering expressions, for versions >= 1.8.",
|
||||
)
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
depends_on("gsl", when="+libgsl")
|
||||
depends_on("py-matplotlib", when="@1.6:", type="run")
|
||||
depends_on("py-gffutils", when="@1.9:", type="run")
|
||||
|
||||
@@ -31,9 +31,6 @@ class BdwGc(AutotoolsPackage):
|
||||
url="http://www.hboehm.info/gc/gc_source/gc-7.4.4.tar.gz",
|
||||
)
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
variant("libatomic-ops", default=True, description="Use external libatomic-ops")
|
||||
variant(
|
||||
"threads",
|
||||
@@ -43,6 +40,9 @@ class BdwGc(AutotoolsPackage):
|
||||
description="Multithreading support",
|
||||
)
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
depends_on("libatomic-ops", when="+libatomic-ops")
|
||||
|
||||
def configure_args(self):
|
||||
|
||||
@@ -14,10 +14,10 @@ class Beast1(Package):
|
||||
version("1.10.4", sha256="be652c4d55953f7c6c7a9d3eb3de203c77dc380e81ad81cfe0492408990c36a8")
|
||||
version("1.8.4", sha256="c14e93976008463108aefa34ecc23287ab70703caccf4962e36e295207120d78")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
|
||||
variant("beagle", default=True, description="Build with libbeagle support")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
|
||||
depends_on("java", type="run")
|
||||
depends_on("libbeagle", type=("build", "link", "run"), when="+beagle")
|
||||
|
||||
|
||||
@@ -20,14 +20,14 @@ class Beatnik(CMakePackage, CudaPackage, ROCmPackage):
|
||||
version("develop", branch="develop", submodules=True)
|
||||
version("main", branch="main", submodules=True)
|
||||
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
# Variants are primarily backends to build on GPU systems and pass the right
|
||||
# informtion to the packages we depend on
|
||||
variant("cuda", default=False, description="Use CUDA support from subpackages")
|
||||
variant("openmp", default=False, description="Use OpenMP support from subpackages")
|
||||
|
||||
# Dependencies for all Beatnik versions
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
depends_on("mpi")
|
||||
with when("+cuda"):
|
||||
depends_on("mpich +cuda", when="^[virtuals=mpi] mpich")
|
||||
|
||||
@@ -43,8 +43,6 @@ class Benchmark(CMakePackage):
|
||||
version("1.1.0", sha256="e7334dd254434c6668e33a54c8f839194c7c61840d52f4b6258eee28e9f3b20e")
|
||||
version("1.0.0", sha256="d2206c263fc1a7803d4b10e164e0c225f6bcf0d5e5f20b87929f137dee247b54")
|
||||
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
variant(
|
||||
"build_type",
|
||||
default="RelWithDebInfo",
|
||||
@@ -61,6 +59,8 @@ class Benchmark(CMakePackage):
|
||||
"shared", default=True, sticky=True, description="Build the libraries as shared objects"
|
||||
)
|
||||
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
depends_on("cmake@2.8.11:", type="build", when="@:1.1.0")
|
||||
depends_on("cmake@2.8.12:", type="build", when="@1.2.0:1.4")
|
||||
depends_on("cmake@3.5.1:", type="build", when="@1.5.0:")
|
||||
|
||||
@@ -46,10 +46,6 @@ class Berkeleygw(MakefilePackage):
|
||||
expand=False,
|
||||
)
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
depends_on("fortran", type="build") # generated
|
||||
|
||||
# For parallel computing support, enable +mpi. It uses MPI and ScaLAPACK
|
||||
# which are inter-dependent in the berkeleygw code(they need each other):
|
||||
# https://github.com/spack/spack/pull/33948#issuecomment-1323805817
|
||||
@@ -61,6 +57,10 @@ class Berkeleygw(MakefilePackage):
|
||||
variant("debug", default=False, description="Builds with DEBUG flag")
|
||||
variant("verbose", default=False, description="Builds with VERBOSE flag")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
depends_on("fortran", type="build") # generated
|
||||
|
||||
depends_on("blas")
|
||||
depends_on("lapack")
|
||||
depends_on("mpi", when="+mpi")
|
||||
|
||||
@@ -17,10 +17,10 @@ class Bertini(AutotoolsPackage):
|
||||
|
||||
version("1.5", sha256="a9a68a96e180fe6a93ba1bc1d61f522784c9a053b049b2cbd98008b5b6deec3c")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
|
||||
variant("mpi", default=True, description="Compile in parallel")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
|
||||
depends_on("flex", type="build")
|
||||
depends_on("bison", type="build")
|
||||
depends_on("gmp")
|
||||
|
||||
@@ -20,10 +20,6 @@ class BigdftAtlab(AutotoolsPackage):
|
||||
version("1.9.1", sha256="3c334da26d2a201b572579fc1a7f8caad1cbf971e848a3e10d83bc4dc8c82e41")
|
||||
version("1.9.0", sha256="4500e505f5a29d213f678a91d00a10fef9dc00860ea4b3edf9280f33ed0d1ac8")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
depends_on("fortran", type="build") # generated
|
||||
|
||||
variant("mpi", default=True, description="Enable MPI support")
|
||||
variant("openmp", default=True, description="Enable OpenMP support")
|
||||
variant("openbabel", default=False, description="Enable detection of openbabel compilation")
|
||||
@@ -31,6 +27,10 @@ class BigdftAtlab(AutotoolsPackage):
|
||||
"shared", default=True, description="Build shared libraries"
|
||||
) # Not default in bigdft, but is typically the default expectation
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
depends_on("fortran", type="build") # generated
|
||||
|
||||
depends_on("autoconf", type="build")
|
||||
depends_on("automake", type="build")
|
||||
depends_on("libtool", type="build")
|
||||
|
||||
@@ -21,10 +21,6 @@ class BigdftChess(AutotoolsPackage, CudaPackage):
|
||||
version("1.9.1", sha256="3c334da26d2a201b572579fc1a7f8caad1cbf971e848a3e10d83bc4dc8c82e41")
|
||||
version("1.9.0", sha256="4500e505f5a29d213f678a91d00a10fef9dc00860ea4b3edf9280f33ed0d1ac8")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
depends_on("fortran", type="build") # generated
|
||||
|
||||
variant("mpi", default=True, description="Enable MPI support")
|
||||
variant("openmp", default=True, description="Enable OpenMP support")
|
||||
variant("scalapack", default=True, description="Enable SCALAPACK support")
|
||||
@@ -34,6 +30,10 @@ class BigdftChess(AutotoolsPackage, CudaPackage):
|
||||
) # Not default in bigdft, but is typically the default expectation
|
||||
# variant('minpack', default=False, description='Give the link-line for MINPACK')
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
depends_on("fortran", type="build") # generated
|
||||
|
||||
depends_on("autoconf", type="build")
|
||||
depends_on("automake", type="build")
|
||||
depends_on("libtool", type="build")
|
||||
|
||||
@@ -21,10 +21,6 @@ class BigdftCore(AutotoolsPackage, CudaPackage):
|
||||
version("1.9.1", sha256="3c334da26d2a201b572579fc1a7f8caad1cbf971e848a3e10d83bc4dc8c82e41")
|
||||
version("1.9.0", sha256="4500e505f5a29d213f678a91d00a10fef9dc00860ea4b3edf9280f33ed0d1ac8")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
depends_on("fortran", type="build") # generated
|
||||
|
||||
variant("mpi", default=True, description="Enable MPI support")
|
||||
variant("openmp", default=True, description="Enable OpenMP support")
|
||||
variant("scalapack", default=True, description="Enable SCALAPACK support")
|
||||
@@ -33,6 +29,10 @@ class BigdftCore(AutotoolsPackage, CudaPackage):
|
||||
"shared", default=True, description="Build shared libraries"
|
||||
) # Not default in bigdft, but is typically the default expectation
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
depends_on("fortran", type="build") # generated
|
||||
|
||||
depends_on("autoconf", type="build")
|
||||
depends_on("automake", type="build")
|
||||
depends_on("libtool", type="build")
|
||||
|
||||
@@ -24,16 +24,16 @@ class BigdftFutile(AutotoolsPackage, CudaPackage):
|
||||
version("1.9.1", sha256="3c334da26d2a201b572579fc1a7f8caad1cbf971e848a3e10d83bc4dc8c82e41")
|
||||
version("1.9.0", sha256="4500e505f5a29d213f678a91d00a10fef9dc00860ea4b3edf9280f33ed0d1ac8")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
depends_on("fortran", type="build") # generated
|
||||
|
||||
variant("mpi", default=True, description="Enable MPI support")
|
||||
variant("openmp", default=True, description="Enable OpenMP support")
|
||||
variant(
|
||||
"shared", default=True, description="Build shared libraries"
|
||||
) # Not default in bigdft, but is typically the default expectation
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
depends_on("fortran", type="build") # generated
|
||||
|
||||
depends_on("autoconf", type="build")
|
||||
depends_on("automake", type="build")
|
||||
depends_on("libtool", type="build")
|
||||
|
||||
@@ -22,16 +22,16 @@ class BigdftPsolver(AutotoolsPackage, CudaPackage):
|
||||
version("1.9.1", sha256="3c334da26d2a201b572579fc1a7f8caad1cbf971e848a3e10d83bc4dc8c82e41")
|
||||
version("1.9.0", sha256="4500e505f5a29d213f678a91d00a10fef9dc00860ea4b3edf9280f33ed0d1ac8")
|
||||
|
||||
depends_on("c", type="build")
|
||||
depends_on("cxx", type="build")
|
||||
depends_on("fortran", type="build")
|
||||
|
||||
variant("mpi", default=True, description="Enable MPI support")
|
||||
variant("openmp", default=True, description="Enable OpenMP support")
|
||||
variant("scalapack", default=True, description="Enable SCALAPACK support")
|
||||
# Not default in bigdft, but is typically the default expectation:
|
||||
variant("shared", default=True, description="Build shared libraries")
|
||||
|
||||
depends_on("c", type="build")
|
||||
depends_on("cxx", type="build")
|
||||
depends_on("fortran", type="build")
|
||||
|
||||
depends_on("autoconf", type="build")
|
||||
depends_on("automake", type="build")
|
||||
depends_on("libtool", type="build")
|
||||
|
||||
@@ -89,9 +89,6 @@ class Binutils(AutotoolsPackage, GNUMirrorPackage):
|
||||
deprecated=True,
|
||||
)
|
||||
|
||||
depends_on("c", type="build")
|
||||
depends_on("cxx", type="build")
|
||||
|
||||
variant("plugins", default=True, description="enable plugins, needed for gold linker")
|
||||
# When you build ld.gold you automatically get ld, even when you add the
|
||||
# --disable-ld flag
|
||||
@@ -139,6 +136,9 @@ class Binutils(AutotoolsPackage, GNUMirrorPackage):
|
||||
patch("parallel-build-2.36.patch", when="@2.36")
|
||||
patch("gold-gcc4.patch", when="@2.42 %gcc@:4.8.5")
|
||||
|
||||
depends_on("c", type="build")
|
||||
depends_on("cxx", type="build")
|
||||
|
||||
# compression libs for debug symbols.
|
||||
depends_on("zstd@1.4.0:", when="@2.40:")
|
||||
depends_on("zlib-api")
|
||||
|
||||
@@ -49,9 +49,6 @@ class Bison(AutotoolsPackage, GNUMirrorPackage):
|
||||
version("3.0.4", sha256="b67fd2daae7a64b5ba862c66c07c1addb9e6b1b05c5f2049392cfd8a2172952e")
|
||||
version("2.7", sha256="19bbe7374fd602f7a6654c131c21a15aebdc06cc89493e8ff250cb7f9ed0a831")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
variant("color", default=False, description="Enable experimental colored output", when="@3.4:")
|
||||
|
||||
# https://lists.gnu.org/archive/html/bug-bison/2019-08/msg00008.html
|
||||
@@ -59,6 +56,9 @@ class Bison(AutotoolsPackage, GNUMirrorPackage):
|
||||
|
||||
provides("yacc")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
depends_on("gettext", when="+color")
|
||||
depends_on("m4@1.4.6:", type=("build", "run"))
|
||||
depends_on("diffutils", type="build")
|
||||
|
||||
@@ -16,11 +16,11 @@ class Bitgroomingz(CMakePackage):
|
||||
version("master", branch="master")
|
||||
version("2022-10-14", commit="a018b20cca9f7d6a5396ab36230e4be6ae1cb25b")
|
||||
|
||||
variant("shared", default=True, description="build shared libs")
|
||||
|
||||
depends_on("c", type="build")
|
||||
depends_on("cxx", type="build")
|
||||
|
||||
variant("shared", default=True, description="build shared libs")
|
||||
|
||||
depends_on("zlib-api")
|
||||
|
||||
def cmake_args(self):
|
||||
|
||||
@@ -54,12 +54,12 @@ class Blaspp(CMakePackage, CudaPackage, ROCmPackage):
|
||||
"2020.10.00", sha256="ce148cfe397428d507c72d7d9eba5e9d3f55ad4cd842e6e873c670183dcb7795"
|
||||
)
|
||||
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
variant("openmp", default=True, description="Use OpenMP internally.")
|
||||
variant("shared", default=True, description="Build shared libraries")
|
||||
variant("sycl", default=False, description="Build support for the SYCL backend")
|
||||
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
depends_on("cmake@3.15.0:", type="build")
|
||||
depends_on("blas")
|
||||
depends_on("llvm-openmp", when="+openmp %apple-clang")
|
||||
|
||||
@@ -25,9 +25,6 @@ class BlastPlus(AutotoolsPackage):
|
||||
version("2.6.0", sha256="0510e1d607d0fb4389eca50d434d5a0be787423b6850b3a4f315abc2ef19c996")
|
||||
version("2.2.30", sha256="26f72d51c81b9497f33b7274109565c36692572faef4d72377f79b7e59910e40")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
# homebrew sez: Fixed upstream in future version > 2.6
|
||||
# But this bug sez that it will be fixed in 2.6
|
||||
# https://github.com/Homebrew/homebrew-science/pull/4740
|
||||
@@ -51,6 +48,9 @@ def patch(self):
|
||||
# No...
|
||||
# depends_on :mysql => :optional
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
depends_on("cpio", type="build")
|
||||
|
||||
variant("static", default=False, description="Build with static linkage")
|
||||
|
||||
@@ -46,8 +46,6 @@ class Blaze(CMakePackage):
|
||||
version("1.1", sha256="6add20eb9c176ea9f8091c49b101f46d1a1a6bd9c31553a6eff5e53603f0527f")
|
||||
version("1.0", sha256="ee13cfd467c1a4b0fe7cc58b61b846eae862167a90dd2e60559626a30418b5a3")
|
||||
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
# These configuration options set defaults for dependent packages and
|
||||
# control Blaze dependencies. They can also be enabled or disabled with
|
||||
# compiler flags later by dependent packages, since Blaze is a header-only
|
||||
@@ -68,6 +66,8 @@ class Blaze(CMakePackage):
|
||||
description="Shared memory parallelization mode",
|
||||
)
|
||||
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
# Blaze requires at least cmake 3.8.0 for C++14 features.
|
||||
depends_on("cmake@3.8.0:", type="build")
|
||||
depends_on("blas", when="+blas")
|
||||
|
||||
@@ -31,15 +31,15 @@ class Bml(CMakePackage):
|
||||
version("1.2.2", sha256="babc2fd0229397e418be00f3691277e86f549b5a23cadbcee66078595e9176a0")
|
||||
version("1.1.0", sha256="a90ede19d80ed870f0bf1588875a9f371484d89006a7296010d8d791da3eac33")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
depends_on("fortran", type="build") # generated
|
||||
|
||||
variant("shared", default=True, description="Build shared libs")
|
||||
variant("mpi", default=True, description="Build with MPI Support")
|
||||
|
||||
conflicts("+mpi", when="@:1.2.2")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
depends_on("fortran", type="build") # generated
|
||||
|
||||
depends_on("blas")
|
||||
depends_on("lapack")
|
||||
depends_on("mpi", when="+mpi")
|
||||
|
||||
@@ -27,9 +27,6 @@ class Bohrium(CMakePackage, CudaPackage):
|
||||
version("0.9.1", sha256="a8675db35ea4587ef12d5885a1aa19b59fd9c3f1366e239059de8b0f3cf51e04")
|
||||
version("0.9.0", sha256="6f6379f1555de5a6a19138beac891a470df7df1fc9594e2b9404cf01b6e17d93")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
#
|
||||
# Variants
|
||||
#
|
||||
@@ -66,6 +63,9 @@ class Bohrium(CMakePackage, CudaPackage):
|
||||
#
|
||||
# Dependencies
|
||||
#
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
depends_on("cmake@2.8:", type="build")
|
||||
depends_on("boost+system+serialization+filesystem+regex")
|
||||
|
||||
|
||||
@@ -20,9 +20,6 @@ class BoincClient(AutotoolsPackage):
|
||||
|
||||
version("7.16.5", sha256="33db60991b253e717c6124cce4750ae7729eaab4e54ec718b9e37f87012d668a")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
variant("manager", default=False, description="Builds the client manager")
|
||||
variant("graphics", default=False, description="Graphic apps support")
|
||||
|
||||
@@ -30,6 +27,9 @@ class BoincClient(AutotoolsPackage):
|
||||
# https://boinc.berkeley.edu/trac/wiki/SoftwarePrereqsUnix
|
||||
conflicts("%gcc@:3.0.4")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
depends_on("autoconf@2.58:", type="build")
|
||||
depends_on("automake@1.8:", type="build")
|
||||
depends_on("libtool@1.5:", type="build")
|
||||
|
||||
@@ -20,13 +20,13 @@ class BookleafCpp(CMakePackage):
|
||||
version("2.0.1", sha256="1286f916f59d1f3bf325041854e8c203894e293c5e26d5b19b9362ee02082983")
|
||||
version("2.0", sha256="3c14344c31385bec9e089f9babf815566c4fcf98a47822f663afa2cefb0e90e1")
|
||||
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
variant("typhon", default=True, description="Use Typhon")
|
||||
variant("parmetis", default=False, description="Use ParMETIS")
|
||||
variant("silo", default=False, description="Use Silo")
|
||||
variant("caliper", default=False, description="Use Caliper")
|
||||
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
depends_on("caliper", when="+caliper")
|
||||
depends_on("parmetis", when="+parmetis")
|
||||
depends_on("silo", when="+silo")
|
||||
|
||||
@@ -81,9 +81,6 @@ class Boost(Package):
|
||||
version("1.40.0", sha256="36cf4a239b587067a4923fdf6e290525a14c3af29829524fa73f3dec6841530c")
|
||||
version("1.39.0", sha256="44785eae8c6cce61a29a8a51f9b737e57b34d66baa7c0bcd4af188832b8018fd")
|
||||
|
||||
depends_on("c", type="build")
|
||||
depends_on("cxx", type="build")
|
||||
|
||||
with_default_variants = "boost" + "".join(
|
||||
[
|
||||
"+atomic",
|
||||
@@ -240,6 +237,9 @@ def libs(self):
|
||||
description="Default symbol visibility in compiled libraries " "(1.69.0 or later)",
|
||||
)
|
||||
|
||||
depends_on("c", type="build")
|
||||
depends_on("cxx", type="build")
|
||||
|
||||
# Unicode support
|
||||
depends_on("icu4c", when="+icu")
|
||||
depends_on("icu4c cxxstd=11", when="+icu cxxstd=11")
|
||||
|
||||
@@ -41,12 +41,12 @@ class Botan(MakefilePackage):
|
||||
version("2.12.0", sha256="1eaefd459d52f27de1805cff8c68792e0610919648ee98e101980e94edb90a63")
|
||||
version("2.11.0", sha256="f7874da2aeb8c018fd77df40b2137879bf90b66f5589490c991e83fb3e8094be")
|
||||
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
variant("doc", default=False, description="Build documentation")
|
||||
|
||||
executables = ["^botan$"]
|
||||
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
depends_on("python", type="build")
|
||||
depends_on("py-sphinx@1.2:", type="build", when="+doc")
|
||||
|
||||
|
||||
@@ -41,9 +41,6 @@ class Bowtie(MakefilePackage):
|
||||
url="https://downloads.sourceforge.net/project/bowtie-bio/bowtie/1.2.0/bowtie-1.2-source.zip",
|
||||
)
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
# 1.2.2 and 1.2.2_p1 fail to build with %gcc@8.3.0
|
||||
# with and without issue-87 patch
|
||||
conflicts("%gcc@8:", when="@1.2.2")
|
||||
@@ -51,6 +48,9 @@ class Bowtie(MakefilePackage):
|
||||
|
||||
variant("tbb", default=False, description="Use Intel thread building block")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
depends_on("tbb", when="+tbb")
|
||||
depends_on("zlib-api")
|
||||
|
||||
|
||||
@@ -26,9 +26,10 @@ class Brahma(CMakePackage):
|
||||
version("0.0.2", tag="v0.0.2", commit="4a36d5c08787d41c939fa1b987344b69d9ef97a6")
|
||||
version("0.0.1", tag="v0.0.1", commit="15156036f14e36511dfc3f3751dc953540526a2b")
|
||||
|
||||
variant("mpi", default=False, description="Enable MPI support")
|
||||
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
variant("mpi", default=False, description="Enable MPI support")
|
||||
depends_on("cpp-logger@0.0.1", when="@:0.0.1")
|
||||
depends_on("cpp-logger@0.0.2", when="@0.0.2:0.0.3")
|
||||
depends_on("cpp-logger@0.0.3", when="@0.0.4")
|
||||
|
||||
@@ -26,11 +26,11 @@ class Bricks(CMakePackage):
|
||||
version("r0.1", branch="r0.1")
|
||||
version("2023.08.25", commit="d81725055c117c4b63a1b3835c6b634768b5bea7") # no official release
|
||||
|
||||
variant("cuda", default=False, description="Build bricks with CUDA enabled")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
variant("cuda", default=False, description="Build bricks with CUDA enabled")
|
||||
|
||||
# Building a variant of cmake without openssl is to match how the
|
||||
# ECP E4S project builds cmake in their e4s-base-cuda Docker image
|
||||
depends_on("cmake", type="build")
|
||||
|
||||
@@ -22,12 +22,12 @@ class Btop(MakefilePackage, CMakePackage):
|
||||
version("1.3.0", sha256="375e078ce2091969f0cd14030620bd1a94987451cf7a73859127a786006a32cf")
|
||||
version("1.2.13", sha256="668dc4782432564c35ad0d32748f972248cc5c5448c9009faeb3445282920e02")
|
||||
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
build_system("makefile", conditional("cmake", when="@1.3.0:"), default="cmake")
|
||||
|
||||
variant("gpu", default=False, description="Enable GPU support", when="build_system=cmake")
|
||||
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
depends_on("cmake@3.24:", type="build", when="@1.3.0: build_system=cmake")
|
||||
|
||||
# Fix linking GPU support, by adding an explicit "target_link_libraries" to ${CMAKE_DL_LIBS}
|
||||
|
||||
@@ -31,9 +31,6 @@ class Bufr(CMakePackage):
|
||||
version("11.5.0", sha256="d154839e29ef1fe82e58cf20232e9f8a4f0610f0e8b6a394b7ca052e58f97f43")
|
||||
version("11.4.0", sha256="946482405e675b99e8e0c221d137768f246076f5e9ba92eed6cae47fb68b7a26")
|
||||
|
||||
depends_on("c", type="build")
|
||||
depends_on("fortran", type="build")
|
||||
|
||||
# Patch to not add "-c" to ranlib flags when using llvm-ranlib on Apple systems
|
||||
patch("cmakelists-apple-llvm-ranlib.patch", when="@11.5.0:11.6.0")
|
||||
# C test does not explicity link to -lm causing DSO error when building shared libs
|
||||
@@ -48,6 +45,9 @@ class Bufr(CMakePackage):
|
||||
|
||||
extends("python", when="+python")
|
||||
|
||||
depends_on("c", type="build")
|
||||
depends_on("fortran", type="build")
|
||||
|
||||
depends_on("python@3:", type=("build", "run"), when="+python")
|
||||
depends_on("py-setuptools", type="build", when="+python")
|
||||
depends_on("py-numpy", type=("build", "run"), when="+python")
|
||||
|
||||
@@ -42,13 +42,13 @@ class Butterflypack(CMakePackage):
|
||||
version("1.0.1", sha256="e8ada37466a19f49e13456b150700d4c3afaad2ddbe3678f4e933f9d556a24a5")
|
||||
version("1.0.0", sha256="86c5eb09a18522367d63ce2bacf67ca1c9813ef351a1443baaab3c53f0d77232")
|
||||
|
||||
variant("shared", default=True, description="Build shared libraries")
|
||||
variant("openmp", default=True, description="add OpenMP support")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
depends_on("fortran", type="build") # generated
|
||||
|
||||
variant("shared", default=True, description="Build shared libraries")
|
||||
variant("openmp", default=True, description="add OpenMP support")
|
||||
|
||||
depends_on("mpi")
|
||||
depends_on("blas")
|
||||
depends_on("lapack")
|
||||
|
||||
@@ -27,8 +27,6 @@ class Bzip2(Package, SourcewarePackage):
|
||||
version("1.0.7", sha256="e768a87c5b1a79511499beb41500bcc4caf203726fff46a6f5f9ad27fe08ab2b")
|
||||
version("1.0.6", sha256="a2848f34fcd5d6cf47def00461fcb528a0484d8edef8208d6d2e2909dc61d9cd")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
|
||||
variant(
|
||||
"shared",
|
||||
default=(sys.platform != "win32"),
|
||||
@@ -47,6 +45,8 @@ class Bzip2(Package, SourcewarePackage):
|
||||
if sys.platform != "win32":
|
||||
depends_on("diffutils", type="build")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
|
||||
depends_on("gmake", type="build", when="platform=linux")
|
||||
depends_on("gmake", type="build", when="platform=darwin")
|
||||
|
||||
|
||||
@@ -33,11 +33,11 @@ class CBlosc(CMakePackage):
|
||||
version("1.8.1", sha256="1abf048634c37aeca53eeb6a9248ea235074077028d12b3560eccf1dff7143b8")
|
||||
version("1.8.0", sha256="e0f8b9e12e86776a1b037385826c55006da6e2ae4973dac5b5ad3cfcf01e9043")
|
||||
|
||||
variant("avx2", default=True, description="Enable AVX2 support")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
variant("avx2", default=True, description="Enable AVX2 support")
|
||||
|
||||
depends_on("cmake@2.8.10:", type="build")
|
||||
depends_on("snappy")
|
||||
depends_on("zlib-api")
|
||||
|
||||
@@ -34,8 +34,6 @@ class CBlosc2(CMakePackage):
|
||||
version("2.0.2", sha256="fba51ba601610441eea6046e384284b2d8d7884922060cf15369d01d713b9b77")
|
||||
version("2.0.1", sha256="35b93dfed479b1dfd9372d41d7843b60254ed1d71792577b95e489c28705874f")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
|
||||
variant("avx2", default=True, description="Enable AVX2 support")
|
||||
|
||||
variant("lizard", default=True, description="support for LIZARD (LZ5)")
|
||||
@@ -44,6 +42,8 @@ class CBlosc2(CMakePackage):
|
||||
variant("zlib", default=True, description="support for ZLIB")
|
||||
variant("zstd", default=True, description="support for ZSTD")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
|
||||
depends_on("cmake@3.16.3:", type="build")
|
||||
depends_on("lizard", when="+lizard")
|
||||
depends_on("lz4", when="+lz4")
|
||||
|
||||
@@ -28,9 +28,6 @@ class Cabana(CMakePackage, CudaPackage, ROCmPackage):
|
||||
version("0.1.0", sha256="3280712facf6932b9d1aff375b24c932abb9f60a8addb0c0a1950afd0cb9b9cf")
|
||||
version("0.1.0-rc0", sha256="73754d38aaa0c2a1e012be6959787108fec142294774c23f70292f59c1bdc6c5")
|
||||
|
||||
depends_on("c", type="build", when="+mpi")
|
||||
depends_on("cxx", type="build")
|
||||
|
||||
_kokkos_backends = Kokkos.devices_variants
|
||||
for _backend in _kokkos_backends:
|
||||
_deflt, _descr = _kokkos_backends[_backend]
|
||||
@@ -50,6 +47,9 @@ class Cabana(CMakePackage, CudaPackage, ROCmPackage):
|
||||
variant("examples", default=False, description="Build tutorial examples")
|
||||
variant("performance_testing", default=False, description="Build performance tests")
|
||||
|
||||
depends_on("c", type="build", when="+mpi")
|
||||
depends_on("cxx", type="build")
|
||||
|
||||
depends_on("cmake@3.9:", type="build", when="@:0.4.0")
|
||||
depends_on("cmake@3.16:", type="build", when="@0.5.0:")
|
||||
|
||||
|
||||
@@ -22,8 +22,6 @@ class Caffe(CMakePackage, CudaPackage):
|
||||
version("rc3", sha256="0884207bfba0fbc8b263b87d30f9304f7094eec3a48f975177d142f8c72b6e3b")
|
||||
version("rc2", sha256="55c9c20870b30ce398e19e4f1a62ade1eff08fce51e28fa5604035b711978eec")
|
||||
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
variant("cuda", default=False, description="Builds with support for GPUs via CUDA and cuDNN")
|
||||
variant("opencv", default=True, description="Build with OpenCV support")
|
||||
variant("leveldb", default=True, description="Build with levelDB")
|
||||
@@ -31,6 +29,8 @@ class Caffe(CMakePackage, CudaPackage):
|
||||
variant("python", default=False, description="Build python wrapper and caffe python layer")
|
||||
variant("matlab", default=False, description="Build Matlab wrapper")
|
||||
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
depends_on("boost +python", when="+python")
|
||||
|
||||
# TODO: replace this with an explicit list of components of Boost,
|
||||
|
||||
@@ -32,9 +32,6 @@ class Cairo(AutotoolsPackage, MesonPackage):
|
||||
version("1.14.8", sha256="d1f2d98ae9a4111564f6de4e013d639cf77155baf2556582295a0f00a9bc5e20")
|
||||
version("1.14.0", sha256="2cf5f81432e77ea4359af9dcd0f4faf37d015934501391c311bfd2d19a0134b7")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
# 1.17.4 is the last autotools based version. From 1.18.0 onward it is meson only
|
||||
build_system(
|
||||
conditional("meson", when="@1.18.0:"),
|
||||
@@ -103,6 +100,9 @@ class Cairo(AutotoolsPackage, MesonPackage):
|
||||
depends_on("pkgconfig", type="build")
|
||||
|
||||
# non build system specific dependencies
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
depends_on("freetype", when="+ft")
|
||||
depends_on("libpng", when="+png")
|
||||
depends_on("glib")
|
||||
|
||||
@@ -80,10 +80,6 @@ class Caliper(CachedCMakePackage, CudaPackage, ROCmPackage):
|
||||
"1.7.0", tag="v1.7.0", commit="898277c93d884d4e7ca1ffcf3bbea81d22364f26", deprecated=True
|
||||
)
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
depends_on("fortran", type="build") # generated
|
||||
|
||||
is_linux = sys.platform.startswith("linux")
|
||||
variant("shared", default=True, description="Build shared libraries")
|
||||
variant("adiak", default=True, description="Enable Adiak support")
|
||||
@@ -108,6 +104,10 @@ class Caliper(CachedCMakePackage, CudaPackage, ROCmPackage):
|
||||
variant("tools", default=True, description="Enable tools")
|
||||
variant("python", default=False, when="@v2.12:", description="Build Python bindings")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
depends_on("fortran", type="build") # generated
|
||||
|
||||
depends_on("adiak@0.1:0", when="@2.2:2.10 +adiak")
|
||||
depends_on("adiak@0.4:0", when="@2.11: +adiak")
|
||||
|
||||
|
||||
@@ -17,14 +17,14 @@ class Camellia(CMakePackage):
|
||||
|
||||
version("master", branch="master")
|
||||
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
variant(
|
||||
"moab",
|
||||
default=True,
|
||||
description="Compile with MOAB to include support for reading standard mesh formats",
|
||||
)
|
||||
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
depends_on(
|
||||
"trilinos"
|
||||
"+amesos+amesos2+belos+epetra+epetraext+exodus+ifpack+ifpack2+intrepid+intrepid2"
|
||||
|
||||
@@ -53,15 +53,15 @@ class Camp(CMakePackage, CudaPackage, ROCmPackage):
|
||||
version("0.2.2", sha256="194d38b57e50e3494482a7f94940b27f37a2bee8291f2574d64db342b981d819")
|
||||
version("0.1.0", sha256="fd4f0f2a60b82a12a1d9f943f8893dc6fe770db493f8fae5ef6f7d0c439bebcc")
|
||||
|
||||
depends_on("c", type="build")
|
||||
depends_on("cxx", type="build")
|
||||
|
||||
# TODO: figure out gtest dependency and then set this default True.
|
||||
variant("tests", default=False, description="Build tests")
|
||||
variant("openmp", default=False, description="Build with OpenMP support")
|
||||
variant("omptarget", default=False, description="Build with OpenMP Target support")
|
||||
variant("sycl", default=False, description="Build with Sycl support")
|
||||
|
||||
depends_on("c", type="build")
|
||||
depends_on("cxx", type="build")
|
||||
|
||||
with when("+cuda"):
|
||||
depends_on("cub", when="^cuda@:10")
|
||||
|
||||
|
||||
@@ -20,15 +20,15 @@ class Cantera(SConsPackage):
|
||||
version("2.3.0", sha256="06624f0f06bdd2acc9c0dba13443d945323ba40f68a9d422d95247c02e539b57")
|
||||
version("2.2.1", sha256="c7bca241848f541466f56e479402521c618410168e8983e2b54ae48888480e1e")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
depends_on("fortran", type="build") # generated
|
||||
|
||||
variant("python", default=False, description="Build the Cantera Python module")
|
||||
variant("matlab", default=False, description="Build the Cantera Matlab toolbox")
|
||||
variant("sundials", default=True, description="Build with Sundials")
|
||||
|
||||
# Required dependencies
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
depends_on("fortran", type="build") # generated
|
||||
|
||||
depends_on("fmt@3.0.0:3.0.2", when="@2.3.0:")
|
||||
depends_on("googletest+gmock", when="@2.3.0:")
|
||||
depends_on("eigen", when="@2.3.0:")
|
||||
|
||||
@@ -17,13 +17,13 @@ class Cardioid(CMakePackage):
|
||||
version("develop", branch="master")
|
||||
version("elecfem", branch="elec-fem")
|
||||
|
||||
variant("cuda", default=False, description="Build with cuda support")
|
||||
variant("mfem", default=False, description="Build with mfem support")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
depends_on("fortran", type="build") # generated
|
||||
|
||||
variant("cuda", default=False, description="Build with cuda support")
|
||||
variant("mfem", default=False, description="Build with mfem support")
|
||||
|
||||
depends_on("blas")
|
||||
depends_on("lapack")
|
||||
depends_on("mpi")
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user