Martin Kroeker
47b03fd4b4
Copy XCode15-specific workaround to Fortran flags to fix build of tests
1 year ago
Martin Kroeker
9c3c1cfbd6
Merge pull request #4304 from martin-frbg/issue4277
Move clang/gfortran OpenMP dependency rewriting out of f_check
1 year ago
Martin Kroeker
1a308a0066
Move OpenMP dependency handling for clang/gfortran combo
1 year ago
Chip Kerchner
206e76187e
Fix FCOMMON_OPT for power. Error out for certain C and Fortran compiler combos in AIX.
1 year ago
Rajalakshmi Srinivasaraghavan
980f702f72
POWER: AIX: Make use of power10 optimization
POWER10 optimizations are disabled when using default AIX assembler.
As we have fixed many issues recently, enabling optimization path
for default assembler.
1 year ago
Martin Kroeker
b41cab0875
Need to use override to actually strip down the already defined FFLAGS for NAG and CCE Fortran
1 year ago
Martin Kroeker
103d6f4e42
Require "classic ld" with XCODE 15.x on Mac
2 years 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
bb47183222
Force -qextname for trailing underscore generation when IBM xlf is used with gcc
2 years ago
Martin Kroeker
09911f077e
Disable SVE targets for DYNAMIC_ARCH when compiling with (homebrew)gcc on macOS/arm64
2 years ago
Ian McInerney
8a8a8479be
Fix cooperlake and sapphire rapids march flags on clang
The march=cooperlake and march=sapphirerapids flags were never getting
added when building with Clang targetting those architectures. Instead
it was falling back to the skylake AVX512 implementation.
Clang added support for these two architectures in Clang 9 and Clang 12,
so introduce new checks for those versions to enable the appropriate
march flag, and fallback to skylake otherwise.
2 years ago
gxw
d46772e037
LoongArch64: Add compiler feature checks
2 years ago
Martin Kroeker
e8bc8a0ee7
Add support for the new generation flang that comes with LLVM17
2 years ago
Chris Sidebottom
f971ef55f2
Add ARMV8SVE to AArch64 Dynamic Dispatch
In order to enable support for future cores which have similar tunings
(in this case I'm doing this for the Arm(R) Neoverse(TM) V2 core), this generically detects SVE support and enables it. This should better manage the size and complexity of dynamic dispatch rather than just copy pasting the same parameters.
To make `ARMV8SVE` more representive of the common 128-bit SVE case,
I've split it and similar parameters from A64FX which has the wider
512-bit SVE.
2 years ago
Martin Kroeker
c3a2d407a0
Merge pull request #4048 from imzhuhl/spr_sbgemm_fix
Sapphire Rapids sbgemm fix
2 years ago
gxw
67d1e72e8b
LoongArch64: Add ABI detection for loongarch64
If lp64d ABI is supported, it is used; otherwise,
it falls back to the lp64 ABI.
2 years ago
Honglin Zhu
0b83088887
spr dynamic arch support
2 years ago
Martin Kroeker
ebe50458f3
Do not add a -tp to the flags of the nvc compiler if there is one already in CFLAGS
2 years ago
Martin Kroeker
3e64fa72c4
Settings from Makefile(_kernel).conf should be available to DYNAMIC_ARCH kernel builds
2 years ago
Martin Kroeker
ca3b5ae3f0
Pass NO_SVE if set
2 years ago
Martin Kroeker
d16261fbc6
SVE-enabled targets in ARM64 DYNAMIC_ARCH require a recent compiler
2 years ago
Martin Kroeker
57151b97aa
Fix INTERFACE64 builds on riscv and loongarch
2 years ago
Martin Kroeker
62341ac5e1
Fix missing parenthesis
2 years ago
Martin Kroeker
5a294b0c8a
Add -lm on any arm/arm64 BSD, not just FreeBSD
2 years ago
Martin Kroeker
ea6c5f3cf5
Add option RELAPACK_REPLACE
2 years ago
Martin Kroeker
bd30120ba7
Merge pull request #3720 from FlyGoat/mips64
Make it work on general MIPS64 processors
3 years ago
Jiaxun Yang
fae9368f14
Implement DYNAMIC_LIST for MIPS64
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
3 years ago
Jiaxun Yang
a50b29c540
Provide a fallback MIPS64_GENERIC target
It is really dangerous to fallback to Loongson core on other
MIPS64 processors.
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
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
Martin Kroeker
d0ba257de0
Merge pull request #3704 from XiWeiGu/loongarch64_dynamic_arch
LoongArch64: Add DYNAMIC_ARCH support
3 years ago
Rajalakshmi Srinivasaraghavan
1d97405c02
POWER: Enable bfloat16 kernels by default
This patch enables bfloat16 kernels by default for POWER processors.
Tested on Linux POWER8, POWER9, POWER10 and AIX POWER10 systems.
3 years ago
gxw
fbfe1daf6e
LoongArch64: Add DYNAMIC_ARCH support
3 years ago
gxw
3573306a69
LoongArch64: Add core LOONGSON2K1000 and LOONGSONGENERIC
3 years ago
Martin Kroeker
407a1a242c
Merge pull request #3670 from martin-frbg/osxvermin
Increase MACOSX_DEPLOYMENT_TARGET to 11 on ARM macs
3 years ago
Martin Kroeker
be5500e704
Merge pull request #3669 from VFerrari/fix_small_matrix_kernel
POWER: fix issues with the small matrix kernel
3 years ago
Martin Kroeker
914c4d0fe8
Add C versions of the CBLAS test sources ( #3656 )
* Add C conversions of the CBLAS tests for NOFORTRAN=1 builds
* Enable CTEST without Fortran and fix passing of BUILD_vartype options to exports/gensymbol
3 years ago
Martin Kroeker
2857987ff6
Increase MACOSX_DEPLOYMENT_TARGET to 11 on ARM macs
3 years ago
VFerrari
2062280c6f
Power: Enable SMALL_MATRIX OPT as default for dynamic arch
3 years ago
Martin Kroeker
8f13ab94d2
Merge pull request #3613 from Rabenda/fix-riscv
Fix riscv64 detect
3 years ago
Martin Kroeker
24e99eca31
Avoid adding -lgfortran with NOFORTRAN
3 years ago
Han Gao
3fc52ebcfb
Fix other arch build in detect.
When CORE is empty, use -march=loongson3a. Fix it.
Signed-off-by: Han Gao <gaohan@uniontech.com>
3 years ago
Niyas Sait
3f5d145cd4
build: minor fixes to build on windows with make
This patch contains following fixes
1. Fix to build without PIC flag
2. Define LAPACK_COMPLEX_STRUCTURE for windows. Builds are failing
without it and changes are consistent with the CMake rules defined
in system.cmake (line 576)
3 years ago
Martin Kroeker
b7873605d4
Use f2c translations of LAPACK when no Fortran compiler is available ( #3539 )
* Add C equivalents of the Fortran routines from Reference-LAPACK as fallbacks, and C_LAPACK variable to trigger their use
3 years ago
Martin Kroeker
499ae5e8f7
Merge pull request #3510 from martin-frbg/issue3505
Fix recent SkylakeX/DYNAMIC_ARCH DGEMM breakage
3 years ago
Martin Kroeker
f1ac59f200
Forward DYNAMIC_ARCH option to Makefile.prebuild
3 years ago
Sunita Nadampalli
19c8f615dc
OpenBLAS: aarch64: Add neoverse-v1/n2 architecture specifics
3 years ago
Martin Kroeker
ed430cd963
Update -tp option for recent nvfortran on x86_64
3 years ago
kavanabhat
eee3381cbe
Fallback for Power kernels
3 years ago
Martin Kroeker
54d321d742
Merge pull request #3466 from rafaelcfsousa/rafael/small_matrix_p10
[POWER] Add small matrix for sgemm/dgemm on Power10
3 years ago
kavanabhat
9a45b5123f
Update Makefile.system
3 years ago