File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9090 echo " Warning: $DEFAULT_MANIFEST not found, skipping copy."
9191fi
9292
93+ # Delete any existing custom system image for this Julia version
94+ SOFILE=" bin/kps-image-${julia_major} .so"
95+ if test -f " $SOFILE " ; then
96+ echo " Deleting old system image: $SOFILE "
97+ rm -f " $SOFILE "
98+ fi
99+
93100# Remove any stale plain Manifest.toml so Julia does not write through a symlink
94101if [ -L " Manifest.toml" ]; then
95102 rm -f Manifest.toml
@@ -135,8 +142,14 @@ if [ -f "Manifest.toml" ]; then
135142 echo " Renamed Manifest.toml to $VERSIONED_MANIFEST "
136143fi
137144
145+ # Copy the versioned manifest to docs before instantiating it (Julia 1.11 only)
146+ if [[ $julia_major == " 1.11" ]] && [ -f " $VERSIONED_MANIFEST " ]; then
147+ cp " $VERSIONED_MANIFEST " " docs/Manifest-v1.11.toml"
148+ echo " Copied $VERSIONED_MANIFEST to docs/Manifest-v1.11.toml"
149+ fi
150+
138151echo " Instantiating docs subproject..."
139- julia --project=docs -e ' using Pkg; Pkg.instantiate(); Pkg.precompile()'
152+ julia --project=docs -e ' using Pkg; Pkg.resolve(); Pkg. instantiate(); Pkg.precompile()'
140153
141154echo " Precompiling..."
142155julia --project -e ' using Pkg; Pkg.precompile()'
You can’t perform that action at this time.
0 commit comments