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
25737d06
Commit
25737d06
authored
1 year ago
by
PRUVOST Florent
Committed by
Mathieu Faverge
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Threads target may be required and thus exported
parent
542d6fc9
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+6
-0
6 additions, 0 deletions
CMakeLists.txt
cmake_modules/CHAMELEONConfig.cmake.in
+3
-0
3 additions, 0 deletions
cmake_modules/CHAMELEONConfig.cmake.in
with
9 additions
and
0 deletions
CMakeLists.txt
+
6
−
0
View file @
25737d06
...
...
@@ -778,6 +778,12 @@ endif()
# Export targets #
##################
# Threads::Threads may be a dependency of BLAS/LAPACK and CUDA
# the target may be required for cmake users linking with CHAMELEONconfig.cmake
if
(
TARGET Threads::Threads
)
morse_export_imported_target
(
Threads Threads threads chameleon
)
endif
()
# see https://cmake.org/cmake/help/latest/module/CMakePackageConfigHelpers.html
include
(
CMakePackageConfigHelpers
)
...
...
This diff is collapsed.
Click to expand it.
cmake_modules/CHAMELEONConfig.cmake.in
+
3
−
0
View file @
25737d06
...
...
@@ -11,6 +11,9 @@ check_required_components(CHAMELEON)
# dependencies of CHAMELEON
include("${CMAKE_CURRENT_LIST_DIR}/mTargets.cmake")
if (EXISTS "${CMAKE_CURRENT_LIST_DIR}/threadsTargets.cmake")
include("${CMAKE_CURRENT_LIST_DIR}/threadsTargets.cmake")
endif()
if (NOT @CHAMELEON_SIMULATION@)
include("${CMAKE_CURRENT_LIST_DIR}/cblasTargets.cmake")
include("${CMAKE_CURRENT_LIST_DIR}/lapackeTargets.cmake")
...
...
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