summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2024-11-28 10:50:35 +0100
committerGitHub <noreply@github.com>2024-11-28 10:50:35 +0100
commit9bd7483e73f12e341274e7a20cd44b87effeb1fb (patch)
tree9785a293cf3e14b77c2c4613878cbca11038d466 /var
parent04c76fab632817665395ee571038368aa2e297a0 (diff)
downloadspack-9bd7483e73f12e341274e7a20cd44b87effeb1fb.tar.gz
spack-9bd7483e73f12e341274e7a20cd44b87effeb1fb.tar.bz2
spack-9bd7483e73f12e341274e7a20cd44b87effeb1fb.tar.xz
spack-9bd7483e73f12e341274e7a20cd44b87effeb1fb.zip
Add further C and C++ dependencies to packages (#47821)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/hip/package.py3
-rw-r--r--var/spack/repos/builtin/packages/py-pandas/package.py1
-rw-r--r--var/spack/repos/builtin/packages/py-torch-cluster/package.py3
-rw-r--r--var/spack/repos/builtin/packages/py-torch-scatter/package.py3
-rw-r--r--var/spack/repos/builtin/packages/py-torch-spline-conv/package.py3
-rw-r--r--var/spack/repos/builtin/packages/rocfft/package.py3
-rw-r--r--var/spack/repos/builtin/packages/roctracer-dev/package.py3
7 files changed, 14 insertions, 5 deletions
diff --git a/var/spack/repos/builtin/packages/hip/package.py b/var/spack/repos/builtin/packages/hip/package.py
index 3a6610f94b..19e66d4fad 100644
--- a/var/spack/repos/builtin/packages/hip/package.py
+++ b/var/spack/repos/builtin/packages/hip/package.py
@@ -58,6 +58,9 @@ class Hip(CMakePackage):
conflicts("+asan", when="os=centos7")
conflicts("+asan", when="os=centos8")
+ depends_on("c", type="build")
+ depends_on("cxx", type="build")
+
depends_on("cuda", when="+cuda")
depends_on("cmake@3.16.8:", type="build")
diff --git a/var/spack/repos/builtin/packages/py-pandas/package.py b/var/spack/repos/builtin/packages/py-pandas/package.py
index 4ded508d74..eade1219c2 100644
--- a/var/spack/repos/builtin/packages/py-pandas/package.py
+++ b/var/spack/repos/builtin/packages/py-pandas/package.py
@@ -73,6 +73,7 @@ class PyPandas(PythonPackage):
variant("excel", when="@1.4:", default=False, description="Build with support for Excel")
depends_on("c", type="build")
+ depends_on("cxx", type="build")
with default_args(type="build"):
depends_on("py-meson-python@0.13.1:", when="@2.1:")
diff --git a/var/spack/repos/builtin/packages/py-torch-cluster/package.py b/var/spack/repos/builtin/packages/py-torch-cluster/package.py
index 2843481d15..4957e6d529 100644
--- a/var/spack/repos/builtin/packages/py-torch-cluster/package.py
+++ b/var/spack/repos/builtin/packages/py-torch-cluster/package.py
@@ -18,7 +18,8 @@ class PyTorchCluster(PythonPackage):
version("1.6.3", sha256="78d5a930a5bbd0d8788df8c6d66addd68d6dd292fe3edb401e3dacba26308152")
- depends_on("cxx", type="build") # generated
+ depends_on("c", type="build")
+ depends_on("cxx", type="build")
depends_on("python", type=("build", "link", "run"))
depends_on("py-setuptools", type="build")
diff --git a/var/spack/repos/builtin/packages/py-torch-scatter/package.py b/var/spack/repos/builtin/packages/py-torch-scatter/package.py
index 0e9589618d..1ee6e2a697 100644
--- a/var/spack/repos/builtin/packages/py-torch-scatter/package.py
+++ b/var/spack/repos/builtin/packages/py-torch-scatter/package.py
@@ -18,7 +18,8 @@ class PyTorchScatter(PythonPackage):
version("2.1.2", sha256="69b3aa435f2424ac6a1bfb6ff702da6eb73b33ca0db38fb26989c74159258e47")
- depends_on("cxx", type="build") # generated
+ depends_on("c", type="build")
+ depends_on("cxx", type="build")
depends_on("python", type=("build", "link", "run"))
depends_on("py-setuptools", type="build")
diff --git a/var/spack/repos/builtin/packages/py-torch-spline-conv/package.py b/var/spack/repos/builtin/packages/py-torch-spline-conv/package.py
index c91b453820..2328adaac6 100644
--- a/var/spack/repos/builtin/packages/py-torch-spline-conv/package.py
+++ b/var/spack/repos/builtin/packages/py-torch-spline-conv/package.py
@@ -18,7 +18,8 @@ class PyTorchSplineConv(PythonPackage):
version("1.2.2", sha256="ed45a81da29f774665dbdd4709d7e534cdf16d2e7006dbd06957f35bd09661b2")
- depends_on("cxx", type="build") # generated
+ depends_on("c", type="build")
+ depends_on("cxx", type="build")
depends_on("python", type=("build", "link", "run"))
depends_on("py-setuptools", type="build")
diff --git a/var/spack/repos/builtin/packages/rocfft/package.py b/var/spack/repos/builtin/packages/rocfft/package.py
index d0a23b1094..a93af207f5 100644
--- a/var/spack/repos/builtin/packages/rocfft/package.py
+++ b/var/spack/repos/builtin/packages/rocfft/package.py
@@ -40,7 +40,8 @@ class Rocfft(CMakePackage):
version("5.3.3", sha256="678c18710578c1fb36a0009311bb79de7607c3468f9102cfba56a866ebb7ff78")
version("5.3.0", sha256="d655c5541c4aff4267e80e36d002fc3a55c2f84a0ae8631197c12af3bf03fa7d")
- depends_on("cxx", type="build") # generated
+ depends_on("c", type="build")
+ depends_on("cxx", type="build")
amdgpu_targets = ROCmPackage.amdgpu_targets
diff --git a/var/spack/repos/builtin/packages/roctracer-dev/package.py b/var/spack/repos/builtin/packages/roctracer-dev/package.py
index 6b5f472f86..8f861b332d 100644
--- a/var/spack/repos/builtin/packages/roctracer-dev/package.py
+++ b/var/spack/repos/builtin/packages/roctracer-dev/package.py
@@ -41,7 +41,8 @@ class RoctracerDev(CMakePackage, ROCmPackage):
version("5.3.3", sha256="f2cb1e6bb69ea1a628c04f984741f781ae1d8498dc58e15795bb03015f924d13")
version("5.3.0", sha256="36f1da60863a113bb9fe2957949c661f00a702e249bb0523cda1fb755c053808")
- depends_on("cxx", type="build") # generated
+ depends_on("c", type="build")
+ depends_on("cxx", type="build")
variant("asan", default=False, description="Build with address-sanitizer enabled or disabled")