Martin Kroeker
4afd11dae5
Add a check for C11 atomics and stdatomic.h
2020-07-18 16:57:41 +00:00
Martin Kroeker
3446e58daf
Fix handling of uname output on AIX
2020-06-25 12:31:35 +02:00
Martin Kroeker
3d5e159e7a
Ignore spurious all-numeric library names derived from mishandled jobserver flags
2020-05-17 15:26:57 +02:00
Isuru Fernando
4326dcb460
Pass CFLAGS from env to Makefile.prebuild and remove iOS hack
2020-02-16 15:13:01 -06:00
gxw
754433f420
Avoid printing the following information on mips and mips64 when check msa:
...
"unrecognized command line option ‘-mmsa’"
2020-02-10 19:11:45 +08:00
Martin Kroeker
d55b10830f
Remove OpenMP libraries from link list
2020-02-07 16:02:17 +01:00
Martin Kroeker
9694037b23
Set SUFFIX in tempfile commands, fix bad architecture option for PGI compiler in avx512 test
2020-02-07 10:09:25 +01:00
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
2019-10-08 20:13:14 +02:00
Michael Lass
9cdc828afa
c_check: Unlink correct file
2019-06-05 17:31:01 +02:00
Martin Kroeker
918a0cc4d1
Fix missing -c option in AVX512 test
2019-02-25 17:55:36 +01:00
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
2019-02-05 20:06:34 +01:00
Martin Kroeker
591cca7cb0
Check availability of immintrin.h in the AVX512 compatibility test
2018-10-04 07:35:30 +02:00
Martin Kroeker
5bac15adbd
Merge pull request #1746 from martin-frbg/issue1674
...
Assume cross-compilation if host and target os differ
2018-08-30 17:48:07 +02:00
Martin Kroeker
e17f969fa0
Assume cross-compilation if host and target os differ
...
fixes 1674
2018-08-30 13:28:46 +02:00
Zoltán Mizsei
6463bffd59
Haiku supporting patches
2018-08-02 20:49:14 +02:00
Martin Kroeker
f5243e8e1f
Add compiler option to avx512 test and hide test output
2018-06-30 23:47:44 +02:00
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
2018-06-06 16:49:00 +02:00
Martin Kroeker
83fec56a3f
Disable AVX512 (Skylake X) support if the build system is too old
2018-06-04 00:01:11 +02:00
Alex Arslan
a41d241a0e
Add support for DragonFly BSD
2018-04-03 16:39:29 -07:00
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.
2018-04-02 10:48:22 -07:00
Zhang Xianyi
b678471d65
Merge branch 'z13' into develop
...
Conflicts:
CONTRIBUTORS.md
2017-01-09 05:52:42 -05:00
Martin Kroeker
fa216717bf
Convert --exclude-libs argument to linker flag
...
Fixes build with TDM-GCC
2016-11-22 09:14:55 +01:00
Paul MUSTIÈRE
157ee498ac
Updated CROSS_SUFFIX regex to work with CC containing arguments
2016-09-14 11:42:22 -07:00
Shivraj Patil
9687437928
MIPS n32 ABI and build time mips simd support check
...
Signed-off-by: Shivraj Patil <shivraj.patil@imgtec.com>
2016-08-10 17:44:22 +05:30
Shivraj Patil
d1c6469283
MIPS n32 ABI support, MSA support detection and rename ARCH, ARCHFLAGS
...
Signed-off-by: Shivraj Patil <shivraj.patil@imgtec.com>
2016-08-08 11:58:01 +05:30
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>
2016-07-22 18:45:06 +05:30
Vicente Olivert Riera
7f28cd1f88
Complete support for MIPS n32 ABI
...
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
2016-07-14 17:51:04 +01:00
Zhang Xianyi
cd7af5260a
Merge pull request #847 from sva-img/develop
...
MIPS P5600(32 bit) and I6400(64 bit) cores support added.
2016-04-29 11:44:36 -04:00
buffer51
708dec5bb7
Use CROSS_SUFFIX only if CROSS is set
2016-04-27 22:23:02 -07:00
buffer51
20b0ed1da5
Fixed cross-suffix detection for path that contains dashes when the compiler itself doesn't
2016-04-27 12:09:44 -07:00
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>
2016-04-22 14:03:18 +05:30
Zhang Xianyi
dd43661cfd
Init IBM z system (s390x) porting.
2016-04-15 18:02:24 -04:00
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.
2015-11-09 18:36:04 +01:00
Keno Fischer
e9493f69eb
Fix cross compilation suffix detection
...
If the path involves `-`, this would have otherwise detected this as a cross compile suffix.
2015-10-05 00:58:07 -04:00
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/.
2015-05-20 21:57:27 -05:00
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.
2015-04-29 18:14:21 +02:00
Zhang Xianyi
e34911a73d
Fix compiling bug for ARM with setting BINARY.
2015-03-24 17:15:33 +00:00
Mike Nolta
271ceb8bae
c_check: set $hostarch to x86_64 instead of amd64
...
`uname -m` returns "amd64" on some systems.
2014-12-02 21:23:23 -05:00
Timothy Gu
6c2ead30f0
Remove all trailing whitespace except lapack-netlib
...
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
2014-06-27 12:05:18 -07:00
wernsaar
eab79631c3
modified c_check
2013-12-01 17:35:18 +01:00
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.
2013-07-10 16:02:27 +08:00
Zhang Xianyi
960b0c88a7
Refs #227 . Detected LLVM/Clang compiler.
2013-06-06 23:43:40 +08:00
Zhang Xianyi
5d96e4f224
Refs #210 . Disable checking /lib/libpthread.so*.
2013-04-27 15:02:04 +08:00
Zaheer Chothia
5199809bba
Fix typo: OS_CYGWIN -> OS_CYGWIN_NT, OS_INERIX -> OS_INTERIX
2012-05-23 00:23:25 +02:00
Zaheer Chothia
a431042475
Fix inconsistent case for OS_* macros (Refs pull request #111 )
2012-05-23 00:01:14 +02:00
Zaheer Chothia
c8a5d4b86f
Refs #99 . c_check/f_check: strip quotes from detected flags
2012-04-27 10:21:48 +08:00
Xianyi Zhang
c30c22a76c
Fixed a bug about detecting underscore prefix in c_check.
2011-05-27 18:16:19 +08:00
Xianyi Zhang
342bbc3871
Import GotoBLAS2 1.13 BSD version codes.
2011-01-24 14:54:24 +00:00