Skip to content

Commit

Permalink
add OPENBLAS_NO_AVX512 build option (#28414)
Browse files Browse the repository at this point in the history
  • Loading branch information
vchuravy authored and ViralBShah committed Aug 3, 2018
1 parent ce2aa22 commit b70d214
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions deps/blas.mk
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,11 @@ endif

# Allow disabling AVX for older binutils
ifeq ($(OPENBLAS_NO_AVX), 1)
OPENBLAS_BUILD_OPTS += NO_AVX=1 NO_AVX2=1
OPENBLAS_BUILD_OPTS += NO_AVX=1 NO_AVX2=1 NO_AVX512=1
else ifeq ($(OPENBLAS_NO_AVX2), 1)
OPENBLAS_BUILD_OPTS += NO_AVX2=1
OPENBLAS_BUILD_OPTS += NO_AVX2=1 NO_AVX512=1
else ifeq ($(OPENBLAS_NO_AVX512), 1)
OPENBLAS_BUILD_OPTS += NO_AVX512=1
endif

# Do not overwrite the "-j" flag
Expand Down

0 comments on commit b70d214

Please sign in to comment.