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
cdbe8c8a
Commit
cdbe8c8a
authored
10 years ago
by
PRUVOST Florent
Browse files
Options
Downloads
Patches
Plain Diff
fix an if in FindSTARPU.cmake headers find process
parent
4bdc91b6
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
cmake_modules/morse/find/FindSTARPU.cmake
+8
-4
8 additions, 4 deletions
cmake_modules/morse/find/FindSTARPU.cmake
with
8 additions
and
4 deletions
cmake_modules/morse/find/FindSTARPU.cmake
+
8
−
4
View file @
cdbe8c8a
...
...
@@ -368,14 +368,18 @@ if( (NOT STARPU_SHM_FOUND) OR (NOT STARPU_SHM_LIBRARIES) OR
message
(
STATUS
"Looking for starpu --
${
starpu_hdr
}
not found"
)
endif
()
if
(
starpu_hdr STREQUAL
"starpu_mpi.h"
)
if
(
NOT
${
STARPU_FIND_REQUIRED_MPI
}
STREQUAL 1 AND NOT STARPU_FIND_QUIETLY
)
message
(
STATUS
"Looking for starpu --
${
starpu_hdr
}
not required"
)
if
(
NOT
${
STARPU_FIND_REQUIRED_MPI
}
STREQUAL 1
)
if
(
NOT STARPU_FIND_QUIETLY
)
message
(
STATUS
"Looking for starpu --
${
starpu_hdr
}
not required"
)
endif
()
else
()
list
(
APPEND STARPU_INCLUDE_DIRS
"
${
STARPU_
${
starpu_hdr
}
_INCLUDE_DIRS
}
"
)
endif
()
elseif
(
(
starpu_hdr STREQUAL
"starpu_cuda.h"
)
OR
(
starpu_hdr STREQUAL
"starpu_scheduler.h"
)
)
if
(
NOT
${
STARPU_FIND_REQUIRED_CUDA
}
STREQUAL 1 AND NOT STARPU_FIND_QUIETLY
)
message
(
STATUS
"Looking for starpu --
${
starpu_hdr
}
not required"
)
if
(
NOT
${
STARPU_FIND_REQUIRED_CUDA
}
STREQUAL 1
)
if
(
NOT STARPU_FIND_QUIETLY
)
message
(
STATUS
"Looking for starpu --
${
starpu_hdr
}
not required"
)
endif
()
else
()
list
(
APPEND STARPU_INCLUDE_DIRS
"
${
STARPU_
${
starpu_hdr
}
_INCLUDE_DIRS
}
"
)
endif
()
...
...
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