File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -159,10 +159,33 @@ jobs:
159159 tar xvf 1.5.1.tar.gz
160160 rm -f 1.5.1.tar.gz
161161
162+ # O2 - start
162163 make clean
163164 make -j$(nproc) CXXOPTS="-O2 -g3" simplecpp
164- VALGRIND_TOOL=callgrind SIMPLECPP_PATH=simplecpp-1.5.1 ./selfcheck.sh >callgrind.log || (cat callgrind.log && false)
165- cat callgrind.log
165+ VALGRIND_TOOL=callgrind SIMPLECPP_PATH=simplecpp-1.5.1 ./selfcheck.sh >callgrind_o2.log || (cat callgrind_o2.log && false)
166+ cat callgrind_o2.log
167+ # O2 - end
168+
169+ # O3 - start
170+ make clean
171+ make -j$(nproc) CXXOPTS="-O3 -g3" simplecpp
172+ VALGRIND_TOOL=callgrind SIMPLECPP_PATH=simplecpp-1.5.1 ./selfcheck.sh >callgrind_o3.log || (cat callgrind_o3.log && false)
173+ cat callgrind_o3.log
174+ # O3 - end
175+
176+ # O2+LTO - start
177+ make clean
178+ make -j$(nproc) CXXOPTS="-O2 -g3 -flto" LDOPTS="-flto" simplecpp
179+ VALGRIND_TOOL=callgrind SIMPLECPP_PATH=simplecpp-1.5.1 ./selfcheck.sh >callgrind_o2_lto.log || (cat callgrind_o2_lto.log && false)
180+ cat callgrind_o2_lto.log
181+ # O2+LTO - end
182+
183+ # O3+LTO - start
184+ make clean
185+ make -j$(nproc) CXXOPTS="-O2 -g3 -flto" LDOPTS="-flto" simplecpp
186+ VALGRIND_TOOL=callgrind SIMPLECPP_PATH=simplecpp-1.5.1 ./selfcheck.sh >callgrind_o3_lto.log || (cat callgrind_o3_lto.log && false)
187+ cat callgrind_o3_lto.log
188+ # O3+LTO - end
166189
167190 # PGO - start
168191 make clean
@@ -179,6 +202,9 @@ jobs:
179202 cat callgrind_pgo.log
180203 # PGO - end
181204
205+ # TODO: PGO+O3
206+ # TODO: PGO+LTO
207+
182208 for f in callgrind.out.*;
183209 do
184210 callgrind_annotate --auto=no $f > $f.annotated.log
You can’t perform that action at this time.
0 commit comments