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)
committerPaul Bauer <paul.bauer.q@gmail.com>
Wed, 6 Nov 2019 13:22:09 +0000 (14:22 +0100)
commitb68d25f64a84a200b75a895af9c5887ce4a149bc
treefc38d1f0c1c81be9e05712e8c96b5aea13a2297a
parentd3bf59c53ed4349a877dde6a01c0c9163c955327
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