1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-10 15:55:37 +00:00

Some modifications to the configure to check SIMD support

This commit is contained in:
neo 2015-05-29 11:41:02 +09:00
parent d8b05e001d
commit 96ad352741
2 changed files with 3 additions and 3 deletions

2
configure vendored
View File

@ -6709,7 +6709,7 @@ $as_echo "$as_me: WARNING: Your processor does not support AVX2 instructions" >&
$as_echo "#define AVX512 1" >>confdefs.h $as_echo "#define AVX512 1" >>confdefs.h
supported=yes supported="cross compilation"
;; ;;
*) *)
as_fn_error $? "${ac_SIMD} unsupported --enable-simd option" "$LINENO" 5; as_fn_error $? "${ac_SIMD} unsupported --enable-simd option" "$LINENO" 5;

View File

@ -3,7 +3,7 @@
# #
# Project Grid package # 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_PREREQ([2.63])
AC_INIT([Grid], [1.0], [paboyle@ph.ed.ac.uk]) AC_INIT([Grid], [1.0], [paboyle@ph.ed.ac.uk])
@ -106,7 +106,7 @@ case ${ac_SIMD} in
AVX512|MIC) AVX512|MIC)
echo Configuring for AVX512 and MIC echo Configuring for AVX512 and MIC
AC_DEFINE([AVX512],[1],[AVX512] ) AC_DEFINE([AVX512],[1],[AVX512] )
supported=yes supported="cross compilation"
;; ;;
*) *)
AC_MSG_ERROR([${ac_SIMD} unsupported --enable-simd option]); AC_MSG_ERROR([${ac_SIMD} unsupported --enable-simd option]);