diff --git a/utilities/build_julia.sh b/utilities/build_julia.sh index 30cfa0fe..a5f5957e 100755 --- a/utilities/build_julia.sh +++ b/utilities/build_julia.sh @@ -37,10 +37,6 @@ MFLAGS+=( "JULIA_CPU_TARGET=${JULIA_CPU_TARGET}" ) if [[ ! -z "${USE_JULIA_PGO_LTO-}" ]]; then MFLAGS+=( "STAGE2_BUILD=$PWD" ) - GCCFLAG=--gcc-install-dir=$(LANG=C cc -print-search-dirs | grep '^install: ' | sed -e "s/^install: //") - MFLAGS+=( "SANITIZE_OPTS=$GCCFLAG" ) - MFLAGS+=( "CFLAGS+=$GCCFLAG" ) - MFLAGS+=( "CXXFLAGS+=$GCCFLAG" ) echo "--- Collect make options" echo "Make Options:" @@ -52,11 +48,7 @@ if [[ ! -z "${USE_JULIA_PGO_LTO-}" ]]; then cd contrib/pgo-lto ${MAKE} "${MFLAGS[@]}" stage1 - - # We use profile from building stage1 - # echo "--- Collecting Profile" - # ${MAKE} clean-profiles - # ./stage1.build/julia .buildkite/utilities/pgo_script.jl + # Building stage1 collects profiling data which we use instead of collecting our own fi # Finish off with any extra make flags from the `.arches` file