CMake refactoring
- Move all compiler specific settings to extra files in
cmake/compileroptions
- introduces minimal versions for the compiler so that
std::filesystem
is fully supported (according to this table - remove testfilesystem and enforce compiler/libstd version where it is implemented in std::filesystem
- bump minimal version to
cmake 3.24
- use
CMAKE_COMPILE_WARNING_AS_ERROR
instead of adding these flags manually - removed a few old work arounds for unsupported compilers
- removed compiler
- PGI
- NEC SX
Merge request reports
Activity
assigned to @ob28imeq
added 1 commit
- 62840265 - moved the rest of the compiler specific parts to the extra files
added 1 commit
- 429fbc67 - added versions checks for the compilers to at least support
requested review from @da15siwa
- Resolved by Dominik Thoennes
Even though it introduces some duplication like setting
DEBUGOPTIMIZED
flags in multiple locations I like this MR.I wonder if it would be worth removing some of the workarounds we have for the different compilers. For example there seams to be some stuff specifically for gcc 5 which probably can be removed.
- Resolved by Dominik Thoennes
Just out of curiosity: Why was 3.24 chosen as a minimal version?
added 1 commit
- 99505a1c - added explicit cast to real_t to avoid narrowing conversion
added 1 commit
- a7e32838 - Fixed the type cast to avoid implicit conversions
- Resolved by Dominik Thoennes
Just for documentation regarding the NEC compiler. I tried to build walberla on the
aurora
machine in the testcluster, but it did not work at all. The compiler there was callednc++
and notsxc
. And I think thisnc++
did not supportstd::filesystem
at all (neither instd::experimental
orstd
). So I decided to also remove the specific options for this NEC SX compiler.
mentioned in commit b2a3b880
mentioned in issue #78
mentioned in issue #262