Commit d5be87ec authored by Dominik Thoennes's avatar Dominik Thoennes
Browse files

update cmake

parent a90efd0d
Pipeline #33910 failed with stages
in 215 minutes and 49 seconds
......@@ -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"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment