Skip to content

Commit

Permalink
fix mkl build
Browse files Browse the repository at this point in the history
  • Loading branch information
daviehh committed May 31, 2019
1 parent d8ff21c commit 2b3a2b0
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions Make.inc
Original file line number Diff line number Diff line change
Expand Up @@ -1007,18 +1007,7 @@ endif
endef
$(foreach proj,$(BB_PROJECTS),$(eval $(call SET_BB_DEFAULT,$(proj))))

# Some special restrictions on BB usage:
ifeq ($(USE_SYSTEM_BLAS),1)
# Since the names don't line up (`BLAS` vs. `OPENBLAS`), manually gate:
USE_BINARYBUILDER_OPENBLAS ?= 0
# Disable BB SuiteSparse if we're using system BLAS
USE_BINARYBUILDER_SUITESPARSE ?= 0
endif

ifeq ($(USE_SYSTEM_LIBM),1)
# If we're using system libm, disable BB OpenLibm
USE_BINARYBUILDER_OPENLIBM ?= 0
endif

# Use the Assertions build
BINARYBUILDER_LLVM_ASSERTS ?= 0
Expand Down Expand Up @@ -1253,6 +1242,19 @@ LDFLAGS += -cxxlib-nostd -static-intel
endif
endif

# Some special restrictions on BB usage:
ifeq ($(USE_SYSTEM_BLAS),1)
# Since the names don't line up (`BLAS` vs. `OPENBLAS`), manually gate:
USE_BINARYBUILDER_OPENBLAS := 0
# Disable BB SuiteSparse if we're using system BLAS
USE_BINARYBUILDER_SUITESPARSE := 0
endif

ifeq ($(USE_SYSTEM_LIBM),1)
# If we're using system libm, disable BB OpenLibm
USE_BINARYBUILDER_OPENLIBM := 0
endif

# Make tricks

define dir_target
Expand Down

0 comments on commit 2b3a2b0

Please sign in to comment.