Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
arbor
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Analyze
Contributor 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
arbor-sim
arbor
Commits
5fe81e83
Commit
5fe81e83
authored
7 years ago
by
Ben Cumming
Committed by
Alexander Peyser
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
update tbb cmake to use check_git_submodule (#452)
parent
4c66432f
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
CMakeLists.txt
+4
-6
4 additions, 6 deletions
CMakeLists.txt
with
4 additions
and
6 deletions
CMakeLists.txt
+
4
−
6
View file @
5fe81e83
...
@@ -66,12 +66,10 @@ set(ARB_THREADING_MODEL "cthread" CACHE STRING "set the threading model, one of
...
@@ -66,12 +66,10 @@ set(ARB_THREADING_MODEL "cthread" CACHE STRING "set the threading model, one of
set_property
(
CACHE ARB_THREADING_MODEL PROPERTY STRINGS cthread tbb serial
)
set_property
(
CACHE ARB_THREADING_MODEL PROPERTY STRINGS cthread tbb serial
)
if
(
ARB_THREADING_MODEL MATCHES
"tbb"
)
if
(
ARB_THREADING_MODEL MATCHES
"tbb"
)
# TODO: update to use built-in support for detecting git submodules.
include
(
GitSubmodule
)
# required for check_git_submodule
if
(
NOT EXISTS
"
${
CMAKE_SOURCE_DIR
}
/tbb/.git"
)
check_git_submodule
(
tbb
"
${
CMAKE_SOURCE_DIR
}
/tbb"
)
message
(
FATAL_ERROR
if
(
NOT tbb_avail
)
"
\n
The git submodule for tbb must be checked out to use TBB.
\n
"
message
(
FATAL_ERROR
"TBB git submodule required."
)
" git submodule init
\n
"
" git submodule update
\n
"
)
endif
()
endif
()
# turn off proxy malloc library and test compilation
# turn off proxy malloc library and test compilation
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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