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 edf45e1 commit 7f5145fCopy full SHA for 7f5145f
src/version.jl
@@ -18,3 +18,9 @@ function runtime_version()
18
VersionNumber(m[:version])
19
end
20
21
+
22
+function is_asserts()
23
+ Libdl.dlopen(libllvm) do handle
24
+ Libdl.dlsym(handle, "_ZN4llvm23EnableABIBreakingChecksE"; throw_error=false) !== nothing
25
+ end
26
+end
test/runtests.jl
@@ -68,7 +68,7 @@ include("utils.jl")
68
if LLVM.has_orc_v1()
69
include("orc.jl")
70
71
-if LLVM.has_orc_v2()
+if LLVM.has_orc_v2() && !(LLVM.version() < v"13" && LLVM.is_asserts())
72
include("orcv2.jl")
73
74
0 commit comments