File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -156,15 +156,15 @@ jobs:
156156
157157 # PGO - start
158158 make clean
159- make -j$(nproc) CXXOPTS="-O2 -g3 -fprofile-generate" LDOPTS="-fprofile-generate" simplecpp
159+ make -j$(nproc) CXXOPTS="-O2 -g3 -flto - fprofile-generate" LDOPTS="-flto -fprofile-generate" simplecpp
160160 SIMPLECPP_PATH=simplecpp-1.5.1 ./selfcheck.sh >/dev/null
161161
162162 if compgen -G "default_*.profraw" > /dev/null; then
163163 llvm-profdata merge -output=default.profdata default_*.profraw
164164 fi
165165
166166 make clean
167- make -j$(nproc) CXXOPTS="-O2 -g3 -fprofile-use" LDOPTS="-fprofile-use" simplecpp
167+ make -j$(nproc) CXXOPTS="-O2 -g3 -flto - fprofile-use" LDOPTS="-flto -fprofile-use" simplecpp
168168 VALGRIND_TOOL=callgrind SIMPLECPP_PATH=simplecpp-1.5.1 ./selfcheck.sh >callgrind_pgo.log || (cat callgrind_pgo.log && false)
169169 cat callgrind_pgo.log
170170 # PGO - end
You can’t perform that action at this time.
0 commit comments