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
318cf5bf
Commit
318cf5bf
authored
Mar 04, 2015
by
Florent Pruvost
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add gcc flag --no-as-needed only if gnu and Linux
parent
ed1bd46a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
3 deletions
+11
-3
CMakeModules/morse/find/FindBLAS.cmake
CMakeModules/morse/find/FindBLAS.cmake
+4
-1
CMakeModules/morse/find/FindFFTW.cmake
CMakeModules/morse/find/FindFFTW.cmake
+3
-1
CMakeModules/morse/find/FindLAPACK.cmake
CMakeModules/morse/find/FindLAPACK.cmake
+4
-1
No files found.
CMakeModules/morse/find/FindBLAS.cmake
View file @
318cf5bf
...
...
@@ -307,7 +307,10 @@ if (BLA_VENDOR MATCHES "Intel*" OR BLA_VENDOR STREQUAL "All")
set
(
BLAS_SEARCH_LIBS
""
)
set
(
additional_flags
"-Wl,--no-as-needed"
)
set
(
additional_flags
""
)
if
(
CMAKE_C_COMPILER_ID STREQUAL
"GNU"
AND CMAKE_SYSTEM_NAME STREQUAL
"Linux"
)
set
(
additional_flags
"-Wl,--no-as-needed"
)
endif
()
if
(
BLA_F95
)
...
...
CMakeModules/morse/find/FindFFTW.cmake
View file @
318cf5bf
...
...
@@ -373,7 +373,9 @@ if( NOT FFTW_FOUND )
# MKL
if
(
FFTW_LOOK_FOR_MKL
)
list
(
APPEND REQUIRED_LIBS
"
${
CMAKE_THREAD_LIBS_INIT
}
;-lm"
)
list
(
APPEND REQUIRED_LDFLAGS
"-Wl,--no-as-needed"
)
if
(
CMAKE_C_COMPILER_ID STREQUAL
"GNU"
AND CMAKE_SYSTEM_NAME STREQUAL
"Linux"
)
list
(
APPEND REQUIRED_LDFLAGS
"-Wl,--no-as-needed"
)
endif
()
endif
()
# set required libraries for link
...
...
CMakeModules/morse/find/FindLAPACK.cmake
View file @
318cf5bf
...
...
@@ -366,7 +366,10 @@ if (BLA_VENDOR MATCHES "Intel" OR BLA_VENDOR STREQUAL "All")
set
(
LAPACK_SEARCH_LIBS
""
)
set
(
additional_flags
"-Wl,--no-as-needed"
)
set
(
additional_flags
""
)
if
(
CMAKE_C_COMPILER_ID STREQUAL
"GNU"
AND CMAKE_SYSTEM_NAME STREQUAL
"Linux"
)
set
(
additional_flags
"-Wl,--no-as-needed"
)
endif
()
if
(
BLA_F95
)
set
(
LAPACK_mkl_SEARCH_SYMBOL
"CHEEV"
)
...
...
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