Commit b38b7c4d authored by Andreas Marek's avatar Andreas Marek
Browse files

M4 macros for kernel choice in configure

parent bfe041e8
...@@ -1516,11 +1516,9 @@ Optional Packages: ...@@ -1516,11 +1516,9 @@ Optional Packages:
--with-only-complex-sse-kernel --with-only-complex-sse-kernel
only compile sse-kernel for complex case only compile sse-kernel for complex case
--with-only-complex-bgp-kernel --with-only-complex-bgp-kernel
only compile BGP-kernel (identical with only compile bgp-kernel for complex case
complex-generic kernel) for complex case
--with-only-complex-bgq-kernel --with-only-complex-bgq-kernel
only compile BGQ-kernel (identical with only compile bgq-kernel for complex case
complex-generic kernel) for complex case
--with-only-complex-avx-block1-kernel --with-only-complex-avx-block1-kernel
only compile complex-avx-block1-kernel for complex only compile complex-avx-block1-kernel for complex
case case
...@@ -3059,6 +3057,9 @@ fi ...@@ -3059,6 +3057,9 @@ fi
AM_BACKSLASH='\' AM_BACKSLASH='\'
   
   
rm -rf config.h config-f90.h
ELPA_LIB_VERSION=2014.06.000 ELPA_LIB_VERSION=2014.06.000
   
# this is the version of the API, should be changed in the major revision # this is the version of the API, should be changed in the major revision
...@@ -7210,19 +7211,25 @@ $as_echo "#define HAVE_ENVIRONMENT_CHECKING 1" >>confdefs.h ...@@ -7210,19 +7211,25 @@ $as_echo "#define HAVE_ENVIRONMENT_CHECKING 1" >>confdefs.h
fi fi
   
   
# Check whether --with-only-real-generic-kernel was given. # Check whether --with-only-real-generic-kernel was given.
if test "${with_only_real_generic_kernel+set}" = set; then : if test "${with_only_real_generic_kernel+set}" = set; then :
withval=$with_only_real_generic_kernel; with_real_generic_kernel=yes withval=$with_only_real_generic_kernel;
else else
with_real_generic_kernel=no with_option=no
fi fi
   
   
if test x"${with_real_generic_kernel}" = x"yes" ; then if test x"${with_option}" = x"yes" ; then
if test x"${use_specific_real_kernel}" = x"no" ; then if test x"${use_specific_real_kernel}" = x"no" ; then
# if test x"${can_compile_sse}" = x"yes" ; then
   
