File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ addons:
43
43
# boost-latest contains boost v1.55
44
44
- boost-latest
45
45
packages :
46
+ - gfortran
46
47
# g++-4.8 is minimum version considered to be the first good c++11 gnu compiler
47
48
# - g++-4.8
48
49
# - clang-3.6
Original file line number Diff line number Diff line change @@ -82,8 +82,8 @@ message( STATUS "You have confirmed OpenCL ${OPENCL_VERSION} is supported in you
82
82
if ( APPLE )
83
83
set (CORR_TEST_WITH_ACML OFF CACHE BOOL "Use ACML library in correctness tests" )
84
84
else ( )
85
- message (STATUS "CORR_TEST_WITH_ACML set to ON " )
86
- set (CORR_TEST_WITH_ACML ON CACHE BOOL "Use ACML library in correctness tests" )
85
+ message (STATUS "CORR_TEST_WITH_ACML set to OFF. Try link with libblas.so " )
86
+ set (CORR_TEST_WITH_ACML OFF CACHE BOOL "Use ACML library in correctness tests" )
87
87
endif ( )
88
88
89
89
if ( CMAKE_GENERATOR MATCHES "NMake" )
Original file line number Diff line number Diff line change @@ -74,10 +74,10 @@ endif( )
74
74
75
75
# The library name available from Netlib has different names for 64bit and 32bit libs
76
76
if ( LIB64 )
77
- set ( Netlib_BLAS_LIBNAME libblas )
77
+ set ( Netlib_BLAS_LIBNAME blas )
78
78
# set( Netlib_BLAS_LIBNAME BLAS ) Even though the download is named BLAS, the linker expects the .dll to be called libblas.dll
79
79
else ( )
80
- set ( Netlib_BLAS_LIBNAME libblas )
80
+ set ( Netlib_BLAS_LIBNAME blas )
81
81
endif ( )
82
82
83
83
list ( FIND Netlib_FIND_COMPONENTS BLAS contains_BLAS )
@@ -91,6 +91,7 @@ if( NOT contains_BLAS EQUAL -1 )
91
91
PATHS
92
92
/usr/lib
93
93
/usr/local/lib
94
+ /usr/lib/libblas
94
95
DOC "Netlib dynamic library path"
95
96
PATH_SUFFIXES lib
96
97
)
You can’t perform that action at this time.
0 commit comments