-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build fails with custom directories #27922
Comments
From the build logs, it looks it doesn't like the copy of libssh2 you provided. Maybe just let it build this? |
Actually, I only passed BTW, I ran this on Anubis, so it should be easy to replicate. |
Bump. This makes it impossible to update distribution packages to Julia 0.7/1.0. |
Actually that's due to the fact that LLVM completely ignores environment variables to choose libdir and includedir. I worked around it by setting |
This rule was unused, and wouldn't work for an out-of-tree build anyways. ref #27922
This rule was unused, and wouldn't work for an out-of-tree build anyways. ref #27922
This rule was unused, and wouldn't work for an out-of-tree build anyways. ref #27922
This rule was unused, and wouldn't work for an out-of-tree build anyways. ref #27922
This rule was unused, and wouldn't work for an out-of-tree build anyways. ref #27922
I encountered the same problem too when trying to switch to Julia's vendored LLVM for the Debian package. The failure stems from the lack of |
Could it be related to #29720 then? FWIW, I'm not using any triplet in the reproducer above. |
Not sure. #29720 looks like a conda packaging bug. And for Debian this simple hack just works --- julia.orig/deps/llvm.mk
+++ julia/deps/llvm.mk
@@ -560,6 +560,7 @@ ifeq ($(OS),Darwin)
# https://github.com/JuliaLang/julia/issues/29981
LLVM_INSTALL += && ln -s libLLVM.dylib $2$$(build_shlibdir)/libLLVM-$$(LLVM_VER_SHORT).dylib
endif
+LLVM_INSTALL += && find $2 -type f,l -name 'libLLVM*so*' -print -exec install -Dv '{}' $(shell pwd)/../$$(libdir)/julia/ \;
$(eval $(call staged-install,llvm,llvm-$$(LLVM_VER)/build_$$(LLVM_BUILDTYPE), \
LLVM_INSTALL,,,)) |
Is it ok to close this one? |
The build still fails when running the command from the original description on a clean git master (though errors are different now). |
It appears that the build is completely broken when passing custom directories to
prefix
,libdir
, etc. andbuild_*
. This is from a clean git tree:When working around the problem by using system libraries, another problem happens with LLVM:
I haven't noticed this before because I use system libraries when building the RPM package, but I suspect a new problem has recently been introduced when custom directories are used. Unfortunately it's hard to debug because of these failures.
The text was updated successfully, but these errors were encountered: