From 4403e117a76529e73be8b881a3f3ad18c4215877 Mon Sep 17 00:00:00 2001 From: neo Date: Fri, 29 May 2015 11:41:02 +0900 Subject: [PATCH] Some modifications to the configure to check SIMD support --- configure | 2 +- configure.ac | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configure b/configure index ea0a71c2..2d785792 100755 --- a/configure +++ b/configure @@ -6709,7 +6709,7 @@ $as_echo "$as_me: WARNING: Your processor does not support AVX2 instructions" >& $as_echo "#define AVX512 1" >>confdefs.h - supported=yes + supported="cross compilation" ;; *) as_fn_error $? "${ac_SIMD} unsupported --enable-simd option" "$LINENO" 5; diff --git a/configure.ac b/configure.ac index 00622bb8..1edb3e33 100644 --- a/configure.ac +++ b/configure.ac @@ -3,7 +3,7 @@ # # Project Grid package # -# Time-stamp: <2015-05-27 18:29:04 neo> +# Time-stamp: <2015-05-27 18:51:47 neo> AC_PREREQ([2.63]) AC_INIT([Grid], [1.0], [paboyle@ph.ed.ac.uk]) @@ -106,7 +106,7 @@ case ${ac_SIMD} in AVX512|MIC) echo Configuring for AVX512 and MIC AC_DEFINE([AVX512],[1],[AVX512] ) - supported=yes + supported="cross compilation" ;; *) AC_MSG_ERROR([${ac_SIMD} unsupported --enable-simd option]);