You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# When building a single libLLVM.so we need to increase -vp-counters-per-site
19
19
# significantly
20
20
COUNTERS_PER_SITE:=6
21
+
# Note: profile counters are not atomic by default, https://discourse.llvm.org/t/profile-guided-optimization-pgo-related-questions-and-suggestions/75232/5
21
22
22
-
AFTER_STAGE1_MESSAGE:='Run `make clean-profiles` to start with a clean slate. $\
23
-
Then run Julia to collect realistic profile data, for example: `$(STAGE1_BUILD)/julia -O3 -e $\
24
-
'\''using Pkg; Pkg.add("LoopVectorization"); Pkg.test("LoopVectorization")'\''`. This $\
25
-
should produce about 15MB of data in $(PROFILE_DIR). Note that running extensive $\
26
-
scripts may result in counter overflows, which can be detected by running $\
23
+
AFTER_STAGE1_MESSAGE:='You can now optionally collect more profiling data for use in PGO by running Julia $\
24
+
with an appropriate workload. If you wish, run `make clean_profiles` before doing so to remove any profiling data $\
25
+
generated by building Julia. You should end up with about 15MB of data in $(PGO_PROFILE_DIR). $\
26
+
Note that running extensive scripts may result in counter overflows, which can be detected by running $\
0 commit comments