From 7f9cdd70743e73662609eb9b9eb57596cbeb6610 Mon Sep 17 00:00:00 2001 From: termi-official Date: Tue, 7 Apr 2026 18:21:42 +0200 Subject: [PATCH 1/2] Fix MPIPreferences instantiation --- .github/workflows/docs.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index c0bb0da..2a66fa6 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -17,10 +17,10 @@ jobs: with: version: '1.12' - uses: julia-actions/cache@v3 - - name: Setup OpenMPI - run: julia --project=docs -e 'using MPIPreferences; MPIPreferences.use_jll_binary("OpenMPI_jll")' - name: Install dependencies run: julia --project=docs -e 'using Pkg; Pkg.instantiate(); Pkg.precompile()' + - name: Setup OpenMPI + run: julia --project=docs -e 'using MPIPreferences; MPIPreferences.use_jll_binary("OpenMPI_jll"); Pkg.precompile()' - name: Build and deploy env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 86b82575b23e34c0317f3d0db299051da1a37a5c Mon Sep 17 00:00:00 2001 From: termi-official Date: Tue, 7 Apr 2026 18:24:59 +0200 Subject: [PATCH 2/2] Add Pkg --- .github/workflows/docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 2a66fa6..b234cb7 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -20,7 +20,7 @@ jobs: - name: Install dependencies run: julia --project=docs -e 'using Pkg; Pkg.instantiate(); Pkg.precompile()' - name: Setup OpenMPI - run: julia --project=docs -e 'using MPIPreferences; MPIPreferences.use_jll_binary("OpenMPI_jll"); Pkg.precompile()' + run: julia --project=docs -e 'using Pkg, MPIPreferences; MPIPreferences.use_jll_binary("OpenMPI_jll"); Pkg.precompile()' - name: Build and deploy env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}