Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Jan Hönig
waLBerla
Commits
d5be87ec
Commit
d5be87ec
authored
Aug 23, 2021
by
Dominik Thoennes
Browse files
update cmake
parent
a90efd0d
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
d5be87ec
...
...
@@ -19,6 +19,7 @@ stages:
.build_template
:
script
:
-
pip install -I cmake==3.16.3
-
export NUM_CORES=$(nproc --all)
-
export MAX_BUILD_CORES=$(( $(awk '( $1 == "MemTotal:" ) { print $2 }' /proc/meminfo) / ( 4 * 1024 * 1024 ) ))
-
"
[[
$MAX_BUILD_CORES
-lt
$NUM_CORES
]]
&&
export
NUM_BUILD_CORES=$MAX_BUILD_CORES
||
export
NUM_BUILD_CORES=$NUM_CORES"
...
...
Write
Preview
Supports
Markdown
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!
Cancel
Please
register
or
sign in
to comment