Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
b34b25a1
Commit
b34b25a1
authored
Jan 22, 2013
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Expanded the set of folder we search when looking for BLAS and
LAPACK.
parent
98628bfe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
5 deletions
+14
-5
cmake_find_blas.txt
dlib/cmake_find_blas.txt
+14
-5
No files found.
dlib/cmake_find_blas.txt
View file @
b34b25a1
...
...
@@ -70,9 +70,18 @@ if (UNIX)
# try to find some other LAPACK libraries if we didn't find the MKL
set(extra_paths
/usr/lib64
/usr/lib64/atlas-sse3
/usr/lib64/atlas-sse2
/usr/lib64/atlas
/usr/lib/atlas-sse3
/usr/lib/atlas-sse2
/usr/lib/atlas)
if (NOT lapack_found)
find_library(lapack_lib NAMES lapack lapack-3)
find_library(lapack_lib NAMES lapack lapack-3
PATHS ${extra_paths}
)
if (lapack_lib)
set(lapack_libraries ${lapack_lib})
set(lapack_found 1)
...
...
@@ -85,8 +94,8 @@ if (UNIX)
# try to find some other BLAS libraries if we didn't find the MKL
if (NOT blas_found)
find_library(atlas_lib atlas)
find_library(cblas_lib cblas)
find_library(atlas_lib atlas
PATHS ${extra_paths}
)
find_library(cblas_lib cblas
PATHS ${extra_paths}
)
if (atlas_lib AND cblas_lib)
set(blas_libraries ${atlas_lib} ${cblas_lib})
set(blas_found 1)
...
...
@@ -97,7 +106,7 @@ if (UNIX)
if (NOT blas_found)
find_library(cblas_lib cblas)
find_library(cblas_lib cblas
PATHS ${extra_paths}
)
if (cblas_lib)
set(blas_libraries ${cblas_lib})
set(blas_found 1)
...
...
@@ -108,7 +117,7 @@ if (UNIX)
if (NOT blas_found)
find_library(generic_blas blas)
find_library(generic_blas blas
PATHS ${extra_paths}
)
if (generic_blas)
set(blas_libraries ${generic_blas})
set(blas_found 1)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment