Skip to content
Permalink
Browse files

Do not force gcc options on non-gcc compilers

fixes compile failure with pgi 18.10 as reported on OpenBLAS-users
  • Loading branch information...
martin-frbg committed Jun 13, 2019
1 parent ece0bfb commit d9ff2cd90df9a114701dcd6298ae8439d6648e04
Showing with 4 additions and 0 deletions.
  1. +4 −0 Makefile.x86_64
@@ -28,11 +28,15 @@ endif
ifeq ($(CORE), HASWELL)
ifndef DYNAMIC_ARCH
ifndef NO_AVX2
ifeq ($(C_COMPILER), GCC)
CCOMMON_OPT += -mavx2
endif
ifeq $(F_COMPILER), GFORTRAN)
FCOMMON_OPT += -mavx2
endif
endif
endif
endif



0 comments on commit d9ff2cd

Please sign in to comment.
You can’t perform that action at this time.