Skip to content

Commit

Permalink
Updating dev (#186)
Browse files Browse the repository at this point in the history
Backporting #180, merge with
mmtk/julia#67.
  • Loading branch information
udesou authored Oct 24, 2024
1 parent 7c4f844 commit 5918de4
Show file tree
Hide file tree
Showing 22 changed files with 362 additions and 5,759 deletions.
2 changes: 1 addition & 1 deletion .github/scripts/ci-test-LinearAlgebra.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -e

. $(dirname "$0")/common.sh

export MMTK_MAX_HSIZE_G=7.5
export MMTK_MAX_HSIZE_G=8
total_mem=$(free -m | awk '/^Mem:/ {print $2}')
mem_threshold=512 # use 0.5Gb as a threshold for the max rss based on the total free memory
total_mem_restricted=$((total_mem- mem_threshold))
Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/common.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
BINDING_PATH=$(realpath $(dirname "$0"))/../..
JULIA_PATH=$BINDING_PATH/vm/julia
export JULIA_PATH=$BINDING_PATH/vm/julia

RUSTUP_TOOLCHAIN=`cat $BINDING_PATH/mmtk/rust-toolchain`
JULIA_TEST_ARGS='--check-bounds=yes --startup-file=no --depwarn=error'
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/binding-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jobs:
run: |
./.github/scripts/ci-checkout.sh
./.github/scripts/ci-setup.sh
# removing these as they cause a conflict within bindgen
sudo rm -rf /usr/lib/llvm-14
sudo rm -rf /usr/lib/llvm-13
- name: Build Julia (Debug)
run: |
./.github/scripts/ci-build.sh debug ${{ inputs.gc_plan }} ${{ inputs.moving }}
Expand All @@ -35,6 +38,9 @@ jobs:
run: |
./.github/scripts/ci-checkout.sh
./.github/scripts/ci-setup.sh
# removing these as they cause a conflict within bindgen
sudo rm -rf /usr/lib/llvm-14
sudo rm -rf /usr/lib/llvm-13
- name: Patching unsupported tests
run: |
./.github/scripts/ci-test-patching.sh
Expand All @@ -54,6 +60,9 @@ jobs:
run: |
./.github/scripts/ci-checkout.sh
./.github/scripts/ci-setup.sh
# removing these as they cause a conflict within bindgen
sudo rm -rf /usr/lib/llvm-14
sudo rm -rf /usr/lib/llvm-13
- name: Patching unsupported tests
run: |
./.github/scripts/ci-test-patching.sh
Expand All @@ -73,6 +82,9 @@ jobs:
run: |
./.github/scripts/ci-checkout.sh
./.github/scripts/ci-setup.sh
# removing these as they cause a conflict within bindgen
sudo rm -rf /usr/lib/llvm-14
sudo rm -rf /usr/lib/llvm-13
- name: Build Julia (Release)
run: |
./.github/scripts/ci-build.sh release ${{ inputs.gc_plan }} ${{ inputs.moving }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ jobs:
uses: ./.github/workflows/binding-tests.yml
with:
gc_plan: ${{ matrix.gc_plan }}
moving: ${{ matrix.moving }}
moving: ${{ matrix.moving }}
Loading

0 comments on commit 5918de4

Please sign in to comment.