Fix x86 conditional
commitc3a53d771ee56187dbc9c464608d7955b5386af6
authorDan Horák <dan@danny.cz>
Tue, 8 Nov 2016 10:38:42 +0000 (8 11:38 +0100)
committerMark Abraham <mark.j.abraham@gmail.com>
Tue, 8 Nov 2016 20:01:53 +0000 (8 21:01 +0100)
treed929a51c151878c21dc77d7400d490708c0b261d
parentb252d15b6ebec2b94e8ca82dd3de529b29df7f9b
Fix x86 conditional

The CpuInfoTest.SupportLevel testcase fails on s390x because wrong
condition in src/gromacs/hardware/tests/cpuinfo.cpp is used. Fixed
this by setting GMX_TARGET_X86 to 0 or 1 in all cases, both for
GROMACS CMake detection and GROMACS build.

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1390149

Refs #2072

Change-Id: Id50fd65c6228a25f2bb2eca684d680a2b34d2263
cmake/gmxDetectSimd.cmake
cmake/gmxSetBuildInformation.cmake
src/gromacs/hardware/tests/cpuinfo.cpp