• 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

Revisão014c888d8ac0fc60a374b03926e1438596aaa520 (tree)
Hora2012-12-26 18:10:41
AutorKatsuhiko Nishimra <ktns.87@gmai...>
CommiterKatsuhiko Nishimra

Mensagem de Log

Revert "Define MKL_INT=int64_t if ILP64 version of MKL is used. #28588"

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

Mudança Sumário

Diff

--- a/src/m4/ax_blas.m4
+++ b/src/m4/ax_blas.m4
@@ -116,13 +116,12 @@ if test $ax_blas_ok = no; then
116116 # 64 bit
117117 if test $host_cpu = x86_64; then
118118 AC_CHECK_LIB(mkl_gf_ilp64, $sgemm,
119- [ax_blas_ok=yes;BLAS_LIBS="-lmkl_gf_ilp64 -lmkl_sequential -lmkl_core -lpthread"]
120- [AC_DEFINE([MKL_INT], [int64_t], [Define this macro if you use 64bit int in mkl libarary])],,
119+ [ax_blas_ok=yes;BLAS_LIBS="-lmkl_gf_ilp64 -lmkl_sequential -lmkl_core -lpthread"],,
121120 [-lmkl_gf_ilp64 -lmkl_sequential -lmkl_core -lpthread])
122121 # 32 bit
123122 elif test $host_cpu = i686; then
124123 AC_CHECK_LIB(mkl_gf, $sgemm,
125- [ax_blas_ok=yes;BLAS_LIBS="-lmkl_gf -lmkl_sequential -lmkl_core -lpthread" ],,
124+ [ax_blas_ok=yes;BLAS_LIBS="-lmkl_gf -lmkl_sequential -lmkl_core -lpthread"],,
126125 [-lmkl_gf -lmkl_sequential -lmkl_core -lpthread])
127126 fi
128127 # MKL for other compilers (Intel, PGI, ...?)
@@ -130,8 +129,7 @@ if test $ax_blas_ok = no; then
130129 # 64-bit
131130 if test $host_cpu = x86_64; then
132131 AC_CHECK_LIB(mkl_intel_ilp64, $sgemm,
133- [ax_blas_ok=yes;BLAS_LIBS="-lmkl_intel_ilp64 -lmkl_sequential -lmkl_core -lpthread"]
134- [AC_DEFINE([MKL_INT], [int64_t], [Define this macro if you use 64bit int in mkl libarary])],,
132+ [ax_blas_ok=yes;BLAS_LIBS="-lmkl_intel_ilp64 -lmkl_sequential -lmkl_core -lpthread"],,
135133 [-lmkl_intel_ilp64 -lmkl_sequential -lmkl_core -lpthread])
136134 # 32-bit
137135 elif test $host_cpu = i686; then
@@ -149,7 +147,7 @@ fi
149147 # BLAS in OpenBLAS library? (http://xianyi.github.com/OpenBLAS/)
150148 if test $ax_blas_ok = no; then
151149 AC_CHECK_LIB(openblas, $sgemm, [ax_blas_ok=yes
152- BLAS_LIBS="-lopenblas"])
150+ BLAS_LIBS="-lopenblas"])
153151 fi
154152
155153 # BLAS in ATLAS library? (http://math-atlas.sourceforge.net/)
@@ -198,7 +196,7 @@ if test $ax_blas_ok = no; then
198196 AC_CHECK_LIB(sunmath, acosp,
199197 [AC_CHECK_LIB(sunperf, $sgemm,
200198 [BLAS_LIBS="-xlic_lib=sunperf -lsunmath"
201- ax_blas_ok=yes],[],[-lsunmath])])
199+ ax_blas_ok=yes],[],[-lsunmath])])
202200 fi
203201 fi
204202
@@ -210,7 +208,7 @@ fi
210208 # BLAS in SGIMATH library?
211209 if test $ax_blas_ok = no; then
212210 AC_CHECK_LIB(complib.sgimath, $sgemm,
213- [ax_blas_ok=yes; BLAS_LIBS="-lcomplib.sgimath"])
211+ [ax_blas_ok=yes; BLAS_LIBS="-lcomplib.sgimath"])
214212 fi
215213
216214 # BLAS in IBM ESSL library? (requires generic BLAS lib, too)
@@ -232,10 +230,10 @@ LIBS="$ax_blas_save_LIBS"
232230
233231 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
234232 if test x"$ax_blas_ok" = xyes; then
235- ifelse([$1],,AC_DEFINE(HAVE_BLAS,1,[Define if you have a BLAS library.]),[$1])
236- :
233+ ifelse([$1],,AC_DEFINE(HAVE_BLAS,1,[Define if you have a BLAS library.]),[$1])
234+ :
237235 else
238- ax_blas_ok=no
239- $2
236+ ax_blas_ok=no
237+ $2
240238 fi
241239 ])dnl AX_BLAS