Martin Kroeker
668f48f4fc
Use CMAKE_C_COMPILER_VERSION instead of dumpversion calls ( #4698 )
* Use CMAKE_C_COMPILER_VERSION throughout
1 year ago
Martin Kroeker
015042f7b5
Fix Loongson compiler flag test
1 year ago
Wu Xiaotian
0baf462dbc
Fix: build failed on LoongArch
According to the documentation at https://github.com/loongson/la-abi-specs/blob/release/lapcs.adoc#the-base-abi-variants , valid -mabi parameters are lp64s, lp64f, lp64d, ilp32s, ilp32f and ilp32d.
1 year ago
barracuda156
8c143331b0
PPC970: drop -mcpu=970 which seems to produce faulty code
Fixes: https://github.com/OpenMathLib/OpenBLAS/issues/4376
1 year ago
barracuda156
981e315b30
cc.cmake: use -force_cpusubtype_ALL for Darwin PPC
1 year ago
barracuda156
a8d3619f65
cc.cmake: add optflags for G5 and G4 kernels
1 year ago
Martin Kroeker
49689fbef7
Add support for compiling SVE kernels with the NVIDIA HPC compiler
2 years ago
Martin Kroeker
2993a73262
Add NVHPC(nvc)
2 years ago
Martin Kroeker
19a696f8fe
fix nested conditionals
2 years ago
Martin Kroeker
e964ebd0d0
Add compiler option for AVX512-capable Ryzen(4)
2 years ago
Martin Kroeker
be546ec1ad
Add gcc options for Neoverse cpus
2 years ago
Martin Kroeker
abbc65cff4
Cortex X1 is only Arm8.2
3 years ago
Martin Kroeker
57dd92a662
Add initial support for ARMV9 Cortex 510/710/X1/X2
3 years ago
Rafael Cardoso Fernandes Sousa
214fbcee15
Fix cmake for power
3 years ago
Martin Kroeker
454edd741c
Merge pull request #3425 from binebrank/arm_sve_dgemm
Add dgemm kernel for arm64 SVE
3 years ago
Bine Brank
1af73ce38e
Adapt CMake for SVE
3 years ago
Martin Kroeker
a3cd36acff
Add CMAKE support for cross-compiling to MIPS32
3 years ago
Wangyang Guo
3dc6052c7e
initial support for Sapphire Rapids platform
4 years ago
gxw
0b8f7c8c10
Add cmake support for LOONGARCH64
4 years ago
Martin Kroeker
30f23be0f9
Rework setting of -mfma to only apply it where necessary
4 years ago
Martin Kroeker
ec4d77c47c
Add -mfma for HAVE_FMA3 in the non-DYNAMIC_ARCH case as well
4 years ago
Martin Kroeker
a29338aaa6
Remove extraneous quotes that caused a cmake policy warning
4 years ago
Martin Kroeker
786c0a3ce8
Add sse options for use of intrinics with older compilers
5 years ago
Martin Kroeker
75e3a92df6
Add express -mavx and -msse options (and fix a stray = for cooperlake)
5 years ago
Martin Kroeker
7c1986640b
fallback from cooperlake to skylake if gcc<10
5 years ago
Martin Kroeker
430f741b30
-march=cooperlake requires gcc10
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
مهدي شينون (Mehdi Chinoune)
21f6c4b5a9
fixes #2480
5 years ago
Martin Kroeker
8dc9fd4dfe
Add -march option for AVX512
5 years ago
Martin Kroeker
eb45eb6942
Fix C compiler handling and BINARY=32 mode in CMAKE builds ( #2248 )
* Fix compiler identification and option setting
* Handle BINARY=32 option on X86_64
* Add xGEMM3M unroll parameters for crossbuild-target CORE2
* Replace bogus mingw64/32bit CI job with actual 32bit build
mingw64 is not multilib-capable, so using an x86_64-mingw with BINARY=32 in the CI was not going to work anyway (but build passed while BINARY=32 was ignored).
6 years ago
Sacha Refshauge
47ebce4d1a
Clean up, fix old typos. Simplify arch usages. Move system arch check to earlier position.
8 years ago
Hank Anderson
560c96a9a7
Fixed newlines in some cmake files.
10 years ago
Hank Anderson
30be551502
Corrected fortran compiler name variables.
Fixed some typos.
Updated c_check to set ARCH and BINARY64/32.
Added version variables.
10 years ago
Hank Anderson
e4bfbd8258
Added fc.cmake (forgot it in last commit).
Moved a couple C compiler ifs from Makefile.system into cc.cmake.
10 years ago
Hank Anderson
af11aff309
Ported C compiler settings from Makefile.system into new cmake file.
10 years ago