File: blas.patch

package info (click to toggle)
hypre 3.0.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 58,112 kB
  • sloc: ansic: 408,221; cpp: 62,971; sh: 12,091; fortran: 9,433; makefile: 3,328; perl: 2,994; awk: 147; python: 126
file content (28 lines) | stat: -rw-r--r-- 1,004 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
--- a/src/config/hypre_blas_macros.m4
+++ b/src/config/hypre_blas_macros.m4
@@ -67,8 +67,8 @@
 #***************************************************************
 #   Set search paths for BLAS library
 #***************************************************************
-  temp_FLAGS="-L/usr/lib -L/usr/local/lib -L/lib -L/opt/intel/mkl70/lib/32"
-  LDFLAGS="$temp_FLAGS $LDFLAGS"
+#  temp_FLAGS="-L/usr/lib -L/usr/local/lib -L/lib -L/opt/intel/mkl70/lib/32"
+#  LDFLAGS="$temp_FLAGS $LDFLAGS"
 
 #***************************************************************
 #   Check for function dgemm in BLAS_LIB_NAMES
@@ -113,10 +113,14 @@
 #***************************************************************
   if test "$BLASLIBS" != "null" -a "$BLASLIBS" != "internal"; then
      BLASLIBS="-l$BLASLIBS"
+  else
+     BLASLIBS=""
   fi
 
   if test "$BLASLIBDIRS" != "null"; then
      BLASLIBDIRS="-L$BLASLIBDIRS"
+  else
+     BLASLIBDIRS=""
   fi
 
 #***************************************************************