Work around broken Apple compilers in Mac OS 10.15
authorErik Lindahl <erik@kth.se>
Wed, 6 Nov 2019 13:00:37 +0000 (14:00 +0100)
committerErik Lindahl <erik@kth.se>
Wed, 6 Nov 2019 13:00:37 +0000 (14:00 +0100)
commit2d92af684330b033fa2508f3558f138e379a2b42
tree91988bc056e31650295fc94a76b9bf496f7a7b57
parentc26b330ae0623d5eaec52675ab74526e8b40644d
Work around broken Apple compilers in Mac OS 10.15

The Xcode compiler in Mac OS Catalina checks and enforces
stack alignment by default, but embarrasingly enough the
C library provided by Apple fails to adhere to the
aligned stack for AVX despite bug reports being filed during
their beta cycle. We work around this sloppiness by removing
the check, since AVX does not require the alignment.

Fixes #3199.

Change-Id: I9c16b156cc5b3a5d9fc542335cbf63a6caf6fb1b
cmake/gmxCFlags.cmake
docs/release-notes/2019/2019.5.rst