Skip to content

Commit 076235a

Browse files
committed
Make setting of USE_BINARYBUILDER slightly more well-explained
1 parent 7376d10 commit 076235a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Make.inc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -927,13 +927,15 @@ else
927927
endif
928928

929929
# BinaryBuilder options. We default to "on" for all the projects listed in BB_PROJECTS,
930-
# but only if contrib/normalize_triplet.py works for our requested triplet
930+
# but only if contrib/normalize_triplet.py works for our requested triplet.
931931
ifeq ($(shell python $(JULIAHOME)/contrib/normalize_triplet.py $(or $(XC_HOST),$(XC_HOST),$(BUILD_MACHINE)) >/dev/null 2>/dev/null; echo $$?),0)
932-
USE_BINARYBUILDER := 1
932+
USE_BINARYBUILDER ?= 1
933933
else
934934
ifneq ($(shell python $(JULIAHOME)/contrib/normalize_triplet.py x86_64-linux-gnu),x86_64-linux-gnu)
935935
$(warning python normalize_triplet.py appears to be non-functional, so BinaryBuilder disabled)
936936
endif
937+
# Note the `:=` instead of `?=`; this is to force a user to use `override` to get BB on a system
938+
# where we don't recognize the triplet.
937939
USE_BINARYBUILDER := 0
938940
endif
939941

0 commit comments

Comments
 (0)