Martin Kroeker
5de5072940
Improve flang-new identification and add CI job for it on OSX-x86_64 ( #5103 )
* AzureCI: Add LLVM/flang-new build on OSX-x86_64
* distinguish classic flang from flang-new in name based recognition
8 months ago
Martin Kroeker
d26caff60c
Add another object signature for classic flang
1 year ago
Martin Kroeker
ec46ca7a43
Support Arm Compiler for Linux as classic flang ( #4436 )
* Support ArmCompilerforLinux as classic flang
1 year ago
Martin Kroeker
1a308a0066
Move OpenMP dependency handling for clang/gfortran combo
1 year ago
Rajalakshmi Srinivasaraghavan
a11e1e10f4
powerpc: Fix build errors with xlf
This patch fixes errors when using xlf as fortran compiler on Linux.
Tested with gcc/xlf and clang/xlf compiler combinations.
2 years ago
Martin Kroeker
4de963dc17
Enforce trailing underscores on symbols when IBM xlf is combined with gcc
2 years ago
Martin Kroeker
f2c9ae9c33
Identify the new generation of flang that comes with LLVM17
2 years ago
Martin Kroeker
280c8469d4
Fix detection of Cray CCE after detection changes for gfortran on Cray
CCE15 no longer produces a .ident line, so look for HPE name in a note section as well
2 years ago
Glenn Johnson
59e26f6336
Patch for Intel Fortran compiler
This PR patches the f_check scripts to detect the ifort compiler. With
out this, the value of F_COMPILER is G77 which causes the link phase to
use icc rather than ifort, resulting in missing libifcore.
2 years ago
Martin Kroeker
5e78493d95
Move Cray case after GNU as Cray builds of gfortran have both names in the version string
3 years ago
Martin Kroeker
85fd3c4279
Support compilation with the Cray C and Fortran compilers ( #3712 )
* Add support for the Cray Fortran compiler
3 years ago
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.
3 years ago
Martin Kroeker
19413624d0
Add Intel ifx compiler
3 years ago
Owen Rafferty
42c7a27e6b
rewrite perl scripts in universal shell
3 years ago
Martin Kroeker
0e04710099
filter out libflangmain as well
3 years ago
Martin Kroeker
bda8820da7
Use percent instead of ampersand as placeholder for substitutions
4 years ago
Martin Kroeker
0b8a436af9
Add mixed clang/ifort build on OSX to Azure CI ( #3185 )
* Add mixed clang/ifort build on OSX to the Azure CI config based on https://github.com/oneapi-src/oneapi-ci
(and remove debugging tools from the clang+gfortran job)
* Remove extraneous libgfortran dependency of ifort builds
* remove FEXTRALIB from link line of shared library as ifort keeps track of dependencies (and they are different for a .dylib than what f_check got for an executable)
4 years ago
Martin Kroeker
697e64bbb6
Fix syntax
4 years ago
Martin Kroeker
3c356b1a1f
Support compilation with the NAG Fortran compiler
4 years ago
Martin Kroeker
2d369bd916
fix undefined CC variable
4 years ago
Harmen Stoppels
ec6b354c32
use /usr/bin/env perl
4 years ago
Martin Kroeker
ece3ce581e
Strip parenthesized (pkgversion) data from GCC version string to avoid misinterpretation
4 years ago
Martin Kroeker
b859b6e79d
Add nvfortran
4 years ago
Martin Kroeker
b03dc011be
Fix undefined CC variable in clang check
4 years ago
Martin Kroeker
a1eecccda2
Update f_check
4 years ago
Martin Kroeker
da0c94c76f
Avoid linking both GNU libgomp and LLVM libomp in clang/gfortran builds
4 years ago
Gilles Gouaillardet
358100ec15
add Fujitsu compilers
Co-authored-by: Tomoki Karatsu <karatsu.spack@gmail.com>
4 years ago
User User-User
9fab65e90a
add openbsd gfortran
4 years ago
Martin Kroeker
746ad3bd19
Fix vendor match for GCC gfortran
5 years ago
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