Skip to content

Commit

Permalink
Install Julia 1.10 if needed
Browse files Browse the repository at this point in the history
  • Loading branch information
ufechner7 committed Aug 29, 2024
1 parent f162d71 commit c50bbe8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions bin/create_sys_image
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@ if [[ $(basename $(pwd)) == "bin" ]]; then
cd ..
fi

if ! command -v juliaup &> /dev/null; then
echo "Please install the Julia installer 'juliaup'!"
echo "See: https://github.com/JuliaLang/juliaup"
exit 1
fi

juliaup add 1.10
juliaup default 1.10

PYTHON_PATH=$(which python3)
if [ -x "$PYTHON_PATH" ]; then
echo "Python is found at $PYTHON_PATH"
Expand Down

0 comments on commit c50bbe8

Please sign in to comment.