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.
This commit is contained in:
Michael Kuhn 2020-11-19 10:34:13 +01:00 committed by GitHub
parent db9b7a509a
commit dd54cb4c7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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")