install_real_generic=yes install_real_generic=no
install_real_generic_simple=no install_real_generic_simple=no
install_real_sse=no install_real_sse=no
install_real_bgp=no install_real_bgp=no
...@@ -7230,222 +7237,357 @@ if test x"${with_real_generic_kernel}" = x"yes" ; then ...@@ -7230,222 +7237,357 @@ if test x"${with_real_generic_kernel}" = x"yes" ; then
install_real_avx_block2=no install_real_avx_block2=no
install_real_avx_block4=no install_real_avx_block4=no
install_real_avx_block6=no install_real_avx_block6=no
use_specific_real_kernel=yes use_specific_real_kernel=yes
{ $as_echo "$as_me:${as_lineno-$LINENO}: real-generic-kernel will be the only compiled kernel for real case" >&5 install_real_generic=yes
$as_echo "$as_me: real-generic-kernel will be the only compiled kernel for real case" >&6;}
# else if test x"${install_real_sse}" = x"yes" ; then
# AC_MSG_FAILURE([--with-sse-generic-kernel failed; SSE kernel cannot be compiled on the system]) if test x"${can_compile_sse}" = x"no" ; then
# fi as_fn_error $? "generic-kernel kernel was set, but cannot be compiled!" "$LINENO" 5
else fi
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 fi
if test x"${install_real_avx_block2}" = x"yes" ; then
if test x"${can_compile_avx}" = x"no" ; then
as_fn_error $? "generic-kernel kernel was set, but cannot be compiled!" "$LINENO" 5
fi
fi
if test x"${install_real_avx_block4}" = x"yes" ; then
if test x"${can_compile_avx}" = x"no" ; then
as_fn_error $? "generic-kernel kernel was set, but cannot be compiled!" "$LINENO" 5
fi
fi
if test x"${install_real_avx_block6}" = x"yes" ; then
if test x"${can_compile_avx}" = x"no" ; then
as_fn_error $? "generic-kernel kernel was set, but cannot be compiled!" "$LINENO" 5
fi
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: only-real-generic-kernel will be the only compiled kernel for real case" >&5
$as_echo "$as_me: only-real-generic-kernel will be the only compiled kernel for real case" >&6;}
else
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
as_fn_error $? "--with-real-generic-kernel failed; A specific kernel for real case has already been defined before! as_fn_error $? "only-real-generic-kernel failed; A specific kernel for real case has already been defined before!
See \`config.log' for more details" "$LINENO" 5; } See \`config.log' for more details" "$LINENO" 5; }
fi fi
fi fi
   
   
# Check whether --with-only-real-generic-simple-kernel was given. # Check whether --with-only-real-generic-simple-kernel was given.
if test "${with_only_real_generic_simple_kernel+set}" = set; then : if test "${with_only_real_generic_simple_kernel+set}" = set; then :
withval=$with_only_real_generic_simple_kernel; withval=$with_only_real_generic_simple_kernel;
else else
with_real_generic_simple_kernel=no with_option=no
fi fi
   
   
if test x"${with_real_generic_simple_kernel}" = x"yes" ; then if test x"${with_option}" = x"yes" ; then
if test x"${use_specific_real_kernel}" = x"no" ; then if test x"${use_specific_real_kernel}" = x"no" ; then
   
install_real_generic=no install_real_generic=no
install_real_generic_simple=yes install_real_generic_simple=no
install_real_sse=no install_real_sse=no
install_real_bgp=no install_real_bgp=no
install_real_bgq=no install_real_bgq=no
install_real_avx_block2=no install_real_avx_block2=no
install_real_avx_block4=no install_real_avx_block4=no
install_real_avx_block6=no install_real_avx_block6=no
use_specific_real_kernel=yes use_specific_real_kernel=yes
{ $as_echo "$as_me:${as_lineno-$LINENO}: real-generic-simple-kernel will be the only compiled kernel for real case" >&5 install_real_generic_simple=yes
$as_echo "$as_me: real-generic-simple-kernel will be the only compiled kernel for real case" >&6;}
   
else if test x"${install_real_sse}" = x"yes" ; then
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 if test x"${can_compile_sse}" = x"no" ; then
as_fn_error $? "generic-simple-kernel kernel was set, but cannot be compiled!" "$LINENO" 5
fi
fi
if test x"${install_real_avx_block2}" = x"yes" ; then
if test x"${can_compile_avx}" = x"no" ; then
as_fn_error $? "generic-simple-kernel kernel was set, but cannot be compiled!" "$LINENO" 5
fi
fi
if test x"${install_real_avx_block4}" = x"yes" ; then
if test x"${can_compile_avx}" = x"no" ; then
as_fn_error $? "generic-simple-kernel kernel was set, but cannot be compiled!" "$LINENO" 5
fi
fi
if test x"${install_real_avx_block6}" = x"yes" ; then
if test x"${can_compile_avx}" = x"no" ; then
as_fn_error $? "generic-simple-kernel kernel was set, but cannot be compiled!" "$LINENO" 5
fi
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: only-real-generic-simple-kernel will be the only compiled kernel for real case" >&5
$as_echo "$as_me: only-real-generic-simple-kernel will be the only compiled kernel for real case" >&6;}
else
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
as_fn_error $? "--with-real-generic-simple-kernel failed; A specific kernel for real case has already been defined before! as_fn_error $? "only-real-generic-simple-kernel failed; A specific kernel for real case has already been defined before!
See \`config.log' for more details" "$LINENO" 5; } See \`config.log' for more details" "$LINENO" 5; }
fi fi
fi fi
   
   
# Check whether --with-only-real-sse-kernel was given. # Check whether --with-only-real-sse-kernel was given.
if test "${with_only_real_sse_kernel+set}" = set; then : if test "${with_only_real_sse_kernel+set}" = set; then :
withval=$with_only_real_sse_kernel; withval=$with_only_real_sse_kernel;
else else
with_real_sse_kernel=no with_option=no
fi fi
   
   
if test x"${with_real_sse_kernel}" = x"yes" ; then if test x"${with_option}" = x"yes" ; then
if test x"${use_specific_real_kernel}" = x"no" ; then if test x"${use_specific_real_kernel}" = x"no" ; then
if test x"${can_compile_sse}" = x"yes" ; then
   
install_real_generic=no install_real_generic=no
install_real_generic_simple=no install_real_generic_simple=no
install_real_sse=yes install_real_sse=no
install_real_bgp=no install_real_bgp=no
install_real_bgq=no install_real_bgq=no
install_real_avx_block2=no install_real_avx_block2=no
install_real_avx_block4=no install_real_avx_block4=no
install_real_avx_block6=no install_real_avx_block6=no
use_specific_real_kernel=yes use_specific_real_kernel=yes
{ $as_echo "$as_me:${as_lineno-$LINENO}: real-sse-kernel will be the only compiled kernel for real case" >&5 install_real_sse=yes
$as_echo "$as_me: real-sse-kernel will be the only compiled kernel for real case" >&6;}
else if test x"${install_real_sse}" = x"yes" ; then
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 if test x"${can_compile_sse}" = x"no" ; then
as_fn_error $? "sse-kernel kernel was set, but cannot be compiled!" "$LINENO" 5
fi
fi
if test x"${install_real_avx_block2}" = x"yes" ; then
if test x"${can_compile_avx}" = x"no" ; then
as_fn_error $? "sse-kernel kernel was set, but cannot be compiled!" "$LINENO" 5
fi
fi
if test x"${install_real_avx_block4}" = x"yes" ; then
if test x"${can_compile_avx}" = x"no" ; then
as_fn_error $? "sse-kernel kernel was set, but cannot be compiled!" "$LINENO" 5
fi
fi
if test x"${install_real_avx_block6}" = x"yes" ; then
if test x"${can_compile_avx}" = x"no" ; then
as_fn_error $? "sse-kernel kernel was set, but cannot be compiled!" "$LINENO" 5
fi
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: only-real-sse-kernel will be the only compiled kernel for real case" >&5
$as_echo "$as_me: only-real-sse-kernel will be the only compiled kernel for real case" >&6;}
else
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
as_fn_error $? "--with-real-sse-kernel failed; SSE kernel cannot be compiled on the system as_fn_error $? "only-real-sse-kernel failed; A specific kernel for real case has already been defined before!
See \`config.log' for more details" "$LINENO" 5; } See \`config.log' for more details" "$LINENO" 5; }
fi
fi fi
else
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
as_fn_error $? "--with-real-sse-kernel failed; A specific kernel for real case has already been defined before!
See \`config.log' for more details" "$LINENO" 5; }
fi
fi
   
   
# Check whether --with-only-real-bgp-kernel was given. # Check whether --with-only-real-bgp-kernel was given.
if test "${with_only_real_bgp_kernel+set}" = set; then : if test "${with_only_real_bgp_kernel+set}" = set; then :
withval=$with_only_real_bgp_kernel; withval=$with_only_real_bgp_kernel;
else else
with_real_bgp_kernel=no with_option=no
fi fi
   
   
if test x"${with_real_bgp_kernel}" = x"yes" ; then if test x"${with_option}" = x"yes" ; then
if test x"${use_specific_real_kernel}" = x"no" ; then if test x"${use_specific_real_kernel}" = x"no" ; then
if test x"${can_compile_bgp}" = x"yes" ; then
   
install_real_generic=no install_real_generic=no
install_real_generic_simple=no install_real_generic_simple=no
install_real_sse=no install_real_sse=no
install_real_bgp=yes install_real_bgp=no
install_real_bgq=no install_real_bgq=no
install_real_avx_block2=no install_real_avx_block2=no
install_real_avx_block4=no install_real_avx_block4=no
install_real_avx_block6=no install_real_avx_block6=no
use_specific_real_kernel=yes use_specific_real_kernel=yes
{ $as_echo "$as_me:${as_lineno-$LINENO}: real-bgp-kernel will be the only compiled kernel for real case" >&5 install_real_bgp=yes
$as_echo "$as_me: real-bgp-kernel will be the only compiled kernel for real case" >&6;}
else if test x"${install_real_sse}" = x"yes" ; then
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 if test x"${can_compile_sse}" = x"no" ; then
as_fn_error $? "bgp-kernel kernel was set, but cannot be compiled!" "$LINENO" 5
fi
fi
if test x"${install_real_avx_block2}" = x"yes" ; then
if test x"${can_compile_avx}" = x"no" ; then
as_fn_error $? "bgp-kernel kernel was set, but cannot be compiled!" "$LINENO" 5
fi
fi
if test x"${install_real_avx_block4}" = x"yes" ; then
if test x"${can_compile_avx}" = x"no" ; then
as_fn_error $? "bgp-kernel kernel was set, but cannot be compiled!" "$LINENO" 5
fi
fi
if test x"${install_real_avx_block6}" = x"yes" ; then
if test x"${can_compile_avx}" = x"no" ; then
as_fn_error $? "bgp-kernel kernel was set, but cannot be compiled!" "$LINENO" 5
fi
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: only-real-bgp-kernel will be the only compiled kernel for real case" >&5
$as_echo "$as_me: only-real-bgp-kernel will be the only compiled kernel for real case" >&6;}
else
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
as_fn_error $? "--with-real-bgp-kernel failed; BGP kernel cannot be compiled on the system as_fn_error $? "only-real-bgp-kernel failed; A specific kernel for real case has already been defined before!
See \`config.log' for more details" "$LINENO" 5; } See \`config.log' for more details" "$LINENO" 5; }
fi
fi fi
else
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
as_fn_error $? "--with-real-bgp-kernel failed; A specific kernel for real case has already been defined before!
See \`config.log' for more details" "$LINENO" 5; }
fi
fi
   
   
# Check whether --with-only-real-bgq-kernel was given. # Check whether --with-only-real-bgq-kernel was given.
if test "${with_only_real_bgq_kernel+set}" = set; then : if test "${with_only_real_bgq_kernel+set}" = set; then :
withval=$with_only_real_bgq_kernel; withval=$with_only_real_bgq_kernel;
else else
with_real_bgq_kernel=no with_option=no
fi fi
   
   
if test x"${with_real_bgq_kernel}" = x"yes" ; then if test x"${with_option}" = x"yes" ; then
if test x"${use_specific_real_kernel}" = x"no" ; then if test x"${use_specific_real_kernel}" = x"no" ; then
if test x"${can_compile_bgq}" = x"yes" ; then
   
install_real_generic=no install_real_generic=no
install_real_generic_simple=no install_real_generic_simple=no
install_real_sse=no install_real_sse=no
install_real_bgp=no install_real_bgp=no
install_real_bgq=yes install_real_bgq=no
install_real_avx_block2=no install_real_avx_block2=no
install_real_avx_block4=no install_real_avx_block4=no
install_real_avx_block6=no install_real_avx_block6=no
use_specific_real_kernel=yes use_specific_real_kernel=yes
{ $as_echo "$as_me:${as_lineno-$LINENO}: real-bgq-kernel will be the only compiled kernel for real case" >&5 install_real_bgq=yes
$as_echo "$as_me: real-bgq-kernel will be the only compiled kernel for real case" >&6;}
else if test x"${install_real_sse}" = x"yes" ; then
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 if test x"${can_compile_sse}" = x"no" ; then
as_fn_error $? "bgq-kernel kernel was set, but cannot be compiled!" "$LINENO" 5
fi
fi
if test x"${install_real_avx_block2}" = x"yes" ; then
if test x"${can_compile_avx}" = x"no" ; then
as_fn_error $? "bgq-kernel kernel was set, but cannot be compiled!" "$LINENO" 5
fi
fi
if test x"${install_real_avx_block4}" = x"yes" ; then
if test x"${can_compile_avx}" = x"no" ; then
as_fn_error $? "bgq-kernel kernel was set, but cannot be compiled!" "$LINENO" 5
fi
fi
if test x"${install_real_avx_block6}" = x"yes" ; then
if test x"${can_compile_avx}" = x"no" ; then
as_fn_error $? "bgq-kernel kernel was set, but cannot be compiled!" "$LINENO" 5
fi
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: only-real-bgq-kernel will be the only compiled kernel for real case" >&5
$as_echo "$as_me: only-real-bgq-kernel will be the only compiled kernel for real case" >&6;}
else
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
as_fn_error $? "--with-real-bgq-kernel failed; BGQ kernel cannot be compiled on the system as_fn_error $? "only-real-bgq-kernel failed; A specific kernel for real case has already been defined before!
See \`config.log' for more details" "$LINENO" 5; } See \`config.log' for more details" "$LINENO" 5; }
fi
fi fi
else
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
as_fn_error $? "--with-real-bgq-kernel failed; A specific kernel for real case has already been defined before!
See \`config.log' for more details" "$LINENO" 5; }
fi
fi
   
   
# Check whether --with-only-real-avx-block2-kernel was given. # Check whether --with-only-real-avx-block2-kernel was given.
if test "${with_only_real_avx_block2_kernel+set}" = set; then : if test "${with_only_real_avx_block2_kernel+set}" = set; then :
withval=$with_only_real_avx_block2_kernel; withval=$with_only_real_avx_block2_kernel;
else else
with_real_avx_block2_kernel=no with_option=no
fi fi
   
   
if test x"${with_real_avx_block2_kernel}" = x"yes" ; then if test x"${with_option}" = x"yes" ; then
if test x"${use_specific_real_kernel}" = x"no" ; then if test x"${use_specific_real_kernel}" = x"no" ; then
if test x"${can_compile_avx}" = x"yes" ; then
   
install_real_generic=no install_real_generic=no
install_real_generic_simple=no install_real_generic_simple=no
install_real_sse=no install_real_sse=no
install_real_bgp=no install_real_bgp=no
install_real_bgq=no install_real_bgq=no
install_real_avx_block2=yes install_real_avx_block2=no
install_real_avx_block4=no install_real_avx_block4=no
install_real_avx_block6=no install_real_avx_block6=no
use_specific_real_kernel=yes use_specific_real_kernel=yes
{ $as_echo "$as_me:${as_lineno-$LINENO}: real-avx-block2-kernel will be the only compiled kernel for real case" >&5 install_real_avx_block2=yes
$as_echo "$as_me: real-avx-block2-kernel will be the only compiled kernel for real case" >&6;}
else if test x"${install_real_sse}" = x"yes" ; then
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 if test x"${can_compile_sse}" = x"no" ; then
as_fn_error $? "real-avx-block2-kernel kernel was set, but cannot be compiled!" "$LINENO" 5
fi
fi
if test x"${install_real_avx_block2}" = x"yes" ; then
if test x"${can_compile_avx}" = x"no" ; then
as_fn_error $? "real-avx-block2-kernel kernel was set, but cannot be compiled!" "$LINENO" 5
fi
fi
if test x"${install_real_avx_block4}" = x"yes" ; then
if test x"${can_compile_avx}" = x"no" ; then
as_fn_error $? "real-avx-block2-kernel kernel was set, but cannot be compiled!" "$LINENO" 5
fi
fi
if test x"${install_real_avx_block6}" = x"yes" ; then
if test x"${can_compile_avx}" = x"no" ; then
as_fn_error $? "real-avx-block2-kernel kernel was set, but cannot be compiled!" "$LINENO" 5
fi
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: only-real-avx-block2-kernel will be the only compiled kernel for real case" >&5
$as_echo "$as_me: only-real-avx-block2-kernel will be the only compiled kernel for real case" >&6;}
else
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
as_fn_error $? "--with-real-avx-block2-kernel failed; AVX kernels cannot be compiled on the system as_fn_error $? "only-real-avx-block2-kernel failed; A specific kernel for real case has already been defined before!
See \`config.log' for more details" "$LINENO" 5; } See \`config.log' for more details" "$LINENO" 5; }
fi
fi fi
else
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
as_fn_error $? "--with-real-avx-block2-kernel failed; A specific kernel for real case has already been defined before!
See \`config.log' for more details" "$LINENO" 5; }
fi
fi
   
   
# Check whether --with-only-real-avx-block4-kernel was given. # Check whether --with-only-real-avx-block4-kernel was given.
if test "${with_only_real_avx_block4_kernel+set}" = set; then : if test "${with_only_real_avx_block4_kernel+set}" = set; then :
withval=$with_only_real_avx_block4_kernel; withval=$with_only_real_avx_block4_kernel;
else else
with_real_avx_block4_kernel=no with_option=no
fi fi
   
   
if test x"${with_real_avx_block4_kernel}" = x"yes" ; then if test x"${with_option}" = x"yes" ; then
if test x"${use_specific_real_kernel}" = x"no" ; then if test x"${use_specific_real_kernel}" = x"no" ; then
if test x"${can_compile_avx}" = x"yes" ; then
   
install_real_generic=no install_real_generic=no
install_real_generic_simple=no install_real_generic_simple=no
...@@ -7453,38 +7595,59 @@ if test x"${with_real_avx_block4_kernel}" = x"yes" ; then ...@@ -7453,38 +7595,59 @@ if test x"${with_real_avx_block4_kernel}" = x"yes" ; then
install_real_bgp=no install_real_bgp=no
install_real_bgq=no install_real_bgq=no
install_real_avx_block2=no install_real_avx_block2=no
install_real_avx_block4=yes install_real_avx_block4=no
install_real_avx_block6=no install_real_avx_block6=no
use_specific_real_kernel=yes use_specific_real_kernel=yes
{ $as_echo "$as_me:${as_lineno-$LINENO}: real-avx-block4-kernel will be the only compiled kernel for real case" >&5 install_real_avx_block4=yes
$as_echo "$as_me: real-avx-block4-kernel will be the only compiled kernel for real case" >&6;}
else if test x"${install_real_sse}" = x"yes" ; then
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 if test x"${can_compile_sse}" = x"no" ; then
as_fn_error $? "real-avx-block4-kernel kernel was set, but cannot be compiled!" "$LINENO" 5
fi
fi
if test x"${install_real_avx_block2}" = x"yes" ; then
if test x"${can_compile_avx}" = x"no" ; then
as_fn_error $? "real-avx-block4-kernel kernel was set, but cannot be compiled!" "$LINENO" 5
fi
fi
if test x"${install_real_avx_block4}" = x"yes" ; then
if test x"${can_compile_avx}" = x"no" ; then
as_fn_error $? "real-avx-block4-kernel kernel was set, but cannot be compiled!" "$LINENO" 5
fi
fi
if test x"${install_real_avx_block6}" = x"yes" ; then
if test x"${can_compile_avx}" = x"no" ; then
as_fn_error $? "real-avx-block4-kernel kernel was set, but cannot be compiled!" "$LINENO" 5
fi
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: only-real-avx-block4-kernel will be the only compiled kernel for real case" >&5
$as_echo "$as_me: only-real-avx-block4-kernel will be the only compiled kernel for real case" >&6;}
else
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
as_fn_error $? "--with-real-avx-block4-kernel failed; AVX kernels cannot be compiled on the system as_fn_error $? "only-real-avx-block4-kernel failed; A specific kernel for real case has already been defined before!