Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Chameleon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
solverstack
Chameleon
Commits
cdd41c56
Commit
cdd41c56
authored
10 years ago
by
PRUVOST Florent
Browse files
Options
Downloads
Patches
Plain Diff
correct step0 build problem when BUILD_SHARED_LIBS=ON
parent
5b6c941d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
example/lapack_to_morse/CMakeLists.txt
+6
-2
6 additions, 2 deletions
example/lapack_to_morse/CMakeLists.txt
with
6 additions
and
2 deletions
example/lapack_to_morse/CMakeLists.txt
+
6
−
2
View file @
cdd41c56
...
@@ -66,7 +66,6 @@ endif()
...
@@ -66,7 +66,6 @@ endif()
# specific compilation for step0 because we potentially want to use
# specific compilation for step0 because we potentially want to use
# multithreaded BLAS and LAPACK libraries for this step
# multithreaded BLAS and LAPACK libraries for this step
unset
(
libs_for_step0
)
unset
(
libs_for_step0
)
list
(
APPEND libs_for_step0
${
libs_for_ltm
}
)
if
(
NOT CHAMELEON_SIMULATION
)
if
(
NOT CHAMELEON_SIMULATION
)
...
@@ -83,6 +82,8 @@ if(NOT CHAMELEON_SIMULATION)
...
@@ -83,6 +82,8 @@ if(NOT CHAMELEON_SIMULATION)
link_directories
(
${
MAGMA_LIBRARY_DIRS
}
)
link_directories
(
${
MAGMA_LIBRARY_DIRS
}
)
endif
()
endif
()
list
(
APPEND libs_for_step0
${
libs_for_ltm
}
)
list
(
APPEND libs_for_ltm
list
(
APPEND libs_for_ltm
coreblas
coreblas
${
LAPACKE_LIBRARIES
}
${
LAPACKE_LIBRARIES
}
...
@@ -150,7 +151,9 @@ endif()
...
@@ -150,7 +151,9 @@ endif()
link_directories
(
${
HWLOC_LIBRARY_DIRS
}
)
link_directories
(
${
HWLOC_LIBRARY_DIRS
}
)
# message(STATUS "libs timings: ${libs_for_ltm}")
list
(
REMOVE_DUPLICATES libs_for_ltm
)
# message(STATUS "libs examples: ${libs_for_ltm}")
foreach
(
_ltm
${
LTM_SOURCES
}
)
foreach
(
_ltm
${
LTM_SOURCES
}
)
get_filename_component
(
_name_exe
${
_ltm
}
NAME_WE
)
get_filename_component
(
_name_exe
${
_ltm
}
NAME_WE
)
add_executable
(
${
_name_exe
}
${
_ltm
}
)
add_executable
(
${
_name_exe
}
${
_ltm
}
)
...
@@ -161,6 +164,7 @@ foreach(_ltm ${LTM_SOURCES})
...
@@ -161,6 +164,7 @@ foreach(_ltm ${LTM_SOURCES})
endforeach
()
endforeach
()
add_executable
(
step0 step0.c
)
add_executable
(
step0 step0.c
)
list
(
REMOVE_DUPLICATES libs_for_step0
)
set_property
(
TARGET step0 PROPERTY LINKER_LANGUAGE Fortran
)
set_property
(
TARGET step0 PROPERTY LINKER_LANGUAGE Fortran
)
target_link_libraries
(
step0
${
libs_for_step0
}
)
target_link_libraries
(
step0
${
libs_for_step0
}
)
install
(
TARGETS step0
install
(
TARGETS step0
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment