88 Commits

Author SHA1 Message Date
Martin Kroeker
175008caf8 harden against a dashed suffix to the gcc version number 2024-07-27 19:08:02 +02:00
gxw
7cd438a5ac loongarch64: Fixed clang compilation issues 2024-04-23 19:19:11 +08:00
Dirreke
ec89466e14 Add CSKY support 2024-01-16 23:45:06 +08:00
Martin Kroeker
1dada6d65d Add compiler test and flag for AVX512BF16 capability 2024-01-12 00:10:56 +01:00
Shiyou Yin
1310a0931b loongarch: Refine build control for loongarch64.
1. Use getauxval instead of cpucfg to test hardware capability.
2. Remove unnecessary code and option for compiler check in c_check.
2023-11-28 20:23:55 +08:00
Rajalakshmi Srinivasaraghavan
db0805906b powerpc: Fix build errors with Open XL C
This patch fixes errors when using Open XL C compiler on AIX.
Tested with gcc/xlf and ibm-clang/xlf compiler combinations.
2023-10-04 14:04:03 -05:00
Martin Kroeker
e9f1b2d26f Expand the SVE compatibility check for the NVIDIA HPC compiler 2023-08-25 16:45:56 +02:00
gxw
d46772e037 LoongArch64: Add compiler feature checks 2023-08-05 10:21:43 +08:00
Martin Kroeker
655058dd21 fix spurious compiler error and more extraneous quotes 2023-06-19 14:58:35 +02:00
Martin Kroeker
ff618ac475 Rework removal of compiler options 2023-06-13 19:16:06 +02:00
Martin Kroeker
b1f6d90a11 Drop extraneous escaping in the basename call 2023-06-03 23:21:39 +02:00
Kirill A. Korinsky
b1781ad338 Do not requires GNU mktemp
Historically the GNU mktemp was the first one which doesn't requires
`-t` to create a directory.

Here I've introduced a fallback when `-t` is required.

For example MacPorts contains similar patch: bbe8abfe26/math/OpenBLAS/files/patch-MacOSX-mktemp.diff
2023-04-29 11:13:26 +02:00
Martin Kroeker
479509bb37 Remove any stray trailing dash from CROSS_SUFFIX (as would result from clang -arch) 2023-04-17 21:57:25 +02:00
Martin Kroeker
970e611e00 fix missing blank in test 2023-04-14 19:42:34 +02:00
Martin Kroeker
3effdc1505 Protect CROSS_PATH against spurious addition of linebreaks from isolated dashes
fix for #3989
2023-04-07 19:32:22 +02:00
Martin Kroeker
31fd13d048 MIPS: make HAVE_MSA reflect cpu capability and NO_MSA software/env 2023-01-02 22:19:13 +01:00
Martin Kroeker
f07f4db1ce On ARM64, check for SVE support 2022-12-25 12:12:38 +01:00
Jiaxun Yang
aaaecdbf19 Allow CC to contain space
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
2022-08-11 15:01:30 +01:00
Martin Kroeker
cf37182260 Add Fujitsu compiler (fcc) 2022-07-25 19:39:17 +02:00
Martin Kroeker
79d98327e4 Fix quotes around compiler args in C11 check 2022-06-08 11:22:20 +02:00
Rajalakshmi Srinivasaraghavan
c98d63b637 power10: Fix build issues due to perl scripts conversion
Due to recent perl script conversion, there are some build
errors when compiling openblas with advance toolchain compilers.
2022-06-02 08:11:10 -05:00
Owen Rafferty
42c7a27e6b rewrite perl scripts in universal shell 2022-05-18 19:00:15 -05:00
Martin Kroeker
d328636e58 Add compiler check for RISCV vector support 2022-05-03 23:27:50 +02:00
Martin Kroeker
09b8545fc5 Add initial support for M1 on Linux, Phytium FT2xxx series, ARM Cortex 510/710/X1/X2 2022-03-27 15:24:40 +02:00
Martin Kroeker
c87a4dbf35 Fix checks for AVX512 and atomics 2022-03-23 15:48:58 +01:00
Martin Kroeker
1937b4e435 Add Elbrus e2k architecture detection 2022-01-22 18:27:38 +01:00
gxw
af0a69f355 Add support for LOONGARCH64 2021-07-27 15:29:12 +08:00
Harmen Stoppels
ec6b354c32 use /usr/bin/env perl 2021-02-24 14:07:20 +01:00
Martin Kroeker
00ce35336e Fix spurious removal of a trailing character from the hostarch string on x86_64 2020-12-13 21:28:01 +01:00
gxw
d67babf345 Remove gcc unrecognized option '-msched-weight' when check msa 2020-12-08 19:16:39 +08:00
Martin Kroeker
da6d5d675c Fix hostarch detection for sparc 2020-12-06 19:07:45 +01:00
Martin Kroeker
f662022994 Move the version check to avoid overwriting unprocessed compiler data 2020-11-30 17:24:27 +01:00
Martin Kroeker
2e99e2699b Add workaround for gcc 4.6 miscompiling assembly kernels with -mavx 2020-11-29 15:32:17 +01:00
Zhang Xianyi
d7ba7679b6 Merge branch 'develop' into risc-v 2020-10-16 23:27:38 +08:00
Martin Kroeker
e4900caa11 Fix c_check misinterpreting arm64 in uname output to mean armv7
additionla fix for upcoming OSX on ARM64 related to #2804, as suggested by fxcoudert in #2805
2020-09-01 19:54:08 +02:00
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
Xianyi Zhang
4aa2d89217 Merge branch 'develop' into risc-v 2020-02-27 13:53:49 +08: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
Dumi Loghin
a1bdc308b8 override ARCH (archiver) in lapack-netlib/make.inc 2018-09-06 13:13:36 +08:00
Dumi Loghin
0b7ccb9e38 Revert "replace ARCH with AR in lapack-netlib"
This reverts commit db17ce896f.
2018-09-06 13:08:30 +08:00