summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorMichael Kuhn <michael.kuhn@ovgu.de>2020-11-19 10:34:13 +0100
committerGitHub <noreply@github.com>2020-11-19 10:34:13 +0100
commitdd54cb4c7a245abb6d5be2570a8fc4ceffdf22f4 (patch)
tree497ee57c83b3473127690d04e1893b0239a7ac85 /var
parentdb9b7a509a490f95aa7e3ab570185d99c6fd16da (diff)
downloadspack-dd54cb4c7a245abb6d5be2570a8fc4ceffdf22f4.tar.gz
spack-dd54cb4c7a245abb6d5be2570a8fc4ceffdf22f4.tar.bz2
spack-dd54cb4c7a245abb6d5be2570a8fc4ceffdf22f4.tar.xz
spack-dd54cb4c7a245abb6d5be2570a8fc4ceffdf22f4.zip
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.
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/llvm/package.py1
1 files changed, 1 insertions, 0 deletions
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")