Skip to content

Commit c8480d0

Browse files
committed
1 parent ef6fbbc commit c8480d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile.pre.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -768,7 +768,7 @@ profile-run-stamp:
768768
$(MAKE) profile-gen-stamp
769769
# Next, run the profile task to generate the profile information.
770770
@ # FIXME: can't run for a cross build
771-
$(LLVM_PROF_FILE) $(RUNSHARED) ./$(BUILDPYTHON) $(PROFILE_TASK)
771+
$(LLVM_PROF_FILE) $(RUNSHARED) ./$(BUILDPYTHON) $(PROFILE_TASK) || true
772772
$(LLVM_PROF_MERGER)
773773
# Remove profile generation binary since we are done with it.
774774
$(MAKE) clean-retain-profile
@@ -817,7 +817,7 @@ profile-bolt-stamp: $(BUILDPYTHON)
817817
mv "$${bin}.bolt_inst" "$${bin}"; \
818818
done
819819
# Run instrumented binaries to collect data.
820-
$(RUNSHARED) ./$(BUILDPYTHON) $(PROFILE_TASK)
820+
$(RUNSHARED) ./$(BUILDPYTHON) $(PROFILE_TASK) || true
821821
# Merge all the data files together.
822822
for bin in $(BOLT_BINARIES); do \
823823
@MERGE_FDATA@ $${bin}.*.fdata > "$${bin}.fdata"; \

0 commit comments

Comments
 (0)