Martin Kroeker
5f6206fa2d
Simplify OSX/IOS cross-compilation and add a CI test for it ( #2279 )
* Add automatic fixups for OSX/IOS cross-compilation
* Add OSX/IOS cross-compilation test to Travis CI
* Handle platforms that lack hwcap.h by falling back to ARMV8
* Fix PROLOGUE for OSX/IOS
6 years ago
Michael Lass
9cdc828afa
c_check: Unlink correct file
7 years ago
Martin Kroeker
918a0cc4d1
Fix missing -c option in AVX512 test
7 years ago
Martin Kroeker
d70ae3ab43
Make c_check robust against old or incomplete perl installations
by catching and working around failures to load modules, and avoiding object-oriented syntax in tempfile creation.
Fixes #1989
7 years ago
Martin Kroeker
591cca7cb0
Check availability of immintrin.h in the AVX512 compatibility test
7 years ago
Martin Kroeker
5bac15adbd
Merge pull request #1746 from martin-frbg/issue1674
Assume cross-compilation if host and target os differ
7 years ago
Martin Kroeker
e17f969fa0
Assume cross-compilation if host and target os differ
fixes 1674
7 years ago
Zoltán Mizsei
6463bffd59
Haiku supporting patches
7 years ago
Martin Kroeker
f5243e8e1f
Add compiler option to avx512 test and hide test output
7 years ago
Martin Kroeker
9b87b64262
Improve AVX512 testcase
clang 3.4 managed to accept the original test code, only to fail on the actual Skylake asm later
8 years ago
Martin Kroeker
83fec56a3f
Disable AVX512 (Skylake X) support if the build system is too old
8 years ago
Alex Arslan
a41d241a0e
Add support for DragonFly BSD
8 years ago
Alex Arslan
8da6b6ae52
Allow building on OpenBSD
With this change, OpenBLAS builds and all tests pass on OpenBSD 6.2
using Clang. Tested on x86-64 only, with and without DYNAMIC_ARCH=1.
8 years ago
Zhang Xianyi
b678471d65
Merge branch 'z13' into develop
Conflicts:
CONTRIBUTORS.md
9 years ago
Martin Kroeker
fa216717bf
Convert --exclude-libs argument to linker flag
Fixes build with TDM-GCC
9 years ago
Paul MUSTIÈRE
157ee498ac
Updated CROSS_SUFFIX regex to work with CC containing arguments
9 years ago
Shivraj Patil
9687437928
MIPS n32 ABI and build time mips simd support check
Signed-off-by: Shivraj Patil <shivraj.patil@imgtec.com>
9 years ago
Shivraj Patil
d1c6469283
MIPS n32 ABI support, MSA support detection and rename ARCH, ARCHFLAGS
Signed-off-by: Shivraj Patil <shivraj.patil@imgtec.com>
9 years ago
Shivraj Patil
22b9c2747d
P6600/I6400 Build fix. Reverted the changes which was done to support for MIPS n32 ABI
Signed-off-by: Shivraj Patil <shivraj.patil@imgtec.com>
9 years ago
Vicente Olivert Riera
7f28cd1f88
Complete support for MIPS n32 ABI
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
9 years ago
Zhang Xianyi
cd7af5260a
Merge pull request #847 from sva-img/develop
MIPS P5600(32 bit) and I6400(64 bit) cores support added.
10 years ago
buffer51
708dec5bb7
Use CROSS_SUFFIX only if CROSS is set
10 years ago
buffer51
20b0ed1da5
Fixed cross-suffix detection for path that contains dashes when the compiler itself doesn't
10 years ago
Shivraj Patil
2c3dfe2bf3
MIPS P5600(32 bit) and I6400(64 bit) cores support added.
Seperated mips and mips64 files.
Configurations support for mips 32 bit.
Signed-off-by: Shivraj Patil <shivraj.patil@imgtec.com>
10 years ago
Zhang Xianyi
dd43661cfd
Init IBM z system (s390x) porting.
10 years ago
Sébastien Villemot
41407acc19
Fix detection of POWER architecture in c_check.
This is necessary to avoid the false detection of a cross-compiling
environment.
10 years ago
Keno Fischer
e9493f69eb
Fix cross compilation suffix detection
If the path involves `-`, this would have otherwise detected this as a cross compile suffix.
10 years ago
Zhang Xianyi
a11555c715
Support Android NDK armeabi-v7a-hard ABI. (-mfloat-abi=hard)
e.g.
make HOSTCC=gcc CC=arm-linux-androideabi-gcc NO_LAPACK=1 TARGET=ARMV7
In Android NDK, it uses armeabi-v7a-hard ABI.
TARGET_CFLAGS += -mhard-float -D_NDK_MATH_NO_SOFTFP=1
TARGET_LDFLAGS += -Wl,--no-warn-mismatch -lm_hard
For more information, please check hard-float example at
android_ndk/tests/device/hard-float/jni/.
11 years ago
Sébastien Villemot
642aaba2e0
Fix detection of ARM architectures in c_check.
This is necessary to avoid the false detection of a cross-compiling environment.
11 years ago
Zhang Xianyi
e34911a73d
Fix compiling bug for ARM with setting BINARY.
11 years ago
Mike Nolta
271ceb8bae
c_check: set $hostarch to x86_64 instead of amd64
`uname -m` returns "amd64" on some systems.
11 years ago
Timothy Gu
6c2ead30f0
Remove all trailing whitespace except lapack-netlib
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
12 years ago
wernsaar
eab79631c3
modified c_check
12 years ago
Zhang Xianyi
6df39ad9e7
Refs #248 . Support LAPACK and LAPACKE with lsbcc.
For LAPACKE, use LAPACK_COMPLEX_STRUCTURE.
The reson is lsbcc didn't define complex I in complex.h.
13 years ago
Zhang Xianyi
960b0c88a7
Refs #227 . Detected LLVM/Clang compiler.
13 years ago
Zhang Xianyi
5d96e4f224
Refs #210 . Disable checking /lib/libpthread.so*.
13 years ago
Zaheer Chothia
5199809bba
Fix typo: OS_CYGWIN -> OS_CYGWIN_NT, OS_INERIX -> OS_INTERIX
14 years ago
Zaheer Chothia
a431042475
Fix inconsistent case for OS_* macros (Refs pull request #111 )
14 years ago
Zaheer Chothia
c8a5d4b86f
Refs #99 . c_check/f_check: strip quotes from detected flags
14 years ago
Xianyi Zhang
c30c22a76c
Fixed a bug about detecting underscore prefix in c_check.
15 years ago
Xianyi Zhang
342bbc3871
Import GotoBLAS2 1.13 BSD version codes.
15 years ago