From af652ac400f98771deed4c5538f0ccd487026ac2 Mon Sep 17 00:00:00 2001 From: Kristoffer Carlsson Date: Wed, 26 Mar 2025 16:57:05 +0100 Subject: [PATCH 1/3] also test with 1.12 nightly on CI --- .github/workflows/Test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/Test.yml b/.github/workflows/Test.yml index 1bf06f2a..05632cdc 100644 --- a/.github/workflows/Test.yml +++ b/.github/workflows/Test.yml @@ -18,7 +18,7 @@ jobs: strategy: fail-fast: false matrix: - version: ['1.10', '1.11', 'nightly'] + version: ['1.10', '1.11', '1.12-nightly', 'nightly'] os: [ubuntu-latest, macOS-latest, windows-latest] arch: [x64] llvm_args: [''] From 364a5c6fe4e086b61cefb3852606bdbeb9ddcbe4 Mon Sep 17 00:00:00 2001 From: Kristoffer Carlsson Date: Wed, 26 Mar 2025 21:34:50 +0100 Subject: [PATCH 2/3] update VERSION check to target the 1.12 branch --- src/jlgen.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jlgen.jl b/src/jlgen.jl index 6dd691e6..43465199 100644 --- a/src/jlgen.jl +++ b/src/jlgen.jl @@ -624,7 +624,7 @@ function compile_method_instance(@nospecialize(job::CompilerJob)) if VERSION < v"1.12.0-DEV.1667" cgparams = (; lookup = Base.unsafe_convert(Ptr{Nothing}, lookup_cb), cgparams... ) end - if VERSION > v"1.13.0-DEV.285" + if VERSION >= v"1.12.0-DEV.2126" cgparams = (; force_emit_all = true , cgparams...) end params = Base.CodegenParams(; cgparams...) From 72b526c64156ed982ad9e8e9d784e2d52e581e53 Mon Sep 17 00:00:00 2001 From: Kristoffer Carlsson Date: Thu, 27 Mar 2025 10:14:31 +0100 Subject: [PATCH 3/3] Update src/jlgen.jl Co-authored-by: Tim Besard --- src/jlgen.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jlgen.jl b/src/jlgen.jl index 43465199..2dc6486c 100644 --- a/src/jlgen.jl +++ b/src/jlgen.jl @@ -624,7 +624,7 @@ function compile_method_instance(@nospecialize(job::CompilerJob)) if VERSION < v"1.12.0-DEV.1667" cgparams = (; lookup = Base.unsafe_convert(Ptr{Nothing}, lookup_cb), cgparams... ) end - if VERSION >= v"1.12.0-DEV.2126" + if v"1.12.0-DEV.2126" <= VERSION < v"1.13-" || VERSION >= v"1.13.0-DEV.285" cgparams = (; force_emit_all = true , cgparams...) end params = Base.CodegenParams(; cgparams...)