Skip to content

Commit

Permalink
Do not tpin roorts for non moving builds (#162)
Browse files Browse the repository at this point in the history
  • Loading branch information
qinsoon authored Jul 24, 2024
1 parent b4565f0 commit 6a28736
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/scripts/ci-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ fi

plan_feature=${plan,,}
moving_feature=${is_moving,,}
if [ "$is_moving" == "Default" ]; then
tpin_roots=1
else
tpin_roots=0
fi

cd $MMTK_JULIA_DIR/mmtk
cargo build --features $plan_feature,$moving_feature $build_args
Expand All @@ -36,6 +41,6 @@ cd $JULIA_PATH
make cleanall
# Build
cp $BINDING_PATH/.github/scripts/Make.user $JULIA_PATH/
MMTK_PLAN=$plan MMTK_BUILD=$build_type make
MMTK_PLAN=$plan MMTK_BUILD=$build_type MMTK_TPIN_ROOTS=$tpin_roots make
# Run hello world
$JULIA_PATH/julia $HELLO_WORLD_JL
2 changes: 1 addition & 1 deletion mmtk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ edition = "2018"
[package.metadata.julia]
# Our CI matches the following line and extract mmtk/julia. If this line is updated, please check ci yaml files and make sure it works.
julia_repo = "https://github.com/mmtk/julia.git"
julia_version = "045bf87050653aa4ae996d3cdc052b1f3fcad7e6"
julia_version = "7bc3b32a687170322772e18fab347c3bcc260160"

[lib]
crate-type = ["cdylib"]
Expand Down

0 comments on commit 6a28736

Please sign in to comment.