Skip to content

Commit 5ebf7b5

Browse files
committed
Clean up
GCCFLAG should no longer be required now that we use the llvmpasses image
1 parent 37aa170 commit 5ebf7b5

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

utilities/build_julia.sh

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,6 @@ MFLAGS+=( "JULIA_CPU_TARGET=${JULIA_CPU_TARGET}" )
3737

3838
if [[ ! -z "${USE_JULIA_PGO_LTO-}" ]]; then
3939
MFLAGS+=( "STAGE2_BUILD=$PWD" )
40-
GCCFLAG=--gcc-install-dir=$(LANG=C cc -print-search-dirs | grep '^install: ' | sed -e "s/^install: //")
41-
MFLAGS+=( "SANITIZE_OPTS=$GCCFLAG" )
42-
MFLAGS+=( "CFLAGS+=$GCCFLAG" )
43-
MFLAGS+=( "CXXFLAGS+=$GCCFLAG" )
4440

4541
echo "--- Collect make options"
4642
echo "Make Options:"
@@ -52,11 +48,7 @@ if [[ ! -z "${USE_JULIA_PGO_LTO-}" ]]; then
5248

5349
cd contrib/pgo-lto
5450
${MAKE} "${MFLAGS[@]}" stage1
55-
56-
# We use profile from building stage1
57-
# echo "--- Collecting Profile"
58-
# ${MAKE} clean-profiles
59-
# ./stage1.build/julia .buildkite/utilities/pgo_script.jl
51+
# Building stage1 collects profiling data which we use instead of collecting our own
6052
fi
6153

6254
# Finish off with any extra make flags from the `.arches` file

0 commit comments

Comments
 (0)