Commit 7ff38402 authored by Mulas, Giacomo's avatar Mulas, Giacomo
Browse files

Add explicit support for openblas64, since it was fixed in debian

parent 0cc7e71c
Loading
Loading
Loading
Loading
+16 −0
Original line number Diff line number Diff line
@@ -25233,6 +25233,14 @@ then :
        if test "x$result" = "x0"; then
          # BLAS was found
	  export BLASLDFLAGS=$(pkg-config --libs blas${LAPACK_LDSPEC})
	else
          declare -a pkg_array=$(pkg-config --list-all | grep openblas${LAPACK_LDSPEC})
          for i in "${pkg_array[@]}"; do echo "$i" | cut --delimiter=" " -f1; done | grep openblas${LAPACK_LDSPEC} > /dev/null
          result=$?
          if test "x$result" = "x0"; then
            # OPENBLAS was found
	    export BLASLDFLAGS=$(pkg-config --libs openblas${LAPACK_LDSPEC})
	  fi
        fi # end of BLAS decision tree
        # search for LAPACKe
        declare -a pkg_array=$(pkg-config --list-all | grep lapacke${LAPACK_LDSPEC})
@@ -25335,6 +25343,14 @@ else case e in #(
        if test "x$result" = "x0"; then
          # BLAS was found
	  export BLASLDFLAGS=$(pkg-config --libs blas${LAPACK_LDSPEC})
	else
          declare -a pkg_array=$(pkg-config --list-all | grep openblas${LAPACK_LDSPEC})
          for i in "${pkg_array[@]}"; do echo "$i" | cut --delimiter=" " -f1; done | grep openblas${LAPACK_LDSPEC} > /dev/null
          result=$?
          if test "x$result" = "x0"; then
            # OPENBLAS was found
	    export BLASLDFLAGS=$(pkg-config --libs openblas${LAPACK_LDSPEC})
	  fi
        fi # end of BLAS decision tree
        # search for LAPACKe
        declare -a pkg_array=$(pkg-config --list-all | grep lapacke${LAPACK_LDSPEC})
+8 −0
Original line number Diff line number Diff line
@@ -114,6 +114,14 @@ m4_define(
        if test "x$result" = "x0"; then
          # BLAS was found
	  export BLASLDFLAGS=$(pkg-config --libs blas${LAPACK_LDSPEC})
	else
          declare -a pkg_array=$(pkg-config --list-all | grep openblas${LAPACK_LDSPEC})
          for i in "${pkg_array[[@]]}"; do echo "$i" | cut --delimiter=" " -f1; done | grep openblas${LAPACK_LDSPEC} > /dev/null
          result=$?
          if test "x$result" = "x0"; then
            # OPENBLAS was found
	    export BLASLDFLAGS=$(pkg-config --libs openblas${LAPACK_LDSPEC})
	  fi
        fi # end of BLAS decision tree
        # search for LAPACKe
        declare -a pkg_array=$(pkg-config --list-all | grep lapacke${LAPACK_LDSPEC})