diff options
author | Martin Kroeker <martin@ruby.chemie.uni-freiburg.de> | 2018-12-23 17:16:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-23 17:16:43 +0100 |
commit | 43c2b0eb5594bbcb0c48882965a6d655b0f99bc5 (patch) | |
tree | a4026d36489a13acd5b6ce703c7631f74e1de157 /Makefile.x86_64 | |
parent | a5a111852726a48e2a3dfc67cc693964b5f1240e (diff) | |
download | openblas-43c2b0eb5594bbcb0c48882965a6d655b0f99bc5.tar.gz openblas-43c2b0eb5594bbcb0c48882965a6d655b0f99bc5.tar.bz2 openblas-43c2b0eb5594bbcb0c48882965a6d655b0f99bc5.zip |
Add -mavx2 to TARGET=HASWELL builds
to leverage improvements from PR#1921
Diffstat (limited to 'Makefile.x86_64')
-rw-r--r-- | Makefile.x86_64 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile.x86_64 b/Makefile.x86_64 index dbee28079..1b7fe3ef4 100644 --- a/Makefile.x86_64 +++ b/Makefile.x86_64 @@ -25,6 +25,17 @@ endif endif endif +ifeq ($(CORE), HASWELL) +ifndef DYNAMIC_ARCH +ifndef NO_AVX2 +CCOMMON_OPT += -mavx2 +FCOMMON_OPT += -mavx2 +endif +endif +endif + + + ifeq ($(OSNAME), Interix) ARFLAGS = -m x64 endif |