Ruiyang Wu
02fd1df10b
CMake: Pass `OpenMP` compiler and linker flags through CMake targets
Using `OpenMP::OpenMP_LANG` targets for CMake is less error-prone than
passing the compiler and linker flags manually. Furthermore, it allows
the user to customize those flags by setting `OpenMP_LANG_FLAGS`,
`OpenMP_LANG_LIB_NAMES`, and `OpenMP_omp_LIBRARY`.
10 months ago
Matthew Thompson
be19966d3b
Fixes for NAG CMake
1 year ago
Martin Kroeker
cea9df3643
Update Cray compiler options and calling convention
1 year ago
Martin Kroeker
4f00f02567
Do not add -mabi flags for Loongson when the compiler is flang
1 year ago
Martin Kroeker
d25ee4d0f5
Fix detection of Intel ifx and apply -fp-model option to it
1 year ago
Martin Kroeker
6494f432df
Fix INTERFACE64 builds on Loongarch64
1 year ago
Martin Kroeker
69aa93e34f
Fix Loongson compiler flag check
1 year ago
Martin Kroeker
52b71a1673
Filter out FFLAGS that flang-new from LLVM18 no longer supports ( #4569 )
* Filter out FFLAGS that flang-new from LLVM18 no longer supports
1 year ago
Martin Kroeker
8fc2c2db04
Fix missing support for INTERFACE64 on ARM64 and MIPS64
1 year ago
Wu Xiaotian
0baf462dbc
Fix: build failed on LoongArch
According to the documentation at https://github.com/loongson/la-abi-specs/blob/release/lapcs.adoc#the-base-abi-variants , valid -mabi parameters are lp64s, lp64f, lp64d, ilp32s, ilp32f and ilp32d.
2 years ago
Martin Kroeker
0e5d56ae4a
Merge pull request #4170 from felixonmars/patch-2
Fix 64-bit fortran options for riscv64
2 years ago
Markus Mützel
57256623f4
fc.cmake: Add support for LLVM Flang.
2 years ago
Felix Yan
f5506b002c
Add 64-bit flag on INTERFACE64 only
2 years ago
Felix Yan
4ed6414c17
Fix 64-bit fortran options for riscv64
64-bit builds are currently broken without this flag.
Makefiles have done this already: 5720fa02c5/Makefile.system (L831)
2 years ago
Martin Kroeker
f8c8b22740
Add NVHPC(pgf95)
2 years ago
Martin Kroeker
f981e37dda
Treat f95 as gfortran
2 years ago
Martin Kroeker
afff3f5510
Fix typo that could clear EXTRALIB settings
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
Markus Mützel
aeb561d234
Add support for Intel Fortran compilers.
Port changes from upstream Reference-LAPACK.
3 years ago
Markus Mützel
de2ed66596
cmake: Set SUFFIX64 also for NOFORTRAN
4 years ago
Martin Kroeker
af19cda65a
Add "recursive" option for IBM xlf compiler ( #3359 )
* Add correct "recursive" option for xlf (from reference-lapack issue 606)
4 years ago
gxw
0b8f7c8c10
Add cmake support for LOONGARCH64
4 years ago
Martin Kroeker
1dd712131e
Fix spelling of flang option -Mrecursive and add -Kieee
5 years ago
Martin Kroeker
3ce469a34f
Limit optimization level to O1 for flang and add -frecursive
5 years ago
Martin Kroeker
a05243d0f2
ifort and pgfort need "recursive" for compiling LAPACK as well
as shown in Reference-LAPACK issue 401 (their PR 403)
5 years ago
Martin Kroeker
6d54c94760
Make ifort on Windows create lowercase symbols with appended underscore
tentative fix for #2472
5 years ago
Martin Kroeker
e674e1c735
Update fc.cmake
6 years ago
Martin Kroeker
6ca898b63b
Add gfortran workaround for potential ABI violation
for #2154
6 years ago
Andrew
40cce0e353
handle cmake too
7 years ago
Yuri
2349e15149
Allow to install the 'interfare64' version concurrently with the regular version
7 years ago
xoviat
038bfbb86c
CMake: Remove unused wall option when FC=flang
8 years ago
Sacha Refshauge
47ebce4d1a
Clean up, fix old typos. Simplify arch usages. Move system arch check to earlier position.
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
Hank Anderson
64b5a0ef84
Added AUX files from lapack-netlib.
11 years ago
Hank Anderson
560c96a9a7
Fixed newlines in some cmake files.
11 years ago
Hank Anderson
0ccfa60a53
Changed fortran compiler name to be uppercase and stripped of path/ext.
11 years ago
Hank Anderson
30be551502
Corrected fortran compiler name variables.
Fixed some typos.
Updated c_check to set ARCH and BINARY64/32.
Added version variables.
11 years ago
Hank Anderson
e4bfbd8258
Added fc.cmake (forgot it in last commit).
Moved a couple C compiler ifs from Makefile.system into cc.cmake.
11 years ago