Mark Olesen
78dc8c6ba6
CONFIG: refactor common link rules, support FOAM_EXTRA_CFLAGS ( #1256 )
...
- additional cgal-headers-only rules (future use)
COMP: add -lgmp for CGAL with mpfr linkage
2020-05-06 13:10:30 +02:00
Mark Olesen
739bc3c4af
COMP: add -pthread compile/link dependency for std::thread ( #614 )
2020-02-07 11:06:06 +01:00
Mark Olesen
d4a0dc631c
CONFIG: relax requirement on C compile option
...
- with 1906, OpenFOAM is purely C++ code and the last toolchain bits C
code have been avoided. Thus relax the wmake C rule for including
WM_COMPILE_OPTION. This makes it much easier to add different
compiler options with fewer files.
For example, for Broadwell-specific options:
cd wmake/rules/linux64Gcc
cp c++Opt c++OptBdw
edit this file and then use WM_COMPILE_OPTION=OptBdw
- ensure that WM_COMPILE_OPTION is always non-empty
2019-08-07 09:22:09 +02:00
Mark Olesen
ed6b26ba45
BUG: had clang++ instead of armclang++
2019-04-29 21:10:14 +02:00
Mark Olesen
787325a916
COMP: manage cpu architecture with cARCH, c++ARCH internal make variables
...
- allows better separation from compiler settings
- use -fPIC instead of legacy -KPIC for intel compiler
2019-04-12 12:59:11 +02:00
Mark Olesen
ce947eeb09
STYLE: relocate -mcpu into compiler instead of compiler-flags ( #1225 )
2019-03-01 18:34:05 +01:00
Mark Olesen
f01849ffd4
COMP: adjust ARM compilation flags ( #1225 )
...
- with -mcpu=native for automatic detection and -armpl for linking in
the performance libraries
2019-03-01 18:20:41 +01:00
Mark Olesen
2db4b0867e
CONFIG: consolidate C++ flags per compiler type
...
- easier to ensure that flags are consistent
2018-03-21 11:50:57 +01:00
mattijs
a0a039ad57
ENH: armclang: new compiler type. Fixes #779 .
2018-03-21 12:08:44 +00:00