Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
GCCFLAG should no longer be required now that we use the llvmpasses image
  • Loading branch information
Zentrik committed Apr 21, 2024
1 parent e092c5d commit f2ffa42
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions utilities/build_julia.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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:"
Expand All @@ -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
Expand Down

0 comments on commit f2ffa42

Please sign in to comment.