Browse code

Reverting openblas usage check

Francisco D. MorĂ³n-Duran authored on 29/07/2019 13:58:02
Showing2 changed files

... ...
@@ -3338,18 +3338,6 @@ if test "x$use_pthread_stack_min" = xno; then
3338 3338
 fi
3339 3339
 
3340 3340
 
3341
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if R is using openblas" >&5
3342
-$as_echo_n "checking if R is using openblas... " >&6; }
3343
-BLAS_LIBS=`"${R_HOME}/bin/R" CMD config BLAS_LIBS`
3344
-if echo "${BLAS_LIBS}" | grep openblas > /dev/null; then
3345
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: openblas found. preprocessCore threading will be disabled" >&5
3346
-$as_echo "openblas found. preprocessCore threading will be disabled" >&6; }
3347
-    use_pthreads=no
3348
-else
3349
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: openblas not found. preprocessCore threading will not be disabled" >&5
3350
-$as_echo "openblas not found. preprocessCore threading will not be disabled" >&6; }
3351
-fi
3352
-
3353 3341
 
3354 3342
 # Check whether --enable-threading was given.
3355 3343
 if test "${enable_threading+set}" = set; then :
... ...
@@ -55,14 +55,6 @@ if test "x$use_pthread_stack_min" = xno; then
55 55
 fi
56 56
 
57 57
 
58
-AC_MSG_CHECKING([if R is using openblas])
59
-BLAS_LIBS=`"${R_HOME}/bin/R" CMD config BLAS_LIBS`
60
-if echo "${BLAS_LIBS}" | grep openblas > /dev/null; then
61
-    AC_MSG_RESULT([openblas found. preprocessCore threading will be disabled])
62
-    use_pthreads=no
63
-else
64
-    AC_MSG_RESULT([openblas not found. preprocessCore threading will not be disabled])
65
-fi
66 58
 
67 59
 
68 60
 AC_ARG_ENABLE([threading],