We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b7ca62 commit 492e3d4Copy full SHA for 492e3d4
src/LLVM.jl
@@ -137,7 +137,11 @@ function __init__()
137
if length(libllvm_paths) > 1
138
# NOTE: this still allows switching to a non-USE_LLVM_SHLIB version, but
139
# there's no way to detect that since the new libLLVM is loaded before this...
140
- cachefile = Base.compilecache(Base.PkgId(LLVM))
+ cachefile = if VERSION >= v"1.3-"
141
+ Base.compilecache_path(Base.PkgId(LLVM))
142
+ else
143
+ abspath(DEPOT_PATH[1], Base.cache_file_entry(Base.PkgId(LLVM)))
144
+ end
145
rm(cachefile)
146
error("Your set-up changed, and LLVM.jl needs to be reconfigured. Please load the package again.")
147
end
0 commit comments