gxw
30af9278dc
LoongArch64: Enable cmake cross-compilation
1 year ago
barracuda156
c732f275a2
system_check.cmake: fix arch detection for Darwin PowerPC
1 year ago
Kirill A. Korinsky
08fde5ebd2
Use 64bit build on `CMAKE_SYSTEM_PROCESSOR=i386` on Darwin
Here a bit tricky things.
A value `CMAKE_SYSTEM_PROCESSOR` is came from output of `uname -m` which
migth be 32bit with 64bit building applicaiton.
So, for that case use `CMAKE_SIZEOF_VOID_P` to detect the target.
See https://trac.macports.org/ticket/68488
1 year ago
Martin Kroeker
b61e64da6f
Merge pull request #4142 from exyntech/armv8-as-arm64
Fix armv8 detection in system_check.cmake
2 years ago
Andy Mroczkowski
45b2cd2fb2
treat armv8 CMAKE_SYSTEM_PROCESSOR as arm64
The cmake scripts incorrectly treated armv8 as 32-bit arm, causing
compilation issues. This just adds 'armv8' to the arm64 condition check.
2 years ago
Felix Yan
a721fccfdc
Fix riscv64 detection in system_check.cmake
2 years ago
Nursultan Zarlyk
1bb7993a97
Fix MSVC ARM64 build. Add generic kernel for ARM64
3 years ago
Rafael Cardoso Fernandes Sousa
214fbcee15
Fix cmake for power
3 years ago
Martin Kroeker
a3cd36acff
Add CMAKE support for cross-compiling to MIPS32
3 years ago
مهدي شينون (Mehdi Chinoune)
efd7ac241d
Fix MinGW/Clang 64 bits detection.
CMAKE_COMPILER_IS_GNUCC is only valid for GCC.
4 years ago
gxw
0b8f7c8c10
Add cmake support for LOONGARCH64
4 years ago
Martin Kroeker
68e6823d36
Adapt for supporting only a subset of variable types
5 years ago
Martin Kroeker
2367726578
Remove redundant status message
5 years ago
Martin Kroeker
68b1713c30
Merge pull request #2811 from martin-frbg/issue2806
Make NO_AVX512 option override the AVX512 compile test in CMAKE builds as well
5 years ago
Martin Kroeker
5feb087c05
Handle Apple labeling armv8 as arm64 rather than aarch64
5 years ago
Martin Kroeker
9e21a100e3
Add trivial check for stdatomic.h
5 years ago
Martin Kroeker
1d9773b800
Use proper extension on the avx512 testcase filename
The need to call it .tmp existed only when it was generated by a tmpfile call, and the "-x c" option to tell the compiler it is actually a C source is not universally supported (this broke the test with clang-cl at least)
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
Tyler Reddy
3f6ab1582a
MAINT: remove legacy CMake endif()
* clean up a case where CMake endif()
contained the conditional used in the
if(), which is no longer needed /
discouraged since our minimum required
CMake version supports the modern syntax
6 years ago
Martin Kroeker
1679de5e59
Detect 32bit environment on 64bit ARM hardware
for #2056 , using same approach as #2058
6 years ago
Sacha
c3e30b2bc2
Change 64-bit detection as explained in #2056
6 years ago
Martin Kroeker
fd34820b99
Fix AVX512 test always returning false due to missing compiler option
6 years ago
Martin Kroeker
dceff5542c
Handle Android environments that identify as Linux ( #1898 )
* Handle Android environments that identify as Linux
termux terminal emulator does this, causing build failures through missed defines in common.h
6 years ago
Martin Kroeker
84bcdf9c66
Revert "Add -march=skylake-avx512 when required"
7 years ago
Martin Kroeker
a9b51b8448
Merge pull request #1798 from martin-frbg/cmake-avx512
Add -march=skylake-avx512 when required
7 years ago
Martin Kroeker
eba394c711
Add -march=skylake-avx512 when required
fixes #1797
7 years ago
Martin Kroeker
4c3643ed7f
Check availability of immintrin.h in the AVX512 compatibility test
7 years ago
Martin Kroeker
b74aef2816
Add -march=skylake-avx512 to AVX512 compile check and suppress its output
7 years ago
Martin Kroeker
e4718b1fee
Better AVX512 test case
7 years ago
Martin Kroeker
7fb62aed7e
Check build system support for AVX512 instructions
7 years ago
Sacha Refshauge
47ebce4d1a
Clean up, fix old typos. Simplify arch usages. Move system arch check to earlier position.
8 years ago