2c77514417
CONFIG: support wmake -debug-O0, -debug-O1 etc.
...
- rearranged order of flags so that FOAM_EXTRA_CXXFLAGS is added
after the WARN/OPT/DBUG flags
CONFIG: drop wmake rules for PGI compiler (defunct)
2022-06-02 22:37:00 +02:00
2698cab01c
ENH: extend use of WM_COMPILER_CONTROL to manage compiler versions
...
- for compilers such as gcc and clang, may have several different
variants installed on the computer. Use WM_COMPILER_CONTROL to
specify the preferred variant.
Eg,
WM_COMPILER=Gcc
WM_COMPILER_CONTROL="version=8"
will compile with "gcc-8" and "g++-8"
Good practice would be to tag output directory names with the
version too. Eg
WM_COMPILER=Clang110
WM_COMPILER_CONTROL="version=11.0"
STYLE: modify message for change of gcc -> clang (darwin)
2021-11-02 17:30:06 +01:00
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
739bc3c4af
COMP: add -pthread compile/link dependency for std::thread ( #614 )
2020-02-07 11:06:06 +01:00
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
2db4b0867e
CONFIG: consolidate C++ flags per compiler type
...
- easier to ensure that flags are consistent
2018-03-21 11:50:57 +01:00
2795d64384
COMP: suppress clang warnings about unknown compiler warning option
...
- allows enabling new warnings without causing messy output with older
clang versions
2017-12-15 20:02:26 +01:00
405cf8129a
CONFIG: update some wmake rules
...
- initial settings for ADIOS2, linuxARM64Gcc, linuxARM64Clang
2017-12-07 15:41:58 +00:00