File tree Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ if [[ ! -z "${USE_JULIA_PGO_LTO-}" ]]; then
5151
5252 echo " --- Build Julia Stage 1 - with instrumentation"
5353
54- cd contrib/pgo-lto
54+ cd contrib/pgo-lto-bolt
5555 ${MAKE} " ${MFLAGS[@]} " stage1
5656 # Building stage1 collects profiling data which we use instead of collecting our own
5757fi
@@ -66,9 +66,24 @@ for FLAG in "${MFLAGS[@]}"; do
6666done
6767
6868if [[ ! -z " ${USE_JULIA_PGO_LTO-} " ]]; then
69- echo " --- Build Julia Stage 2 - optimised"
69+ echo " --- Build Julia Stage 2 - PGO + LTO optimised"
7070 ${MAKE} " ${MFLAGS[@]} " stage2
7171
72+ echo " --- Copying original shared libraries"
73+ ${MAKE} " ${MFLAGS[@]} " copy_originals
74+
75+ echo " --- Instrumenting with BOLT"
76+ ${MAKE} " ${MFLAGS[@]} " bolt_instrument
77+
78+ echo " --- Finishing and Profiling Julia Stage 2"
79+ ${MAKE} " ${MFLAGS[@]} " finish_stage2
80+
81+ echo " --- Merging BOLT Profiles"
82+ ${MAKE} " ${MFLAGS[@]} " merge_data
83+
84+ echo " --- Optimize Julia Stage 2 with BOLT"
85+ ${MAKE} " ${MFLAGS[@]} " bolt
86+
7287 cd ../..
7388else
7489 echo " --- Build Julia"
You can’t perform that action at this time.
0 commit comments