[arrayfire] 75/84: Changes to find OpenBLAS as lapack and lapacke alternative

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Mon Jan 4 23:22:28 UTC 2016


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch master
in repository arrayfire.

commit 0c7789314b747f356d471c53a56c37f8d1b44d2c
Author: Pavan Yalamanchili <pavan at arrayfire.com>
Date:   Tue Dec 29 20:38:05 2015 -0500

    Changes to find OpenBLAS as lapack and lapacke alternative
    
    - Needed when liblapack or liblapacke are not symlinked to libopenblas
---
 CMakeModules/FindLAPACKE.cmake | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/CMakeModules/FindLAPACKE.cmake b/CMakeModules/FindLAPACKE.cmake
index 945ba0c..3bf8a1f 100644
--- a/CMakeModules/FindLAPACKE.cmake
+++ b/CMakeModules/FindLAPACKE.cmake
@@ -27,7 +27,7 @@ IF(PC_LAPACKE_FOUND)
       IF (NOT ${PC_LIB}_LIBRARY)
         MESSAGE(FATAL_ERROR "Something is wrong in your pkg-config file - lib ${PC_LIB} not found in ${PC_LAPACKE_LIBRARY_DIRS}")
       ENDIF (NOT ${PC_LIB}_LIBRARY)
-      LIST(APPEND LAPACKE_LIB ${${PC_LIB}_LIBRARY}) 
+      LIST(APPEND LAPACKE_LIB ${${PC_LIB}_LIBRARY})
     ENDFOREACH(PC_LIB)
 
     FIND_PATH(
@@ -78,7 +78,7 @@ ELSE(PC_LAPACKE_FOUND)
     ELSE()
         FIND_LIBRARY(
             LAPACKE_LIB
-            NAMES "lapacke" "liblapacke"
+            NAMES "lapacke" "liblapacke" "openblas"
             PATHS
             ${PC_LAPACKE_LIBRARY_DIRS}
             ${LIB_INSTALL_DIR}
@@ -92,7 +92,7 @@ ELSE(PC_LAPACKE_FOUND)
             )
         FIND_LIBRARY(
            LAPACK_LIB
-            NAMES "lapack" "liblapack"
+            NAMES "lapack" "liblapack" "openblas"
             PATHS
             ${PC_LAPACKE_LIBRARY_DIRS}
             ${LIB_INSTALL_DIR}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/arrayfire.git



More information about the debian-science-commits mailing list