TESTING: CircleCI: force AVAILABLE_MEM_GB=8 so that we respect guaranteed minimal resource allocation of CircleCI being 8Gb. Will slow down builds....

Reasoning:
- t480 depends on coreboot 24.12, which in turn depends on gcc 14.2 and consumes more memory through parallelization of CircleCI builds which randomly fails if CircleCI with 24.12

Failsafe which might break builds since less threads will be used to build, will see.

TODO: reevaluate if builds take too long and timeouts on max 1h build time per step.

Signed-off-by: Thierry Laurion <insurgo@riseup.net>
This commit is contained in:
Thierry Laurion 2025-02-19 11:24:05 -05:00
parent 9978aa6134
commit 384e2438d2
No known key found for this signature in database
GPG Key ID: 9A53E1BB3FF00461

View File

@ -16,7 +16,8 @@ commands:
echo "Sourcing /devenv.sh since docker entrypoint doesn't do it as expected"
source /devenv.sh
rm -rf build/<< parameters.arch >>/<< parameters.target >>/* build/<< parameters.arch >>/log/*
make V=1 BOARD=<< parameters.target >> << parameters.subcommand >> | ts || touch ./tmpDir/failed_build
#Force -j8 so that each make subtask consumes 1gb max and force respect of minimal requirements of CircleCI which otherwise randomly fails
make V=1 BOARD=<< parameters.target >> << parameters.subcommand >> AVAILABLE_MEM_GB=8 | ts || touch ./tmpDir/failed_build
no_output_timeout: 3h
- run:
name: Output hashes