Skip to content

Commit 727467d

Browse files
authored
Fix logic
1 parent 8105d6f commit 727467d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/MyApp/src/MyApp.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ using Random
99
# We seem to get problems with LLVMExtra_jll on Julia 1.6 and 1.9
1010
# Issue for 1.6: https://github.com/JuliaLang/PackageCompiler.jl/issues/706
1111
# There's no GitHub Issue for 1.9
12-
@static if (VERSION >= v"1.7.0") || !(VERSION.major == 1 && VERSION.major == 9)
12+
@static if (VERSION.major, VERSION.minor) ((1, 6), (1, 9),)
1313
@info "Hit TRUE" VERSION # TODO: delete this line
1414
using LLVMExtra_jll
1515
else # TODO: delete this line
@@ -92,7 +92,7 @@ function real_main()
9292
@eval @everywhere using Example
9393
@everywhere println(Example.domath(3))
9494

95-
@static if (VERSION >= v"1.7.0") || !(VERSION.major == 1 && VERSION.major == 9)
95+
@static if (VERSION.major, VERSION.minor) ((1, 6), (1, 9),)
9696
@info "Hit TRUE" VERSION # TODO: delete this line
9797
if isfile(LLVMExtra_jll.libLLVMExtra_path)
9898
println("LLVMExtra path: ok!")

0 commit comments

Comments
 (0)