Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
CamiTK
CamiTK Community Edition
Commits
7a4086a5
Commit
7a4086a5
authored
Jun 16, 2018
by
Emmanuel Promayon
Browse files
FIXED (tentative) reduce number of proc for parallel testing
VM seems overwelmed
parent
dda0e6dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
sdk/cmake/ctest/ci-setup.cmake
View file @
7a4086a5
...
...
@@ -115,7 +115,9 @@ endif()
# parallelize ci scripts if possible
include
(
ProcessorCount
)
ProcessorCount
(
NUMBER_OF_PROC
)
if
(
NOT NUMBER_OF_PROC EQUAL 0
)
# remove some to avoid processor overload
MATH
(
EXPR NUMBER_OF_PROC
"
${
NUMBER_OF_PROC
}
-2"
)
if
(
NUMBER_OF_PROC GREATER 0
)
if
(
COMPILER MATCHES
"GCC"
OR COMPILER MATCHES
"Ninja"
)
set
(
CTEST_BUILD_FLAGS -j
${
NUMBER_OF_PROC
}
)
elseif
(
COMPILER MATCHES
"MSVC.*"
)
...
...
Write
Preview
Supports
Markdown
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