From dd54cb4c7a245abb6d5be2570a8fc4ceffdf22f4 Mon Sep 17 00:00:00 2001 From: Michael Kuhn Date: Thu, 19 Nov 2020 10:34:13 +0100 Subject: llvm: add missing pkgconfig dependency (#19982) When building llvm with CUDA support, it needs to find libffi. Without pkg-config, libffi will not be found. --- var/spack/repos/builtin/packages/llvm/package.py | 1 + 1 file changed, 1 insertion(+) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/llvm/package.py b/var/spack/repos/builtin/packages/llvm/package.py index 9e6bc0e2a6..9c4cc444f5 100644 --- a/var/spack/repos/builtin/packages/llvm/package.py +++ b/var/spack/repos/builtin/packages/llvm/package.py @@ -140,6 +140,7 @@ class Llvm(CMakePackage, CudaPackage): depends_on("cmake@3.4.3:", type="build") depends_on("python@2.7:2.8", when="@:4.999 ~python", type="build") depends_on("python", when="@5: ~python", type="build") + depends_on("pkgconfig", type="build") # Universal dependency depends_on("python@2.7:2.8", when="@:4.999+python") -- cgit v1.2.3-70-g09d2