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`.
2025-03-26 23:09:54 -04:00
Matthew Thompson
be19966d3b
Fixes for NAG CMake
2024-12-04 10:52:43 -05:00
Martin Kroeker
cea9df3643
Update Cray compiler options and calling convention
2024-11-13 14:56:30 -08:00
Martin Kroeker
4f00f02567
Do not add -mabi flags for Loongson when the compiler is flang
2024-10-03 16:06:33 +02:00
Martin Kroeker
d25ee4d0f5
Fix detection of Intel ifx and apply -fp-model option to it
2024-06-14 23:58:45 +02:00
Martin Kroeker
6494f432df
Fix INTERFACE64 builds on Loongarch64
2024-05-18 16:49:03 +02:00
Martin Kroeker
69aa93e34f
Fix Loongson compiler flag check
2024-04-23 21:57:42 +02:00
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
2024-03-22 17:02:39 +01:00
Martin Kroeker
8fc2c2db04
Fix missing support for INTERFACE64 on ARM64 and MIPS64
2024-02-22 22:14:13 +01:00
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.
2023-12-25 16:04:43 +08:00
Martin Kroeker
0e5d56ae4a
Merge pull request #4170 from felixonmars/patch-2
...
Fix 64-bit fortran options for riscv64
2023-08-12 09:21:05 +02:00
Markus Mützel
57256623f4
fc.cmake: Add support for LLVM Flang.
2023-08-05 13:16:06 +02:00
Felix Yan
f5506b002c
Add 64-bit flag on INTERFACE64 only
2023-07-28 16:19:14 +03:00
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)
2023-07-28 04:53:27 +03:00
Martin Kroeker
f8c8b22740
Add NVHPC(pgf95)
2023-06-09 18:58:52 +02:00
Martin Kroeker
f981e37dda
Treat f95 as gfortran
2023-06-05 20:34:31 +02:00
Martin Kroeker
afff3f5510
Fix typo that could clear EXTRALIB settings
2023-02-02 10:43:44 +01:00
Martin Kroeker
85fd3c4279
Support compilation with the Cray C and Fortran compilers ( #3712 )
...
* Add support for the Cray Fortran compiler
2022-08-04 20:42:18 +02:00
Markus Mützel
aeb561d234
Add support for Intel Fortran compilers.
...
Port changes from upstream Reference-LAPACK.
2022-03-25 13:37:15 +01:00
Markus Mützel
de2ed66596
cmake: Set SUFFIX64 also for NOFORTRAN
2021-11-15 08:53:52 +01:00
Martin Kroeker
af19cda65a
Add "recursive" option for IBM xlf compiler ( #3359 )
...
* Add correct "recursive" option for xlf (from reference-lapack issue 606)
2021-09-04 18:26:59 +02:00
gxw
0b8f7c8c10
Add cmake support for LOONGARCH64
2021-08-02 10:00:41 +08:00
Martin Kroeker
1dd712131e
Fix spelling of flang option -Mrecursive and add -Kieee
2020-06-14 00:09:31 +02:00
Martin Kroeker
3ce469a34f
Limit optimization level to O1 for flang and add -frecursive
2020-06-09 16:11:13 +02:00
Martin Kroeker
a05243d0f2
ifort and pgfort need "recursive" for compiling LAPACK as well
...
as shown in Reference-LAPACK issue 401 (their PR 403)
2020-04-01 15:38:07 +02:00
Martin Kroeker
6d54c94760
Make ifort on Windows create lowercase symbols with appended underscore
...
tentative fix for #2472
2020-03-20 01:08:10 +01:00
Martin Kroeker
e674e1c735
Update fc.cmake
2019-06-09 09:31:13 +02:00
Martin Kroeker
6ca898b63b
Add gfortran workaround for potential ABI violation
...
for #2154
2019-06-08 23:17:03 +02:00
Andrew
40cce0e353
handle cmake too
2018-11-06 09:45:49 +00:00
Yuri
2349e15149
Allow to install the 'interfare64' version concurrently with the regular version
2018-09-15 21:00:03 -07:00
xoviat
038bfbb86c
CMake: Remove unused wall option when FC=flang
2018-01-26 14:09:48 -06:00
Sacha Refshauge
47ebce4d1a
Clean up, fix old typos. Simplify arch usages. Move system arch check to earlier position.
2017-08-21 00:37:29 +10: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
Hank Anderson
64b5a0ef84
Added AUX files from lapack-netlib.
2015-02-10 14:29:05 -06:00
Hank Anderson
560c96a9a7
Fixed newlines in some cmake files.
2015-02-03 15:11:15 -06:00
Hank Anderson
0ccfa60a53
Changed fortran compiler name to be uppercase and stripped of path/ext.
2015-02-03 15:09:37 -06:00
Hank Anderson
30be551502
Corrected fortran compiler name variables.
...
Fixed some typos.
Updated c_check to set ARCH and BINARY64/32.
Added version variables.
2015-02-03 14:21:22 -06:00
Hank Anderson
e4bfbd8258
Added fc.cmake (forgot it in last commit).
...
Moved a couple C compiler ifs from Makefile.system into cc.cmake.
2015-02-03 13:08:59 -06:00