• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

修訂e7077553e68b0421a20684f9565629ee54b95502 (tree)
時間2014-01-17 17:19:38
作者Katsuhiko Nishimra <ktns.87@gmai...>
CommiterKatsuhiko Nishimra

Log Message

Generate files by autoreconf 2.69 with automake 1.11.6. #28588

git-svn-id: https://svn.sourceforge.jp/svnroot/molds/branches/automake@1656 1136aad2-a195-0410-b898-f5ea1d11b9d8

Change Summary

差異

--- a/src/configure
+++ b/src/configure
@@ -742,6 +742,7 @@ enable_release
742742 enable_dependency_tracking
743743 with_openblas
744744 with_blas
745+with_mkl
745746 with_lapack
746747 with_boost
747748 with_boost_libdir
@@ -1392,6 +1393,9 @@ Optional Packages:
13921393 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
13931394 --with-openblas=DIR Use OpenBLAS library.
13941395 --with-blas=<lib> use BLAS library <lib>
1396+ --with-mkl=<lib> use Intel MKL. you can specify
1397+ --with-mkl=sequential/parallel to select
1398+ parallelism. Default is sequential.
13951399 --with-lapack=<lib> use LAPACK library <lib>
13961400 --with-boost[=ARG] use Boost library from a standard location
13971401 (ARG=yes), from the specified location (ARG=<path>),
@@ -5964,6 +5968,20 @@ case $with_blas in
59645968 *) BLAS_LIBS="-l$with_blas" ;;
59655969 esac
59665970
5971+
5972+# Check whether --with-mkl was given.
5973+if test "${with_mkl+set}" = set; then :
5974+ withval=$with_mkl;
5975+fi
5976+
5977+case $with_mkl_thread in
5978+ yes | sequential | "") ax_blas_mkl=-lmkl_sequential ;;
5979+ parallel | thread) ax_blas_mkl=-lmkl_intel_thread ;;
5980+ no) ax_blas_mkl=no ;;
5981+ -* | */* | *.a | *.so | *.so.* | *.o) ax_blas_mkl="$with_mkl_thread" ;;
5982+ *) ax_blas_mkl="-l$with_blas" ;;
5983+esac
5984+
59675985 # Get fortran linker names of BLAS functions to check for.
59685986 ac_ext=f
59695987 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
@@ -6094,7 +6112,7 @@ $as_echo "$ax_blas_ok" >&6; }
60946112 fi
60956113
60966114 # BLAS in Intel MKL library?
6097-if test $ax_blas_ok = no; then
6115+if test $ax_blas_ok = no && test x$ax_blas_mkl != xno ; then
60986116 # MKL for gfortran
60996117 if test x"$ac_cv_fc_compiler_gnu" = xyes; then
61006118 # 64 bit
@@ -6106,7 +6124,7 @@ if eval \${$as_ac_Lib+:} false; then :
61066124 $as_echo_n "(cached) " >&6
61076125 else
61086126 ac_check_lib_save_LIBS=$LIBS
6109-LIBS="-lmkl_gf_ilp64 -lmkl_gf_ilp64 -lmkl_sequential -lmkl_core -lpthread $LIBS"
6127+LIBS="-lmkl_gf_ilp64 -lmkl_gf_ilp64 $ax_blas_mkl -lmkl_core -lpthread $LIBS"
61106128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61116129 /* end confdefs.h. */
61126130
@@ -6146,7 +6164,7 @@ eval ac_res=\$$as_ac_Lib
61466164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
61476165 $as_echo "$ac_res" >&6; }
61486166 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
6149- ax_blas_ok=yes;BLAS_LIBS="-lmkl_gf_ilp64 -lmkl_sequential -lmkl_core -lpthread"
6167+ ax_blas_ok=yes;BLAS_LIBS="-lmkl_gf_ilp64 $ax_blas_mkl -lmkl_core -lpthread"
61506168 fi
61516169
61526170 # 32 bit
@@ -6158,7 +6176,7 @@ if eval \${$as_ac_Lib+:} false; then :
61586176 $as_echo_n "(cached) " >&6
61596177 else
61606178 ac_check_lib_save_LIBS=$LIBS
6161-LIBS="-lmkl_gf -lmkl_gf -lmkl_sequential -lmkl_core -lpthread $LIBS"
6179+LIBS="-lmkl_gf -lmkl_gf $ax_blas_mkl -lmkl_core -lpthread $LIBS"
61626180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61636181 /* end confdefs.h. */
61646182
@@ -6198,7 +6216,7 @@ eval ac_res=\$$as_ac_Lib
61986216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
61996217 $as_echo "$ac_res" >&6; }
62006218 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
6201- ax_blas_ok=yes;BLAS_LIBS="-lmkl_gf -lmkl_sequential -lmkl_core -lpthread"
6219+ ax_blas_ok=yes;BLAS_LIBS="-lmkl_gf $ax_blas_mkl -lmkl_core -lpthread"
62026220 fi
62036221
62046222 fi
@@ -6213,7 +6231,7 @@ if eval \${$as_ac_Lib+:} false; then :
62136231 $as_echo_n "(cached) " >&6
62146232 else
62156233 ac_check_lib_save_LIBS=$LIBS
6216-LIBS="-lmkl_intel_ilp64 -lmkl_intel_ilp64 -lmkl_sequential -lmkl_core -lpthread $LIBS"
6234+LIBS="-lmkl_intel_ilp64 -lmkl_intel_ilp64 $ax_blas_mkl -lmkl_core -lpthread $LIBS"
62176235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62186236 /* end confdefs.h. */
62196237
@@ -6253,7 +6271,7 @@ eval ac_res=\$$as_ac_Lib
62536271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
62546272 $as_echo "$ac_res" >&6; }
62556273 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
6256- ax_blas_ok=yes;BLAS_LIBS="-lmkl_intel_ilp64 -lmkl_sequential -lmkl_core -lpthread"
6274+ ax_blas_ok=yes;BLAS_LIBS="-lmkl_intel_ilp64 $ax_blas_mkl -lmkl_core -lpthread"
62576275 fi
62586276
62596277 # 32-bit
@@ -6265,7 +6283,7 @@ if eval \${$as_ac_Lib+:} false; then :
62656283 $as_echo_n "(cached) " >&6
62666284 else
62676285 ac_check_lib_save_LIBS=$LIBS
6268-LIBS="-lmkl_intel -lmkl_intel -lmkl_sequential -lmkl_core -lpthread $LIBS"
6286+LIBS="-lmkl_intel -lmkl_intel $ax_blas_mkl -lmkl_core -lpthread $LIBS"
62696287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62706288 /* end confdefs.h. */
62716289
@@ -6305,14 +6323,14 @@ eval ac_res=\$$as_ac_Lib
63056323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
63066324 $as_echo "$ac_res" >&6; }
63076325 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
6308- ax_blas_ok=yes;BLAS_LIBS="-lmkl_intel -lmkl_sequential -lmkl_core -lpthread"
6326+ ax_blas_ok=yes;BLAS_LIBS="-lmkl_intel $ax_blas_mkl -lmkl_core -lpthread"
63096327 fi
63106328
63116329 fi
63126330 fi
63136331 fi
63146332 # Old versions of MKL
6315-if test $ax_blas_ok = no; then
6333+if test $ax_blas_ok = no && test x$ax_blas_mkl != xno ; then
63166334 as_ac_Lib=`$as_echo "ac_cv_lib_mkl_$sgemm" | $as_tr_sh`
63176335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lmkl" >&5
63186336 $as_echo_n "checking for $sgemm in -lmkl... " >&6; }