@@ -1007,18 +1007,7 @@ endif
1007
1007
endef
1008
1008
$(foreach proj , $(BB_PROJECTS ), $(eval $(call SET_BB_DEFAULT , $(proj ))))
1009
1009
1010
- # Some special restrictions on BB usage:
1011
- ifeq ($(USE_SYSTEM_BLAS ), 1 )
1012
- # Since the names don't line up (`BLAS` vs. `OPENBLAS`), manually gate:
1013
- USE_BINARYBUILDER_OPENBLAS ?= 0
1014
- # Disable BB SuiteSparse if we're using system BLAS
1015
- USE_BINARYBUILDER_SUITESPARSE ?= 0
1016
- endif
1017
1010
1018
- ifeq ($(USE_SYSTEM_LIBM ), 1 )
1019
- # If we're using system libm, disable BB OpenLibm
1020
- USE_BINARYBUILDER_OPENLIBM ?= 0
1021
- endif
1022
1011
1023
1012
# Use the Assertions build
1024
1013
BINARYBUILDER_LLVM_ASSERTS ?= 0
@@ -1253,6 +1242,19 @@ LDFLAGS += -cxxlib-nostd -static-intel
1253
1242
endif
1254
1243
endif
1255
1244
1245
+ # Some special restrictions on BB usage:
1246
+ ifeq ($(USE_SYSTEM_BLAS ), 1 )
1247
+ # Since the names don't line up (`BLAS` vs. `OPENBLAS`), manually gate:
1248
+ USE_BINARYBUILDER_OPENBLAS := 0
1249
+ # Disable BB SuiteSparse if we're using system BLAS
1250
+ USE_BINARYBUILDER_SUITESPARSE := 0
1251
+ endif
1252
+
1253
+ ifeq ($(USE_SYSTEM_LIBM ), 1 )
1254
+ # If we're using system libm, disable BB OpenLibm
1255
+ USE_BINARYBUILDER_OPENLIBM := 0
1256
+ endif
1257
+
1256
1258
# Make tricks
1257
1259
1258
1260
define dir_target
0 commit comments