[Debichem-devel] Bug#834991: gromacs: please disable SIMD on armhf
Graham Inggs
ginggs at debian.org
Sun Aug 21 11:19:18 UTC 2016
Source: gromacs
Version: 2016-1
Severity: wishlist
Tags: patch
Hi Maintainer
Gromacs FTBFS on the Ubuntu armhf buildds. The Ubuntu armhf buildds
have NEON extensions, while the ones in Debian do not. Please
consider including my patch below which simply disables SIMD on armhf,
avoiding the detection of NEON.
This patch should be a no-op with the current Debian buildds, and I
believe it would be the correct behaviour if Debian acquired new
buildds with NEON, as NEON is not a required feature for Debian's
armhf port.
Regards
Graham
--- a/debian/rules
+++ b/debian/rules
@@ -50,6 +50,10 @@
COMMON_CONFIG_PARAMS += -DGMX_SIMD=IBM_VSX # ppc64el
endif # ifneq .. ppc64el
endif # ifneq .. ppc64
+# armhf
+ifneq (,$(findstring $(DEB_HOST_ARCH_CPU),armhf))
+ COMMON_CONFIG_PARAMS += -DGMX_SIMD=None # armhf
+endif # ifneq .. armhf
endif # DEB_BUILD_OPTIONS
# Include "gpu" in DEB_BUILD_OPTIONS to build GPU-accelerated binaries as well.
More information about the Debichem-devel
mailing list