File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Expand file tree Collapse file tree 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.
518518
519519 .. versionadded :: 3.8
520520
521+ .. versionchanged :: 3.13
522+ Task failure is no longer ignored silently.
523+
521524.. cmdoption :: --with-lto=[full|thin|no|yes]
522525
523526 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:
657657 $(MAKE) profile-gen-stamp
658658 # Next, run the profile task to generate the profile information.
659659 @ # 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)
661661 $(LLVM_PROF_MERGER)
662662 # Remove profile generation binary since we are done with it.
663663 $(MAKE) clean-retain-profile
@@ -706,7 +706,7 @@ profile-bolt-stamp: $(BUILDPYTHON)
706706 mv "$${bin}.bolt_inst" "$${bin}"; \
707707 done
708708 # Run instrumented binaries to collect data.
709- $(RUNSHARED) ./$(BUILDPYTHON) $(PROFILE_TASK) || true
709+ $(RUNSHARED) ./$(BUILDPYTHON) $(PROFILE_TASK)
710710 # Merge all the data files together.
711711 for bin in $(BOLT_BINARIES); do \
712712 @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