Skip to content

Commit

Permalink
Use threaded GC
Browse files Browse the repository at this point in the history
  • Loading branch information
ufechner7 committed Dec 11, 2023
1 parent 7029cca commit 7a08c7c
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions bin/run_julia
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,19 @@ if [[ $julia_major == "1.1" ]]; then
fi
branch=$(git rev-parse --abbrev-ref HEAD)

if [[ $julia_major == "1.10" ]]; then
if [[ $HOSTNAME == "ufryzen" || $HOSTNAME == "TUD262682" ]]; then
GCT="--gcthreads=8,1"
else
GCT="--gcthreads=4,1"
fi
else
GCT=""
fi

if test -f "bin/kps-image-${julia_major}-${branch}.so"; then
echo "Found system image!"
julia -J bin/kps-image-${julia_major}-${branch}.so -t 1 --project
julia -J bin/kps-image-${julia_major}-${branch}.so -t 1 $GCT --project
else
julia --project
julia $GCT --project
fi

0 comments on commit 7a08c7c

Please sign in to comment.