Skip to content

Commit d3a40be

Browse files
authored
cuda: add coreutils/gzip build deps, libxml2 bound (#3515)
coreutils is added because of issues with rust-coreutils on Ubuntu 25.10
1 parent 1a57956 commit d3a40be

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

repos/spack_repo/builtin/packages/cuda/package.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -785,12 +785,16 @@ class Cuda(Package):
785785
description="Allow unsupported host compiler and CUDA version combinations",
786786
)
787787

788-
depends_on("libxml2", when="@10.1.243:")
788+
# depends on libxml2.so.2
789+
depends_on("libxml2@:2.13", when="@10.1.243:")
789790
# cuda-gdb needed libncurses.so.5 before 11.4.0
790791
# see https://docs.nvidia.com/cuda/archive/11.3.1/cuda-gdb/index.html#common-issues-oss
791792
# see https://docs.nvidia.com/cuda/archive/11.4.0/cuda-gdb/index.html#release-notes
792793
depends_on("ncurses abi=5", type="run", when="@:11.3.99+dev")
793794

795+
depends_on("gzip", type="build")
796+
depends_on("coreutils", type="build")
797+
794798
provides("opencl@:1.2", when="@7:")
795799
provides("opencl@:1.1", when="@:6")
796800

0 commit comments

Comments
 (0)