Skip to content
Snippets Groups Projects
Commit 2ddee140 authored by Esben Haabendal's avatar Esben Haabendal
Browse files

CI: Set MAXLOAD_NINJA environment variable from runner setting


Signed-off-by: default avatarEsben Haabendal <esben.haabendal@huawei.com>
parent 0c39610b
No related branches found
No related tags found
1 merge request!38CI: Attempt to throttle load caused by builds better
Pipeline #6296 passed
......@@ -158,6 +158,7 @@ stages:
- if [ -n "$MAX_LOADAVG" ] ; then
echo "PARALLEL_MAKE += \"-l$MAX_LOADAVG\"" ;
echo "NINJA_ARGS:append = \" -l$MAX_LOADAVG\"" ;
echo "MAXLOAD_NINJA = \"$MAX_LOADAVG\"" ;
fi >> conf/auto.conf
- echo "RM_WORK_EXCLUDE += \"${RECIPE}\"" >> conf/auto.conf
- echo "OPENHARMONY_VERSION = \"${OPENHARMONY_VERSION}\"" >> conf/auto.conf
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment