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
S
ScalFMM
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
5
Issues
5
List
Boards
Labels
Service Desk
Milestones
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
solverstack
ScalFMM
Commits
68cb9665
Commit
68cb9665
authored
Mar 09, 2015
by
Florent Pruvost
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
separate cmake vars: 1) dir given by users and 2) the dir where the library has been actually found
parent
9a0d303a
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
279 additions
and
277 deletions
+279
-277
CMakeModules/morse/find/FindBLAS.cmake
CMakeModules/morse/find/FindBLAS.cmake
+3
-3
CMakeModules/morse/find/FindFFTW.cmake
CMakeModules/morse/find/FindFFTW.cmake
+273
-271
CMakeModules/morse/find/FindLAPACK.cmake
CMakeModules/morse/find/FindLAPACK.cmake
+3
-3
No files found.
CMakeModules/morse/find/FindBLAS.cmake
View file @
68cb9665
...
...
@@ -971,14 +971,14 @@ endif(BLA_F95)
set
(
CMAKE_FIND_LIBRARY_SUFFIXES
${
_blas_ORIG_CMAKE_FIND_LIBRARY_SUFFIXES
}
)
if
(
BLAS_FOUND
AND NOT BLAS_DIR
)
if
(
BLAS_FOUND
)
list
(
GET BLAS_LIBRARIES 0 first_lib
)
get_filename_component
(
first_lib_path
"
${
first_lib
}
"
PATH
)
if
(
${
first_lib_path
}
MATCHES
"(/lib(32|64)?$)|(/lib/intel64$|/lib/ia32$)"
)
string
(
REGEX REPLACE
"(/lib(32|64)?$)|(/lib/intel64$|/lib/ia32$)"
""
not_cached_dir
"
${
first_lib_path
}
"
)
set
(
BLAS_DIR
"
${
not_cached_dir
}
"
CACHE PATH
"Installation directory of BLAS library"
FORCE
)
set
(
BLAS_DIR
_FOUND
"
${
not_cached_dir
}
"
CACHE PATH
"Installation directory of BLAS library"
FORCE
)
else
()
set
(
BLAS_DIR
"
${
first_lib_path
}
"
CACHE PATH
"Installation directory of BLAS library"
FORCE
)
set
(
BLAS_DIR
_FOUND
"
${
first_lib_path
}
"
CACHE PATH
"Installation directory of BLAS library"
FORCE
)
endif
()
endif
()
CMakeModules/morse/find/FindFFTW.cmake
View file @
68cb9665
This diff is collapsed.
Click to expand it.
CMakeModules/morse/find/FindLAPACK.cmake
View file @
68cb9665
...
...
@@ -553,13 +553,13 @@ endif(BLA_F95)
set
(
CMAKE_FIND_LIBRARY_SUFFIXES
${
_lapack_ORIG_CMAKE_FIND_LIBRARY_SUFFIXES
}
)
if
(
LAPACK_FOUND
AND NOT LAPACK_DIR
)
if
(
LAPACK_FOUND
)
list
(
GET LAPACK_LIBRARIES 0 first_lib
)
get_filename_component
(
first_lib_path
"
${
first_lib
}
"
PATH
)
if
(
${
first_lib_path
}
MATCHES
"(/lib(32|64)?$)|(/lib/intel64$|/lib/ia32$)"
)
string
(
REGEX REPLACE
"(/lib(32|64)?$)|(/lib/intel64$|/lib/ia32$)"
""
not_cached_dir
"
${
first_lib_path
}
"
)
set
(
LAPACK_DIR
"
${
not_cached_dir
}
"
CACHE PATH
"Installation directory of LAPACK library"
FORCE
)
set
(
LAPACK_DIR
_FOUND
"
${
not_cached_dir
}
"
CACHE PATH
"Installation directory of LAPACK library"
FORCE
)
else
()
set
(
LAPACK_DIR
"
${
first_lib_path
}
"
CACHE PATH
"Installation directory of LAPACK library"
FORCE
)
set
(
LAPACK_DIR
_FOUND
"
${
first_lib_path
}
"
CACHE PATH
"Installation directory of LAPACK library"
FORCE
)
endif
()
endif
()
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