Martin Kroeker
e15f810a02
Avoid spurious version queries and associated expr errors in the NOFORTRAN case
3 years ago
Wangyang Guo
1eca91f315
Fix build error in legacy gcc
4 years ago
Wangyang Guo
3dc6052c7e
initial support for Sapphire Rapids platform
4 years ago
Martin Kroeker
0e73d20629
Handle inadvertent use of DYNAMIC_ARCH=0
4 years ago
Martin Kroeker
1ae607beca
Update Makefile.x86_64
4 years ago
Martin Kroeker
d393f1923f
Fix spillover of host-specific build flags into the shared part of DYNAMIC_ARCH builds with gmake
for #3139
4 years ago
Martin Kroeker
3c356b1a1f
Support compilation with the NAG Fortran compiler
4 years ago
Martin Kroeker
abef2ea770
Move -fma option setting to kernel/Makefile.L1
4 years ago
Martin Kroeker
22574b474e
Suppress -mfma as well for gcc 4.6
4 years ago
Martin Kroeker
2e99e2699b
Add workaround for gcc 4.6 miscompiling assembly kernels with -mavx
4 years ago
Martin Kroeker
ccb9731c7b
Fix propagation of cpu properties to compiler options
4 years ago
Guillaume Horel
1917a4e7b8
reuse variables defined in Makefile.system
5 years ago
Martin Kroeker
b23cb05231
Fix twisted spelling that broke the gfortran version test again
5 years ago
Guillaume Horel
47696b43e9
actually check that version is greater than 4.7
5 years ago
Martin Kroeker
00813363be
Enable -mavx2 for flang as well
5 years ago
Martin Kroeker
f1bb85d378
Add AVX flags for clang/aocc as well
5 years ago
Martin Kroeker
ca160bb440
Add -msse4.1 when SSE4.1 is supported
5 years ago
Martin Kroeker
137ae618db
Fix typo
5 years ago
Martin Kroeker
9e3cff5cf2
Expressly enable -mavx2 on Zen, SkylakeX and Cooperlake as well
5 years ago
Martin Kroeker
5f60a32cac
Add -mssse3 if supported by the hardware
5 years ago
Martin Kroeker
0c773b8205
Do not rely on HAVE_SSE3 in DYNAMIC_ARCH builds
5 years ago
Qiyu8
f32d34a015
add sse3 compiler flag
5 years ago
Martin Kroeker
bb9cf766f5
make march=cooperlake option conditional on gcc >= 10.1
5 years ago
Chen, Guobing
e740c4873d
Enable COOPERLAKE build target
Enable new build target platform -- COOPERLAKE. This target platform
supports all the SKYLAKEX supported ISAs + avx512bf16. So all the
SKYLAKEX specific kernels/drivers and related code are now extended
to be also active on COOPERLAKE. Besides, new BF16 related kernels
are active under this target.
5 years ago
Martin Kroeker
4ab3651591
Option -mavx2 requires at least gcc 4.7
5 years ago
Martin Kroeker
a66f4d80c8
Apply MinGW AVX512 compilation fix to fortran options as well
original issue was #1708 , I see now that the same problem affects gfortran compilation. The underlying issue is said to be fixed (but not yet released) on all branches of gcc as of a few days ago but it will certainly take time to reach mingw/msys.
5 years ago
Martin Kroeker
6d3efb2b58
Update Makefile.x86_64
6 years ago
Martin Kroeker
d9ff2cd90d
Do not force gcc options on non-gcc compilers
fixes compile failure with pgi 18.10 as reported on OpenBLAS-users
6 years ago
Martin Kroeker
43c2b0eb55
Add -mavx2 to TARGET=HASWELL builds
to leverage improvements from PR#1921
6 years ago
Martin Kroeker
38cc638591
Avoid adding blanket march=skylake-avx512 to dynamic_arch builds
6 years ago
Martin Kroeker
6234a32656
Use cygwin compilation workaround for avx512 on msys2/mingw64 as well
7 years ago
Martin Kroeker
73478664d4
Add workaround for avx512 compilations on Cygwin
fixes #1708
7 years ago
Martin Kroeker
0c5b7b400b
Add -march=skylake-avx512 to flags if target is skylake x
7 years ago
Timothy Gu
6c2ead30f0
Remove all trailing whitespace except lapack-netlib
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
11 years ago
Sebastien Fabbro
9f0fb6e662
Respect user's LDFLAGS
12 years ago
Xianyi Zhang
342bbc3871
Import GotoBLAS2 1.13 BSD version codes.
14 years ago