Blender Git Commit Log

Git Commits -> Revision 0815e2f

Revision 0815e2f by Sebastian Parborg (master)
January 14, 2021, 16:37 (GMT)
Fix automated tests when building with GCC and march=native

When building with more aggressive optimization flags, GCC will add FMA
(Fused Multiply Add) instructions that will slightly alter the floating
point operation results.

This causes some automated tests to fail in blender.

In clang and the intel compiler ffp-contract is set to off per default
it seems from my research. (They do not have the exact same setting,
but the default seems to match the off behavior)

Reviewed By: Brecht

Differential Revision: https://developer.blender.org/D9047

Commit Details:

Full Hash: 0815e2fdb15f27e4b62196d7b2725b0b235c9c6b
Parent Commit: e5ee7e9
Lines Changed: +10, -1

2 Modified Paths:

/build_files/cmake/platform/platform_unix.cmake (+7, -1) (Diff)
/intern/cycles/CMakeLists.txt (+3, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021