Skip to content

Commit 451c54f

Browse files
committed
Update Readme instructions
1 parent 9ea3e68 commit 451c54f

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,17 +38,20 @@ To use a development version of this package, you can choose one of the followin
3838

3939
1. **Change the UUID in the project file and load the package:**
4040

41-
Start `julia` as
42-
```julia
43-
JULIA_PRUNE_OLD_LA=true julia +nightly --compiled-modules=existing --project
41+
Start `julia` with the flags
42+
```console
43+
julia +nightly --compiled-modules=existing --project
4444
```
4545
where it is assumed that one is already within the `LinearAlgebra` directory. Otherwise, adjust
4646
the project path accordingly. The `julia +nightly` command above assumes that `juliaup` is being used
4747
to launch `julia`, but one may substitute this with the path to the julia executable.
4848

4949
Within the `julia` session, load the `LinearAlgebra` module after pruning the one in the sysimage. This may be done as
5050
```julia
51-
include("test/prune_old_LA.jl") && using LinearAlgebra
51+
withenv("JULIA_PRUNE_OLD_LA" => "true") do
52+
include("test/prune_old_LA.jl")
53+
end
54+
using LinearAlgebra
5255
```
5356

5457
2. **Build Julia with the custom `LinearAlgebra` commit:**

0 commit comments

Comments
 (0)