summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorHarmen Stoppels <harmenstoppels@gmail.com>2022-03-01 23:35:38 +0100
committerGitHub <noreply@github.com>2022-03-01 15:35:38 -0700
commitf2c509258846e378b1238ea71a729032019f8481 (patch)
tree84e4fbd00595873c31d71b971896bed6e262f274 /var
parentd05560ee3287d1a93c2ecda44b1327670c7223b5 (diff)
downloadspack-f2c509258846e378b1238ea71a729032019f8481.tar.gz
spack-f2c509258846e378b1238ea71a729032019f8481.tar.bz2
spack-f2c509258846e378b1238ea71a729032019f8481.tar.xz
spack-f2c509258846e378b1238ea71a729032019f8481.zip
llvm: add missing system libs (#29270)
``` $ ./bin/llvm-config --link-static --system-libs -lrt -ldl -lpthread -lm -lz -ltinfo -lxml2 ``` `libz` and `libxml2` were missing.
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/llvm/package.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/llvm/package.py b/var/spack/repos/builtin/packages/llvm/package.py
index eb82df3a4a..fb9509f8de 100644
--- a/var/spack/repos/builtin/packages/llvm/package.py
+++ b/var/spack/repos/builtin/packages/llvm/package.py
@@ -204,8 +204,10 @@ class Llvm(CMakePackage, CudaPackage):
depends_on("libelf", when="+cuda") # libomptarget
depends_on("libffi", when="+cuda") # libomptarget
- # ncurses dependency
+ # llvm-config --system-libs libraries.
depends_on("ncurses+termlib")
+ depends_on("zlib")
+ depends_on("libxml2")
# lldb dependencies
depends_on("swig", when="+lldb")