Skip to content

Arm Compiler for Linux 24.10+ fails to compile OpenFOAM - due to removal of -fsimdmath flag

The "-fsimdmath" flag was deprecated by Arm Compiler for Linux earlier in 2024, and is now removed from ACfL 24.10, as a result OpenFOAM does not compile.

Specifically this line needs to have -fsimdmath removed:

./wmake/rules/linuxARM64Arm/c++Opt:c++OPT = -ffp-contract=fast -ffast-math -O3 -funsafe-math-optimizations -fsimdmath -armpl