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.
This commit is contained in:
Harmen Stoppels 2022-03-01 23:35:38 +01:00 committed by GitHub
parent d05560ee32
commit f2c5092588
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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