• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

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

Commit MetaInfo

Revisión12a6c65653f4683c5758424a0be7afbb1e985931 (tree)
Tiempo2013-01-25 16:53:30
AutorKatsuhiko Nishimra <ktns.87@gmai...>
CommiterKatsuhiko Nishimra

Log Message

Remove checks for mkl BLAS interface functions. #28588 #30566

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

Cambiar Resumen

Diferencia incremental

--- a/src/config.h.in
+++ b/src/config.h.in
@@ -44,21 +44,6 @@
4444 /* Define to 1 if you have the <cblas.h> header file. */
4545 #undef HAVE_CBLAS_H
4646
47-/* Define to 1 if you have the `daxpy' function. */
48-#undef HAVE_DAXPY
49-
50-/* Define to 1 if you have the `dcopy' function. */
51-#undef HAVE_DCOPY
52-
53-/* Define to 1 if you have the `ddot' function. */
54-#undef HAVE_DDOT
55-
56-/* Define to 1 if you have the `dgemm' function. */
57-#undef HAVE_DGEMM
58-
59-/* Define to 1 if you have the `dgemv' function. */
60-#undef HAVE_DGEMV
61-
6247 /* Define to 1 if you have the `dgetrf' function. */
6348 #undef HAVE_DGETRF
6449
@@ -68,12 +53,6 @@
6853 /* Define to 1 if you have the `dsyevd' function. */
6954 #undef HAVE_DSYEVD
7055
71-/* Define to 1 if you have the `dsymv' function. */
72-#undef HAVE_DSYMV
73-
74-/* Define to 1 if you have the `dsyr' function. */
75-#undef HAVE_DSYR
76-
7756 /* Define to 1 if you have the `dsysv' function. */
7857 #undef HAVE_DSYSV
7958
--- a/src/configure
+++ b/src/configure
@@ -7001,7 +7001,7 @@ as_fn_error $? "Cannot find mkl.h or blas.h!
70017001 See \`config.log' for more details" "$LINENO" 5; }
70027002 fi
70037003
7004-for ac_func in dcopy daxpy ddot dgemv dgemm dsymv dsyr
7004+for ac_func in cblas_dcopy cblas_daxpy cblas_ddot cblas_dgemv cblas_dgemm cblas_dsymv cblas_dsyr
70057005 do :
70067006 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70077007 ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var"
@@ -7017,23 +7017,6 @@ done
70177017
70187018
70197019 if test x$molds_blas_cinterface_found != xyes; then :
7020- for ac_func in cblas_dcopy cblas_daxpy cblas_ddot cblas_dgemv cblas_dgemm cblas_dsymv cblas_dsyr
7021-do :
7022- as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7023-ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var"
7024-if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7025- cat >>confdefs.h <<_ACEOF
7026-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7027-_ACEOF
7028- molds_blas_cinterface_found=yes
7029-else
7030- molds_blas_cinterface_found=no;break
7031-fi
7032-done
7033-
7034-fi
7035-
7036-if test x$molds_blas_cinterface_found != xyes; then :
70377020 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70387021 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70397022 as_fn_error $? "Cannot find C interface functions of BLAS!
--- a/src/configure.ac
+++ b/src/configure.ac
@@ -91,15 +91,10 @@ AC_CHECK_HEADERS([mkl.h cblas.h],[molds_blas_header_found=yes],)
9191 AS_IF([test "x$molds_blas_header_found" != "xyes"],
9292 [AC_MSG_FAILURE([Cannot find mkl.h or blas.h!])])
9393
94-dnl Check for BLAS C interface
95-AC_CHECK_FUNCS([dcopy daxpy ddot dgemv dgemm dsymv dsyr],
96- [molds_blas_cinterface_found=yes],
97- [molds_blas_cinterface_found=no;break])
98-
99-AS_IF([test x$molds_blas_cinterface_found != xyes],
100- [AC_CHECK_FUNCS([cblas_dcopy cblas_daxpy cblas_ddot cblas_dgemv cblas_dgemm cblas_dsymv cblas_dsyr],
101- [molds_blas_cinterface_found=yes],
102- [molds_blas_cinterface_found=no;break])])
94+dnl Check for CBLAS
95+AC_CHECK_FUNCS([cblas_dcopy cblas_daxpy cblas_ddot cblas_dgemv cblas_dgemm cblas_dsymv cblas_dsyr],
96+ [molds_blas_cinterface_found=yes],
97+ [molds_blas_cinterface_found=no;break])
10398
10499 AS_IF([test x$molds_blas_cinterface_found != xyes],
105100 [AC_MSG_FAILURE([Cannot find C interface functions of BLAS!])])