Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Chameleon
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
AGULLO Emmanuel
Chameleon
Commits
b7c13137
Commit
b7c13137
authored
Jan 30, 2015
by
PRUVOST Florent
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add ifcore lib to test a lapacke function in case ifort but not blas mkl
parent
8e21f400
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
cmake_modules/morse/find/FindLAPACKE.cmake
cmake_modules/morse/find/FindLAPACKE.cmake
+2
-0
No files found.
cmake_modules/morse/find/FindLAPACKE.cmake
View file @
b7c13137
...
...
@@ -238,6 +238,8 @@ if (LAPACK_FOUND)
set
(
CMAKE_REQUIRED_LIBRARIES
"
${
LAPACKE_LIBRARIES
}
;
${
LAPACK_LIBRARIES
}
;-lm"
)
if
(
CMAKE_Fortran_COMPILER MATCHES
".+gfortran.*"
)
list
(
APPEND CMAKE_REQUIRED_LIBRARIES
"-lgfortran"
)
elseif
(
CMAKE_Fortran_COMPILER MATCHES
".+ifort.*"
)
list
(
APPEND CMAKE_REQUIRED_LIBRARIES
"-lifcore"
)
endif
()
set
(
CMAKE_REQUIRED_FLAGS
"-L
${
LAPACKE_LIBRARY_DIRS
}
-L
${
LAPACK_LIBRARY_DIRS
}
"
)
...
...
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