File tree 3 files changed +7
-2
lines changed
3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -518,6 +518,9 @@ also be used to improve performance.
518
518
519
519
.. versionadded :: 3.8
520
520
521
+ .. versionchanged :: 3.13
522
+ Task failure is no longer ignored silently.
523
+
521
524
.. cmdoption :: --with-lto=[full|thin|no|yes]
522
525
523
526
Enable Link Time Optimization (LTO) in any build (disabled by default).
Original file line number Diff line number Diff line change @@ -657,7 +657,7 @@ profile-run-stamp:
657
657
$(MAKE) profile-gen-stamp
658
658
# Next, run the profile task to generate the profile information.
659
659
@ # FIXME: can't run for a cross build
660
- $(LLVM_PROF_FILE) $(RUNSHARED) ./$(BUILDPYTHON) $(PROFILE_TASK) || true
660
+ $(LLVM_PROF_FILE) $(RUNSHARED) ./$(BUILDPYTHON) $(PROFILE_TASK)
661
661
$(LLVM_PROF_MERGER)
662
662
# Remove profile generation binary since we are done with it.
663
663
$(MAKE) clean-retain-profile
@@ -706,7 +706,7 @@ profile-bolt-stamp: $(BUILDPYTHON)
706
706
mv "$${bin}.bolt_inst" "$${bin}"; \
707
707
done
708
708
# Run instrumented binaries to collect data.
709
- $(RUNSHARED) ./$(BUILDPYTHON) $(PROFILE_TASK) || true
709
+ $(RUNSHARED) ./$(BUILDPYTHON) $(PROFILE_TASK)
710
710
# Merge all the data files together.
711
711
for bin in $(BOLT_BINARIES); do \
712
712
@MERGE_FDATA@ $${bin}.*.fdata > "$${bin}.fdata"; \
Original file line number Diff line number Diff line change
1
+ No longer ignore :envvar: `PROFILE_TASK ` failure silently: command used by
2
+ Profile Guided Optimization (PGO). Patch by Victor Stinner.
You can’t perform that action at this time.
0 commit comments