comparison make/InitSupport.gmk @ 51482:d7029542d67a

8209420: Track membars for volatile accesses so they can be properly optimized Reviewed-by: adinn, aph, thartmann
author roland
date Tue, 14 Aug 2018 16:54:47 +0200
parents e5cdf2569510
children 2ed42e41e712
comparison
equal deleted inserted replaced
30:84419f68ea39 31:c7610cec0ae9
454 $(RM) $(BUILD_PROFILE_LOG).old 2> /dev/null && \ 454 $(RM) $(BUILD_PROFILE_LOG).old 2> /dev/null && \
455 $(MV) $(BUILD_PROFILE_LOG) $(BUILD_PROFILE_LOG).old 2> /dev/null || true \ 455 $(MV) $(BUILD_PROFILE_LOG) $(BUILD_PROFILE_LOG).old 2> /dev/null || true \
456 ) 456 )
457 endef 457 endef
458 458
459 # Failure logs are only supported for "parallel" main targets, not the
460 # (trivial) sequential make targets (such as clean and reconfigure),
461 # since the failure-logs directory creation will conflict with clean.
459 define PrepareFailureLogs 462 define PrepareFailureLogs
460 $(RM) -r $(MAKESUPPORT_OUTPUTDIR)/failure-logs 2> /dev/null && \ 463 $(RM) -r $(MAKESUPPORT_OUTPUTDIR)/failure-logs 2> /dev/null && \
461 $(MKDIR) -p $(MAKESUPPORT_OUTPUTDIR)/failure-logs 464 $(MKDIR) -p $(MAKESUPPORT_OUTPUTDIR)/failure-logs
462 $(RM) $(MAKESUPPORT_OUTPUTDIR)/exit-with-error 2> /dev/null 465 $(RM) $(MAKESUPPORT_OUTPUTDIR)/exit-with-error 2> /dev/null
463 endef 466 endef