diff options
author | Thomas Huth <thuth@redhat.com> | 2021-02-17 12:19:31 +0000 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2021-02-19 06:31:40 +0100 |
commit | fc4241827fffc761f0ca41536c1c7d88b1b1d0c4 (patch) | |
tree | 22c10ed32c49d17e7de02ffc83bd6e8e24fed2c5 /util/yank.c | |
parent | 53c915c627898c3d196a9ae6bd1e08ce38c31777 (diff) |
travis.yml: Limit simultaneous jobs to 3
Even though the host machines that run the Travis CI jobs have
quite a lot of CPUs (e.g. nproc in an aarch64 job reports 32), the
containers on Travis are still limited to 2 vCPUs according to:
https://docs.travis-ci.com/user/reference/overview/#approx-boot-time
So we do not gain much when compiling with a job number based on
the output of "getconf _NPROCESSORS_ONLN" - quite the contrary, the
aarch64 containers are currently aborting quite often since they
are running out of memory. Thus let's rather use a fixed number
like 3 in the jobs here, so that e.g. two threads can actively run
while a third one might be waiting for I/O operations to complete.
This should hopefully fix the out-of-memory failures in the aarch64
CI jobs.
Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20210217102531.1441557-1-thuth@redhat.com>
[AJB: add comment]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210217121932.19986-6-alex.bennee@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'util/yank.c')
0 files changed, 0 insertions, 0 deletions