From df280966cc37af07e25182634559717be16ecffe Mon Sep 17 00:00:00 2001 From: Benedict Geihe Date: Tue, 13 Oct 2026 10:02:52 +0200 Subject: [PATCH 1/3] move to julia 1.13 --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1847d192..2c25b606 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,19 +36,19 @@ jobs: - x64 julia_version: - '1.10' - - '1.11' + - '1.13' t8code_version: - '4.0.0-26.10' include: - os: ubuntu-latest test_type: coverage arch: x64 - julia_version: '1.11' + julia_version: '1.13' t8code_version: '4.0.0-26.10' - os: macos-latest test_type: smoke arch: default - julia_version: '1.11' + julia_version: '1.13' t8code_version: '4.0.0-26.10' env: # Necessary for HDF5 to play nice with Julia From 156b28218544112cfacda94efa2991ef1ed8820e Mon Sep 17 00:00:00 2001 From: Benedict Geihe Date: Tue, 13 Oct 2026 10:31:40 +0200 Subject: [PATCH 2/3] set LD_PRELOAD for julia 1.10 only --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2c25b606..6234971a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -52,7 +52,8 @@ jobs: t8code_version: '4.0.0-26.10' env: # Necessary for HDF5 to play nice with Julia - LD_PRELOAD: /lib/x86_64-linux-gnu/libcurl.so.4 + # https://docs.github.com/en/actions/reference/workflows-and-actions/expressions#example + LD_PRELOAD: ${{ matrix.julia_version == '1.10' && '/lib/x86_64-linux-gnu/libcurl.so.4' || '' }} # Necessary such that libtrixi will not use its own default for the depot path JULIA_DEPOT_PATH: ~/.julia steps: From 4acd0832eb273103722a08abe96a21c56691a688 Mon Sep 17 00:00:00 2001 From: Benedict Geihe Date: Wed, 14 Oct 2026 14:31:36 +0200 Subject: [PATCH 3/3] use @invokelatest --- LibTrixi.jl/src/api_jl.jl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/LibTrixi.jl/src/api_jl.jl b/LibTrixi.jl/src/api_jl.jl index 637ab34c..1c9c5d99 100644 --- a/LibTrixi.jl/src/api_jl.jl +++ b/LibTrixi.jl/src/api_jl.jl @@ -8,8 +8,7 @@ function trixi_initialize_simulation_jl(filename) # Initialize simulation state # Note: we need `invokelatest` here since the function is dynamically upon `include` - # Note: `invokelatest` is not exported until Julia v1.9, thus we call it through `Base` - simstate = Base.invokelatest(Main.init_simstate) + simstate = @invokelatest Main.init_simstate() if show_debug_output() println("Simulation state initialized")