You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(cd julia && git checkout dev && echo 'WITH_MMTK=1' > Make.user)
8
+
(cd julia && git checkout dev && echo 'MMTK_PLAN=Immix' > Make.user) # or MMTK_PLAN=StickyImmix to use Sticky Immix
9
9
export JULIA_PATH=`pwd`/julia
10
10
export MMTK_JULIA_DIR=`pwd`/mmtk-julia
11
11
(cd mmtk-julia/mmtk && cargo build --features immix --release) # or drop "--release" for a debug build
12
-
MMTK_PLAN=Immix MMTK_BUILD=release MMTK_JULIA_DIR=`pwd`/mmtk-julia make -C julia # or "MMTK_BUILD=debug"
12
+
MMTK_BUILD=release MMTK_JULIA_DIR=`pwd`/mmtk-julia make -C julia # or "MMTK_BUILD=debug"
13
13
```
14
14
15
15
If you would like debugging information in your release build of MMTk, add `debug = true` under `[profile.release]` in `mmtk/Cargo.toml`.
@@ -45,7 +45,7 @@ For a release build with debugging information, first add `debug = true` under `
45
45
46
46
To build Julia with MMTk, first ensure you have the prerequisites for building both [Julia](https://github.com/JuliaLang/julia/blob/master/doc/src/devdocs/build/build.md#required-build-tools-and-external-libraries) and [MMTk](https://github.com/mmtk/mmtk-core#requirements).
47
47
48
-
Next create a `Make.user` file in the top-level directory of the Julia repository consisting of the line `WITH_MMTK=1`.
48
+
Next create a `Make.user` file in the top-level directory of the Julia repository consisting of the line `MMTK_PLAN=Immix` or `MMTK_PLAN=StickyImmix`.
49
49
50
50
Finally, set the following environment variables:
51
51
@@ -60,7 +60,7 @@ Alternatively you can set the environment variables in your `Make.user`
60
60
```
61
61
export MMTK_BUILD := release
62
62
export MMTK_JULIA_DIR := <path-to-mmtk-julia>
63
-
export MMTK_PLAN := Immix
63
+
export MMTK_PLAN := Immix # or export MMTK_PLAN := StickyImmix
0 commit comments