Browse Source
Do not force gcc options on non-gcc compilers
fixes compile failure with pgi 18.10 as reported on OpenBLAS-users
tags/v0.3.7
Martin Kroeker
GitHub
6 years ago
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
0 deletions
-
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 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|