LLVM Install fails when building with DESTDIR= #23462
Labels
build
Build system, or building Julia or its dependencies
external dependencies
Involves LLVM, OpenBLAS, or other linked libraries
I have a
Dockerfile
that setsDESTDIR=/var/task
to build Julia v0.6.0 for AWS Lambda.It seems that when
cmake
installs llvm into a staging area, it prefixes the install path withDESTDIR
even thoughCMAKE_INSTALL_PREFIX
is a fully qualified path. The result is that llvm ends up in a different directory to the one that the staging.tgz
creation rule expects.e.g.
llvm-config
is staged to:It should be:
I've worked around the problem with this patch to set
DESTDIR=""
when runningcmake_install.cmake
.The text was updated successfully, but these errors were encountered: