diff options
author | Jerome Forissier <jerome.forissier@linaro.org> | 2018-06-07 14:19:52 +0200 |
---|---|---|
committer | Jérôme Forissier <jerome.forissier@linaro.org> | 2018-06-07 17:45:40 +0200 |
commit | cf012d013e2e2a3cc7d1e8969bcdb44c4dcc84ab (patch) | |
tree | 8f5e143d50b5246c6b858836d66acbe918de887b /.shippable.yml | |
parent | aaec75ec87470731e54ff9a1cbf5b72c0d6ee9bd (diff) |
ci: shippable: enable parallel build
Try to speed up the Shippable CI by re-introducing parallel builds, which
were removed by commit c330283b4a00 ("ci: .shippable.yml: disable parallel
build") due to random build errors. Although the root cause was never
identified, there are reasons to believe that the issue may not be
reproducible anymore:
- The container environment has likely seen updates
- Commit 836334a163f9 ("ci: shippable: set build directory identically for
all platforms") has modified the output paths, so a race condition on
directory creation seems quite unlikely to happen.
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Acked-by: Joakim Bech <joakim.bech@linaro.org>
Diffstat (limited to '.shippable.yml')
-rw-r--r-- | .shippable.yml | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/.shippable.yml b/.shippable.yml index e95c207e..2ec888a0 100644 --- a/.shippable.yml +++ b/.shippable.yml @@ -13,9 +13,7 @@ build: - export CROSS_COMPILE32="ccache arm-linux-gnueabihf-" - export CROSS_COMPILE64="ccache aarch64-linux-gnu-" - export CFG_DEBUG_INFO=n; export CCACHE_UNIFY=true - # No parallel build ('make -j$(getconf _NPROCESSORS_ONLN)') due to: - # https://github.com/Shippable/support/issues/3953 - - function _make() { make -s O=out $* && ccache -s && ccache -z; } + - function _make() { make -j$(getconf _NPROCESSORS_ONLN) -s O=out $* && ccache -s && ccache -z; } - ccache -z - _make |