Skip to content

Commit 337870b

Browse files
committed
s
1 parent 13512d1 commit 337870b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/CI-unixish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)