Commit bfe041e8 authored by Andreas Marek's avatar Andreas Marek

Better with-only option

parent 9b16744e
......@@ -816,21 +816,21 @@ enable_dependency_tracking
with_avx_optimization
with_openmp
enable_openmp
with__only_real_generic_kernel
with__only_real_generic_simple_kernel
with__only_real_sse_kernel
with__only_real_bgp_kernel
with__only_real_bgq_kernel
with__only_real_avx_block2_kernel
with__only_real_avx_block4_kernel
with__only_real_avx_block6_kernel
with__only_complex_generic_kernel
with__only_complex_generic_simple_kernel
with__only_complex_sse_kernel
with__only_complex_bgp_kernel
with__only_complex_bgq_kernel
with__only_complex_avx_block1_kernel
with__only_complex_avx_block2_kernel
with_only_real_generic_kernel
with_only_real_generic_simple_kernel
with_only_real_sse_kernel
with_only_real_bgp_kernel
with_only_real_bgq_kernel
with_only_real_avx_block2_kernel
with_only_real_avx_block4_kernel
with_only_real_avx_block6_kernel
with_only_complex_generic_kernel
with_only_complex_generic_simple_kernel
with_only_complex_sse_kernel
with_only_complex_bgp_kernel
with_only_complex_bgq_kernel
with_only_complex_avx_block1_kernel
with_only_complex_avx_block2_kernel
enable_shared
enable_static
with_pic
......@@ -1493,7 +1493,7 @@ Optional Packages:
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-avx-optimization use AVX optimization, default no.
--with-openmp use OpenMP threading, default no.
--with-real-generic-kernel
--with-only-real-generic-kernel
only compile generic-kernel for real case
--with-only-real-generic-simple-kernel
only compile generic-simple-kernel for real case
......@@ -7210,9 +7210,9 @@ $as_echo "#define HAVE_ENVIRONMENT_CHECKING 1" >>confdefs.h
fi
# Check whether --with--only-real-generic-kernel was given.
if test "${with__only_real_generic_kernel+set}" = set; then :
withval=$with__only_real_generic_kernel;
# Check whether --with-only-real-generic-kernel was given.
if test "${with_only_real_generic_kernel+set}" = set; then :
withval=$with_only_real_generic_kernel; with_real_generic_kernel=yes
else
with_real_generic_kernel=no
fi
......@@ -7246,9 +7246,9 @@ See \`config.log' for more details" "$LINENO" 5; }
fi
# Check whether --with--only-real-generic-simple-kernel was given.
if test "${with__only_real_generic_simple_kernel+set}" = set; then :
withval=$with__only_real_generic_simple_kernel;
# Check whether --with-only-real-generic-simple-kernel was given.
if test "${with_only_real_generic_simple_kernel+set}" = set; then :
withval=$with_only_real_generic_simple_kernel;
else
with_real_generic_simple_kernel=no
fi
......@@ -7279,9 +7279,9 @@ See \`config.log' for more details" "$LINENO" 5; }
fi
# Check whether --with--only-real-sse-kernel was given.
if test "${with__only_real_sse_kernel+set}" = set; then :
withval=$with__only_real_sse_kernel;
# Check whether --with-only-real-sse-kernel was given.
if test "${with_only_real_sse_kernel+set}" = set; then :
withval=$with_only_real_sse_kernel;
else
with_real_sse_kernel=no
fi
......@@ -7318,9 +7318,9 @@ See \`config.log' for more details" "$LINENO" 5; }
fi
# Check whether --with--only-real-bgp-kernel was given.
if test "${with__only_real_bgp_kernel+set}" = set; then :
withval=$with__only_real_bgp_kernel;
# Check whether --with-only-real-bgp-kernel was given.
if test "${with_only_real_bgp_kernel+set}" = set; then :
withval=$with_only_real_bgp_kernel;
else
with_real_bgp_kernel=no
fi
......@@ -7357,9 +7357,9 @@ See \`config.log' for more details" "$LINENO" 5; }
fi
# Check whether --with--only-real-bgq-kernel was given.
if test "${with__only_real_bgq_kernel+set}" = set; then :
withval=$with__only_real_bgq_kernel;
# Check whether --with-only-real-bgq-kernel was given.
if test "${with_only_real_bgq_kernel+set}" = set; then :
withval=$with_only_real_bgq_kernel;
else
with_real_bgq_kernel=no
fi
......@@ -7396,9 +7396,9 @@ See \`config.log' for more details" "$LINENO" 5; }
fi
# Check whether --with--only-real-avx-block2-kernel was given.
if test "${with__only_real_avx_block2_kernel+set}" = set; then :
withval=$with__only_real_avx_block2_kernel;
# Check whether --with-only-real-avx-block2-kernel was given.
if test "${with_only_real_avx_block2_kernel+set}" = set; then :
withval=$with_only_real_avx_block2_kernel;
else
with_real_avx_block2_kernel=no
fi
......@@ -7435,9 +7435,9 @@ See \`config.log' for more details" "$LINENO" 5; }
fi
# Check whether --with--only-real-avx-block4-kernel was given.
if test "${with__only_real_avx_block4_kernel+set}" = set; then :
withval=$with__only_real_avx_block4_kernel;
# Check whether --with-only-real-avx-block4-kernel was given.
if test "${with_only_real_avx_block4_kernel+set}" = set; then :
withval=$with_only_real_avx_block4_kernel;
else
with_real_avx_block4_kernel=no
fi
......@@ -7474,9 +7474,9 @@ See \`config.log' for more details" "$LINENO" 5; }
fi
# Check whether --with--only-real-avx-block6-kernel was given.
if test "${with__only_real_avx_block6_kernel+set}" = set; then :
withval=$with__only_real_avx_block6_kernel;
# Check whether --with-only-real-avx-block6-kernel was given.
if test "${with_only_real_avx_block6_kernel+set}" = set; then :
withval=$with_only_real_avx_block6_kernel;
else
with_real_avx_block6_kernel=no
fi
......@@ -7514,9 +7514,9 @@ fi
# Check whether --with--only-complex-generic-kernel was given.
if test "${with__only_complex_generic_kernel+set}" = set; then :
withval=$with__only_complex_generic_kernel;
# Check whether --with-only-complex-generic-kernel was given.
if test "${with_only_complex_generic_kernel+set}" = set; then :
withval=$with_only_complex_generic_kernel;
else
with_complex_generic_kernel=no
fi
......@@ -7546,9 +7546,9 @@ See \`config.log' for more details" "$LINENO" 5; }
fi
# Check whether --with--only-complex-generic-simple-kernel was given.
if test "${with__only_complex_generic_simple_kernel+set}" = set; then :
withval=$with__only_complex_generic_simple_kernel;
# Check whether --with-only-complex-generic-simple-kernel was given.
if test "${with_only_complex_generic_simple_kernel+set}" = set; then :
withval=$with_only_complex_generic_simple_kernel;
else
with_complex_generic_simple_kernel=no
fi
......@@ -7579,9 +7579,9 @@ See \`config.log' for more details" "$LINENO" 5; }
fi
# Check whether --with--only-complex-sse-kernel was given.
if test "${with__only_complex_sse_kernel+set}" = set; then :
withval=$with__only_complex_sse_kernel;
# Check whether --with-only-complex-sse-kernel was given.
if test "${with_only_complex_sse_kernel+set}" = set; then :
withval=$with_only_complex_sse_kernel;
else
with_complex_sse_kernel=no
fi
......@@ -7618,9 +7618,9 @@ See \`config.log' for more details" "$LINENO" 5; }
fi
# Check whether --with--only-complex-bgp-kernel was given.
if test "${with__only_complex_bgp_kernel+set}" = set; then :
withval=$with__only_complex_bgp_kernel;
# Check whether --with-only-complex-bgp-kernel was given.
if test "${with_only_complex_bgp_kernel+set}" = set; then :
withval=$with_only_complex_bgp_kernel;
else
with_complex_bgp_kernel=no
fi
......@@ -7658,9 +7658,9 @@ fi
# Check whether --with--only-complex-bgq-kernel was given.
if test "${with__only_complex_bgq_kernel+set}" = set; then :
withval=$with__only_complex_bgq_kernel;
# Check whether --with-only-complex-bgq-kernel was given.
if test "${with_only_complex_bgq_kernel+set}" = set; then :
withval=$with_only_complex_bgq_kernel;
else
with_complex_bgq_kernel=no
fi
......@@ -7697,9 +7697,9 @@ See \`config.log' for more details" "$LINENO" 5; }
fi
# Check whether --with--only-complex-avx-block1-kernel was given.
if test "${with__only_complex_avx_block1_kernel+set}" = set; then :
withval=$with__only_complex_avx_block1_kernel;
# Check whether --with-only-complex-avx-block1-kernel was given.
if test "${with_only_complex_avx_block1_kernel+set}" = set; then :
withval=$with_only_complex_avx_block1_kernel;
else
with_complex_avx_block1_kernel=no
fi
......@@ -7734,9 +7734,9 @@ See \`config.log' for more details" "$LINENO" 5; }
fi
# Check whether --with--only-complex-avx-block2-kernel was given.
if test "${with__only_complex_avx_block2_kernel+set}" = set; then :
withval=$with__only_complex_avx_block2_kernel;
# Check whether --with-only-complex-avx-block2-kernel was given.
if test "${with_only_complex_avx_block2_kernel+set}" = set; then :
withval=$with_only_complex_avx_block2_kernel;
else
with_complex_avx_block2_kernel=no
fi
......@@ -7777,7 +7777,6 @@ $as_echo "#define HAVE_ISO_FORTRAN_ENV 1" >>confdefs.h
fi
if test x"$install_real_generic" = x"yes"; then
WITH_REAL_GENERIC_KERNEL_TRUE=
WITH_REAL_GENERIC_KERNEL_FALSE='#'
......
......@@ -954,8 +954,8 @@ dnl
dnl real kernels
dnl
dnl generic kernel
AC_ARG_WITH([-only-real-generic-kernel],
[AS_HELP_STRING([--with-real-generic-kernel],[only compile generic-kernel for real case])],[],[with_real_generic_kernel=no])
AC_ARG_WITH([only-real-generic-kernel],
[AS_HELP_STRING([--with-only-real-generic-kernel],[only compile generic-kernel for real case])],[with_real_generic_kernel=yes],[with_real_generic_kernel=no])
if test x"${with_real_generic_kernel}" = x"yes" ; then
if test x"${use_specific_real_kernel}" = x"no" ; then
......@@ -982,7 +982,7 @@ if test x"${with_real_generic_kernel}" = x"yes" ; then
fi
dnl generic-simple kernel
AC_ARG_WITH([-only-real-generic-simple-kernel],
AC_ARG_WITH([only-real-generic-simple-kernel],
[AS_HELP_STRING([--with-only-real-generic-simple-kernel],[only compile generic-simple-kernel for real case])],[],[with_real_generic_simple_kernel=no])
if test x"${with_real_generic_simple_kernel}" = x"yes" ; then
......@@ -1007,7 +1007,7 @@ if test x"${with_real_generic_simple_kernel}" = x"yes" ; then
fi
dnl sse kernel
AC_ARG_WITH([-only-real-sse-kernel],
AC_ARG_WITH([only-real-sse-kernel],
[AS_HELP_STRING([--with-only-real-sse-kernel],[only compile sse-kernel for real case])],[],[with_real_sse_kernel=no])
if test x"${with_real_sse_kernel}" = x"yes" ; then
......@@ -1035,7 +1035,7 @@ if test x"${with_real_sse_kernel}" = x"yes" ; then
fi
dnl bgp kernel
AC_ARG_WITH([-only-real-bgp-kernel],
AC_ARG_WITH([only-real-bgp-kernel],
[AS_HELP_STRING([--with-only-real-bgp-kernel],[only compile bgp-kernel for real case])],[],[with_real_bgp_kernel=no])
if test x"${with_real_bgp_kernel}" = x"yes" ; then
......@@ -1063,7 +1063,7 @@ if test x"${with_real_bgp_kernel}" = x"yes" ; then
fi
dnl bgq kernel
AC_ARG_WITH([-only-real-bgq-kernel],
AC_ARG_WITH([only-real-bgq-kernel],
[AS_HELP_STRING([--with-only-real-bgq-kernel],[only compile bgq-kernel for real case])],[],[with_real_bgq_kernel=no])
if test x"${with_real_bgq_kernel}" = x"yes" ; then
......@@ -1091,7 +1091,7 @@ if test x"${with_real_bgq_kernel}" = x"yes" ; then
fi
dnl real-avx-block2 kernel
AC_ARG_WITH([-only-real-avx-block2-kernel],
AC_ARG_WITH([only-real-avx-block2-kernel],
[AS_HELP_STRING([--with-only-real-avx-block2-kernel],[only compile real-avx-block2-kernel for real case])],[],[with_real_avx_block2_kernel=no])
if test x"${with_real_avx_block2_kernel}" = x"yes" ; then
......@@ -1119,7 +1119,7 @@ if test x"${with_real_avx_block2_kernel}" = x"yes" ; then
fi
dnl real-avx-block4 kernel
AC_ARG_WITH([-only-real-avx-block4-kernel],
AC_ARG_WITH([only-real-avx-block4-kernel],
[AS_HELP_STRING([--with-only-real-avx-block4-kernel],[only compile real-avx-block4-kernel for real case])],[],[with_real_avx_block4_kernel=no])
if test x"${with_real_avx_block4_kernel}" = x"yes" ; then
......@@ -1147,7 +1147,7 @@ if test x"${with_real_avx_block4_kernel}" = x"yes" ; then
fi
dnl real-avx-block6 kernel
AC_ARG_WITH([-only-real-avx-block6-kernel],
AC_ARG_WITH([only-real-avx-block6-kernel],
[AS_HELP_STRING([--with-only-real-avx-block6-kernel],[only compile real-avx-block6-kernel for real case])],[],[with_real_avx_block6_kernel=no])
if test x"${with_real_avx_block6_kernel}" = x"yes" ; then
......@@ -1180,7 +1180,7 @@ dnl
dnl complex kernels
dnl
dnl generic kernel
AC_ARG_WITH([-only-complex-generic-kernel],
AC_ARG_WITH([only-complex-generic-kernel],
[AS_HELP_STRING([--with-only-complex-generic-kernel],[only compile generic-kernel for complex case])],[],[with_complex_generic_kernel=no])
if test x"${with_complex_generic_kernel}" = x"yes" ; then
......@@ -1204,7 +1204,7 @@ if test x"${with_complex_generic_kernel}" = x"yes" ; then
fi
dnl generic-simple kernel
AC_ARG_WITH([-only-complex-generic-simple-kernel],
AC_ARG_WITH([only-complex-generic-simple-kernel],
[AS_HELP_STRING([--with-only-complex-generic-simple-kernel],[only compile generic-simple-kernel for complex case])],[],[with_complex_generic_simple_kernel=no])
if test x"${with_complex_generic_simple_kernel}" = x"yes" ; then
......@@ -1229,7 +1229,7 @@ if test x"${with_complex_generic_simple_kernel}" = x"yes" ; then
fi
dnl sse kernel
AC_ARG_WITH(-only-[complex-sse-kernel],
AC_ARG_WITH(only-[complex-sse-kernel],
[AS_HELP_STRING([--with-only-complex-sse-kernel],[only compile sse-kernel for complex case])],[],[with_complex_sse_kernel=no])
if test x"${with_complex_sse_kernel}" = x"yes" ; then
......@@ -1257,7 +1257,7 @@ if test x"${with_complex_sse_kernel}" = x"yes" ; then
fi
dnl complex-bqp kernel
AC_ARG_WITH([-only-complex-bgp-kernel],
AC_ARG_WITH([only-complex-bgp-kernel],
[AS_HELP_STRING([--with-only-complex-bgp-kernel],[only compile BGP-kernel (identical with complex-generic kernel) for complex case])],[],[with_complex_bgp_kernel=no])
if test x"${with_complex_bgp_kernel}" = x"yes" ; then
......@@ -1286,7 +1286,7 @@ fi
dnl complex-bqq kernel
AC_ARG_WITH([-only-complex-bgq-kernel],
AC_ARG_WITH([only-complex-bgq-kernel],
[AS_HELP_STRING([--with-only-complex-bgq-kernel],[only compile BGQ-kernel (identical with complex-generic kernel) for complex case])],[],[with_complex_bgq_kernel=no])
if test x"${with_complex_bgq_kernel}" = x"yes" ; then
......@@ -1314,7 +1314,7 @@ if test x"${with_complex_bgq_kernel}" = x"yes" ; then
fi
dnl complex-avx-block1 kernel
AC_ARG_WITH([-only-complex-avx-block1-kernel],
AC_ARG_WITH([only-complex-avx-block1-kernel],
[AS_HELP_STRING([--with-only-complex-avx-block1-kernel],[only compile complex-avx-block1-kernel for complex case])],[],[with_complex_avx_block1_kernel=no])
if test x"${with_complex_avx_block1_kernel}" = x"yes" ; then
......@@ -1340,7 +1340,7 @@ if test x"${with_complex_avx_block1_kernel}" = x"yes" ; then
fi
dnl complex-avx-block2 kernel
AC_ARG_WITH([-only-complex-avx-block2-kernel],
AC_ARG_WITH([only-complex-avx-block2-kernel],
[AS_HELP_STRING([--with-only-complex-avx-block2-kernel],[only compile complex-avx-block2-kernel for complex case])],[],[with_complex_avx_block2_kernel=no])
if test x"${with_complex_avx_block2_kernel}" = x"yes" ; then
......@@ -1371,7 +1371,6 @@ if test x"${can_use_iso_fortran_env}" = x"yes" ; then
AC_DEFINE([HAVE_ISO_FORTRAN_ENV],[1],[can use module iso_fortran_env])
fi
AM_CONDITIONAL([WITH_REAL_GENERIC_KERNEL],[test x"$install_real_generic" = x"yes"])
if test x"${install_real_generic}" = x"yes" ; then
AC_DEFINE([WITH_REAL_GENERIC_KERNEL],[1],[can use real generic kernel])
......@@ -1383,7 +1382,7 @@ if test x"${install_complex_generic}" = x"yes" ; then
fi
AM_CONDITIONAL([WITH_REAL_GENERIC_SIMPLE_KERNEL],[test x"$install_real_generic_simple" = x"yes"])
if test x"${install_real_generic_simple}" = x"yes" ; then
if test x"${install_real_generic_simple}" = x"yes" ; then
AC_DEFINE([WITH_REAL_GENERIC_SIMPLE_KERNEL],[1],[can use real generic-simple kernel])
fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment