target hardware description is silent about the result - Redmine #2072
Currently cmake/gmxDetectTargetArchitecture.cmake is silent about its results, which makes it difficult to know what the result was, e.g. in places that build with strange platforms, like Debian and Fedora build farms. Raised at https://gerrit.gromacs.org/\#/c/6321/
We should write a single line status message to cmake output when we detect the identity of the target, and a single line when we have not detected any target.
(from redmine: issue id 2072, created on 2016-11-08 by mark.j.abraham, closed on 2018-10-03)
- Relations:
- relates #1907 (closed)
- Changesets:
- Revision c3a53d77 on 2016-11-08T20:01:53Z:
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