29 lines
1.3 KiB
Diff
29 lines
1.3 KiB
Diff
From 2936cd92331f6738c13cc6f7620647d6a05a831a Mon Sep 17 00:00:00 2001
|
|
From: marehr <marehr-github@marehr.dialup.fu-berlin.de>
|
|
Date: Mon, 15 Jan 2018 14:31:04 +0100
|
|
Subject: [PATCH] [FIX#2223] "No supported platform for SIMD vectorization!" on
|
|
PPC64
|
|
|
|
---
|
|
include/seqan/simd/simd_base_seqan_impl.h | 8 ++++++--
|
|
1 file changed, 6 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/include/seqan/simd/simd_base_seqan_impl.h b/include/seqan/simd/simd_base_seqan_impl.h
|
|
index ff224df84..006a2d683 100644
|
|
--- a/include/seqan/simd/simd_base_seqan_impl.h
|
|
+++ b/include/seqan/simd/simd_base_seqan_impl.h
|
|
@@ -48,8 +48,12 @@
|
|
#elif defined(PLATFORM_GCC) && (defined(__x86_64__) || defined(__i386__))
|
|
/* GCC-compatible compiler, targeting x86/x86-64 */
|
|
#include <x86intrin.h>
|
|
-#else
|
|
- #warning "No supported platform for SIMD vectorization!"
|
|
+#elif defined(SEQAN_SIMD_ENABLED)
|
|
+ #pragma message "You are trying to build with -DSEQAN_SIMD_ENABLED, which might be " \
|
|
+ "auto-defined if AVX or SSE was enabled (e.g. -march=native, -msse4, ...), " \
|
|
+ "but we only support x86/x86-64 architectures for SIMD vectorization! " \
|
|
+ "You might want to use UME::SIMD (https://github.com/edanor/umesimd) combined " \
|
|
+ "with -DSEQAN_UMESIMD_ENABLED for a different SIMD backend."
|
|
#endif
|
|
|
|
namespace seqan {
|