You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@debug"Using LLVM $libllvm_version at $(Base.libllvm_path())"
87
+
90
88
# sanity checks
91
-
@debug"Using LLVM $(version()) at $libllvm"
92
-
if libllvm != Base.libllvm_path()
93
-
@error"Mismatch between LLVM library used during precompilation ($libllvm) and the current run-time situation ($(Base.libllvm_path())). Please recompile the package."
89
+
if libllvm_version != Base.libllvm_version
90
+
# this checks that the precompilation image isn't being used
91
+
# after having upgraded Julia and the contained LLVM library.
92
+
@error"""LLVM.jl was precompiled for LLVM $libllvm_version, whereas you are now using LLVM $(Base.libllvm_version).
93
+
Please re-compile LLVM.jl."""
94
94
end
95
95
ifversion() !==runtime_version()
96
-
@error"Using a different version of LLVM ($(runtime_version())) than the one shipped with Julia ($(version())); this is unsupported"
96
+
# this is probably caused by a combination of USE_SYSTEM_LLVM
97
+
# and an LLVM upgrade without recompiling Julia.
98
+
@error"""Julia was compiled for LLVM $(version()), whereas you are now using LLVM $(runtime_version()).
99
+
Please re-compile Julia and LLVM.jl (but note that USE_SYSTEM_LLVM is not a supported configuration)."""
0 commit comments