* .gitlab-ci.yml (before_script): Debug parallelization settings.

This commit is contained in:
Alexandre Duret-Lutz 2021-01-16 11:07:48 +01:00
parent 094a6fa57e
commit 99bc0f998f

View file

@ -3,6 +3,16 @@ stages:
- build2
- publish
default:
before_script:
# Our build agent are supposed to define these variables to enable
# build parallelization using a number of cores appropriate for
# the agent. However we have had cases where they were not
# defined, slowing down the builds. This should help us debug
# these situations.
- echo "MAKEFLAGS='$MAKEFLAGS' NBPROC='$NBPROC'"
- cat /sys/fs/cgroup/cpuset.cpus || cat /sys/fs/cgroup/cpuset/cpuset.cpus
debian-stable-gcc:
stage: build
only: