Wileam Phan
9ae154ba89
Patch for building on Summit
5 years ago
Martin Kroeker
86552bf4c7
Update f_check
5 years ago
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
5 years ago
Martin Kroeker
55602fce56
Ignore spurious all-numeric library names derived from mishandled jobserver flags
5 years ago
Martin Kroeker
cfe63d8cc2
Remove OpenMP libraries from link list
5 years ago
Martin Kroeker
b28db31429
Support two-digit version numbers in gcc version check
fixes #2336 (non-recognition of gcc 10) with patch provided by JeffreyALaw.
5 years ago
Martin Kroeker
aeabe0a83f
Fix regex to parse -R options with and without whitespace
Both forms are seen on NetBSD (#2288 )
6 years ago
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
6 years ago
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`
6 years ago
François Bissey
0184713e1a
Correct link flags for PGI compiler.
6 years ago
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
7 years ago
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
8 years ago
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
8 years ago
Paul Osmialowski
42bbe74791
build: LLVM: Add Flang compiler support and enable OpenMP for Clang
Signed-off-by: Paul Osmialowski <pawel.osmialowski@arm.com>
8 years ago
Martin Kroeker
e7732d9941
Convert --exclude-libs argument to linker flag
Fixes build with TDM-GCC
8 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
Zhang Xianyi
9e44f3ddd0
Refs #917 Avoid detecting gfortran bug on IBM POWER + Ubuntu
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
Shivraj Patil
573d9218f2
build fix for MIPS 32 bit
Signed-off-by: Shivraj Patil <shivraj.patil@imgtec.com>
9 years ago
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
9 years ago
Zhang Xianyi
6d40fa587f
Fix f_check bug.
10 years ago
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).
10 years ago
Zhang Xianyi
6743beb748
Refs #565 . Fix the bug of generate FEXTRALIB.
10 years ago
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
```
10 years ago
Timothy Gu
6c2ead30f0
Remove all trailing whitespace except lapack-netlib
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
11 years ago
Zhang Xianyi
a07cc39571
Refs #266 . Fixed the compiling bug with Open64 5.0.
12 years ago
Zhang Xianyi
d4f9571818
Refs #255 . Didn't use f77 compiler.
12 years ago
Zhang Xianyi
1d72b8bf1b
Fixed generating shared library bug on MIPS.
13 years ago
Zaheer Chothia
44124d3055
Fix Fortran compiler detection
- Test with '-x' operator to ensure file is executable.
- 'break' is not a valid Perl keyword.
13 years ago
Zaheer Chothia
c8a5d4b86f
Refs #99 . c_check/f_check: strip quotes from detected flags
13 years ago
Xianyi Zhang
0a696bd4ce
Improved the makefile for Intel compiler.
13 years ago
Xianyi Zhang
7dcf4eeee7
Fixed #23 . Fixed a bug of f_check script about generating link flags.
14 years ago
Xianyi Zhang
342bbc3871
Import GotoBLAS2 1.13 BSD version codes.
14 years ago