Martin Kroeker
746ad3bd19
Fix vendor match for GCC gfortran
2020-09-13 18:40:59 +02:00
Wileam Phan
9ae154ba89
Patch for building on Summit
2020-07-20 23:30:28 -04:00
Martin Kroeker
86552bf4c7
Update f_check
2020-05-31 15:22:12 +02:00
Martin Kroeker
200296b0f4
remove libomp from link list only for pgfortran
...
at least the AMD (aocc) flavor of flang wants to link to a (real or dummy) libomp by default
2020-05-29 13:23:51 +02:00
Martin Kroeker
55602fce56
Ignore spurious all-numeric library names derived from mishandled jobserver flags
2020-05-17 15:28:14 +02:00
Martin Kroeker
cfe63d8cc2
Remove OpenMP libraries from link list
2020-02-07 16:03:51 +01:00
Martin Kroeker
b28db31429
Support two-digit version numbers in gcc version check
...
fixes #2336 (non-recognition of gcc 10) with patch provided by JeffreyALaw.
2019-12-06 21:23:56 +01:00
Martin Kroeker
aeabe0a83f
Fix regex to parse -R options with and without whitespace
...
Both forms are seen on NetBSD (#2288 )
2019-10-25 22:52:30 +02:00
Martin Kroeker
911c3e2f4b
Improve support for g95 and non-GNU ld
...
Auto-add "-fno-second-underscore" option to make LAPACKE compile (as it calls LAPACK functions that may have gotten a second underscore added otherwise). Also support -R for rpath when parsing compiler directives in f_check
2019-10-24 22:43:27 +02:00
luz.paz
daf2fec12d
Misc. typo fixes
...
Found via `codespell -q 3 -w -L ith,als,dum,nd,amin,nto,wis,ba -S ./relapack,./kernel,./lapack-netlib`
2019-04-29 17:03:56 -04:00
François Bissey
0184713e1a
Correct link flags for PGI compiler.
2018-11-21 14:24:56 +13:00
Martin Kroeker
d2b9389f1b
Fixes for ifort 2018
...
1. the already deprecated -openmp option was removed in 2018, switch to -fopenmp
2. add leading blank in search for "zho_ge__" symbol to work around misleading tags in the 2018 assembly
Expected to fix #1548
2018-05-08 21:55:37 +02:00
Martin Kroeker
3810a6fd99
(Plain make) build system fixes for AIX
...
- retry fortran compiler test with aix-specific option if generic -m32/-m64 fails
- pass any custom ARFLAGS to lapack
- no addition of -m32/-m64 to the CFLAGS and FFLAGS on AIX
2017-09-18 01:29:21 +02:00
Christoph Conrads
da611dd81a
ARM: recognize gfortran pre-releases
...
Without proper recognition of gfortran versions such as
> GNU Fortran (GCC) 4.9.x 20150123 (prerelease)
OpenBLAS assumes the presence of the G77 compiler. Consequently,
`-lgfortran` is missing from the pkg-config file.
The aforementioned compiler is the gfortran compiler in the Android repo
in a commit tagged as `ndk-r14`, cf. Paul Mustière's gfortran build
instructions for Android at https://github.com/buffer51/android-gfortran
2017-08-10 11:48:29 -04:00
Paul Osmialowski
42bbe74791
build: LLVM: Add Flang compiler support and enable OpenMP for Clang
...
Signed-off-by: Paul Osmialowski <pawel.osmialowski@arm.com>
2017-05-25 17:03:20 +01:00
Martin Kroeker
e7732d9941
Convert --exclude-libs argument to linker flag
...
Fixes build with TDM-GCC
2016-11-22 09:17:03 +01:00
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
Zhang Xianyi
9e44f3ddd0
Refs #917 Avoid detecting gfortran bug on IBM POWER + Ubuntu
2016-07-14 13:09:36 -07:00
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
Shivraj Patil
573d9218f2
build fix for MIPS 32 bit
...
Signed-off-by: Shivraj Patil <shivraj.patil@imgtec.com>
2016-05-09 14:45:12 +05:30
Lauri Tirkkonen
d6afac9624
don't pass -Y at all to the linker on illumos
...
the illumos linker can't understand the "-Y/lib"... form that f_check
generates, and -Wl cannot pass options that include commas
2016-01-25 11:09:34 +02:00
Zhang Xianyi
6d40fa587f
Fix f_check bug.
2015-05-19 12:04:45 -05:00
Zhang Xianyi
e127fb8fd8
1) Refs #575 . Remove g77 from compiler list.
...
2) If OpenBLAS cannot find Fortran compiler, it will only build BLAS
(without LAPACK).
2015-05-19 00:01:04 -05:00
Zhang Xianyi
6743beb748
Refs #565 . Fix the bug of generate FEXTRALIB.
2015-05-07 13:06:53 +08:00
Mike Nolta
5f846be2e4
fix fortran compiler detection on FreeBSD
...
On FreeBSD, passing extra options to `which` causes it to report a non-zero status:
```
$ which gfortran48 -m64
/usr/local/bin/gfortran48
$ echo $?
1
```
```
$ which gfortran48
/usr/local/bin/gfortran48
$ echo $?
0
```
2014-12-02 20:47:40 -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
Zhang Xianyi
a07cc39571
Refs #266 . Fixed the compiling bug with Open64 5.0.
2013-07-31 14:41:39 +08:00
Zhang Xianyi
d4f9571818
Refs #255 . Didn't use f77 compiler.
2013-07-22 11:34:43 +08:00
Zhang Xianyi
1d72b8bf1b
Fixed generating shared library bug on MIPS.
2012-09-21 11:49:07 +00:00
Zaheer Chothia
44124d3055
Fix Fortran compiler detection
...
- Test with '-x' operator to ensure file is executable.
- 'break' is not a valid Perl keyword.
2012-05-20 18:11:34 +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
0a696bd4ce
Improved the makefile for Intel compiler.
2012-02-20 23:36:58 +08:00
Xianyi Zhang
7dcf4eeee7
Fixed #23 . Fixed a bug of f_check script about generating link flags.
2011-05-04 13:03:10 +08:00
Xianyi Zhang
342bbc3871
Import GotoBLAS2 1.13 BSD version codes.
2011-01-24 14:54:24 +00:00