When I try spack install chapel %llvm@20 I get the following error:
`1 error found in build log:
80 CMake Error at /usr/lib64/cmake/ZLIB/ZLIB.cmake:84 (message):
81 The imported target "ZLIB::zlibstatic" references the file
82
83 "/usr/lib64/libz.a"
84
85 but this file does not exist. Possible reasons include:
86`
I do have /usr/lib64/libz.so. Any advice would be appreciated. Thanks.
Hi Jade,
Thanks for getting back to me. I have attached the build log that had the
error that I referenced. (Looks like it came from llvm20 to me.).
--shiv--
I am new to spack, so I did the bare minimum to try and install chapel. So
I don't think I configured external packages?
Thanks.
--shiv--
PS: I might just try and install chapel from source.
As far as building Chapel, if you are really committed to building Chapel with spack, you could try spack install chapel llvm=none which will build Chapel without LLVM support. Or you can try and have spack use an externally installed LLVM (which will also speed up your build A LOT). See Package Settings (packages.yaml) - Spack 1.2.0.dev0 documentation for how to do that.
Although, if you just want Chapel to work I would build from source or use one of other distribution formats
I want to tag onto Jade's response and encourage you to file a bug against
spack for the llvm@20 build failure, as it'd be good to make them aware of
that and I wasn't able to find an existing issue for the situation. My
understanding is that such bugs should now be opened on: