diff --git a/utilities/build_julia.sh b/utilities/build_julia.sh index 5194e37a..6c07e25e 100755 --- a/utilities/build_julia.sh +++ b/utilities/build_julia.sh @@ -73,6 +73,7 @@ done echo "--- Build Julia" ${MAKE} "${MFLAGS[@]}" + echo "--- Check that the working directory is clean" if [ -n "$(git status --short)" ]; then echo "ERROR: The working directory is dirty." >&2 @@ -92,10 +93,10 @@ ${JULIA_EXE} -e "import Test; Test.@test Sys.ARCH == :${ARCH:?}" ${JULIA_EXE} -e "import Test; Test.@test Sys.WORD_SIZE == ${EXPECTED_WORD_SIZE:?}" echo "--- Show build stats" -${MAKE} build-stats +${MAKE} "${MFLAGS[@]}" build-stats echo "--- Create build artifacts" -${MAKE} binary-dist +${MAKE} "${MFLAGS[@]}" binary-dist # Rename the build artifact in case we want to name it differently, as is the case on `musl`. if [[ "${JULIA_BINARYDIST_FILENAME}.tar.gz" != "${UPLOAD_FILENAME}.tar.gz" ]]; then