Source: gmap
Version: 2016-05-01-1
Severity: wishlist
Control: tags -1 patch
Dear Maintainer
Since version 2016-05-01-1, it no longer builds on all little-endian
architectures in Ubuntu.
Since version 2016-06-09-1, it builds again on ppc64el.
The attached patch, against version 2016-07-11.v2-1, only does CPUID on
amd64 and i386 architectures, instead of everywhere that is not POWER8.
This allows gmap to build again on armhf and amd64, where version
2015-12-31.v9-1 built previously.
Regards
Graham
Description: Only do CPUID on amd64 and i386
This fixes a FTBFS on armhf and arm64.
Author: Graham Inggs <[email protected]>
Last-Update: 2016-07-24
--- a/src/cpuid.c
+++ b/src/cpuid.c
@@ -7,7 +7,7 @@
#include <stdio.h>
-#if defined(AX_HOST_POWER8)
+#if !defined(__x86_64) && !defined(__i386)
void
CPUID_support (bool *sse2_support_p, bool *ssse3_support_p, bool *sse4_1_support_p, bool *sse4_2_support_p, bool *avx2_support_p) {