aboutsummaryrefslogtreecommitdiff
path: root/.shippable.yml
diff options
context:
space:
mode:
authorJerome Forissier <jerome.forissier@linaro.org>2017-11-13 13:49:15 +0100
committerJérôme Forissier <jerome.forissier@linaro.org>2017-11-15 16:39:11 +0100
commitc330283b4a00d2e0b9229c78f1e95268f7c5d915 (patch)
tree09bbb49f13c06ea2b61d90243d3b78b28a2406a6 /.shippable.yml
parent1e24465fb6950ff4921f75f19dc8b94e78124bc2 (diff)
ci: .shippable.yml: disable parallel build
We get random build failures with Shippable CI. First kind is [1]: /bin/bash: out/arm-plat-imx/conf.mk.tmp: No such file or directory core/core.mk:69: recipe for target 'out/arm-plat-imx/conf.mk' failed make: *** [out/arm-plat-imx/conf.mk] Error 1 make: *** Waiting for unfinished jobs.... Second kind is [2]: mkdir: cannot create directory 'out/arm-plat-ti/core': No such file or directory mk/subdir.mk:151: recipe for target 'out/arm-plat-ti/core/ta_pub_key.c' failed make: *** [out/arm-plat-ti/core/ta_pub_key.c] Error 1 make: *** Waiting for unfinished jobs.... Sometimes both bash and mkdir fail with 'No such file or directory' [3] I cannot see any mistake in our Makefile or anything that could explain these errors. I have opened a support request with Shippable [4]. In the mean time, let's disable the parallel build (make -jN) since I could not reproduce the issue with a purely sequential build. Hopefully it will not slow things down too much (we already need a reasonably up-to-date cache anyway). Link: [1] https://app.shippable.com/github/OP-TEE/optee_os/runs/347/1/console Link: [2] https://app.shippable.com/github/OP-TEE/optee_os/runs/332/1/console Link: [3] https://app.shippable.com/github/OP-TEE/optee_os/runs/342/1/console Link: [4] https://github.com/Shippable/support/issues 3953 Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Diffstat (limited to '.shippable.yml')
-rw-r--r--.shippable.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.shippable.yml b/.shippable.yml
index d45c14f9..8c6c8de3 100644
--- a/.shippable.yml
+++ b/.shippable.yml
@@ -14,7 +14,9 @@ build:
- export CROSS_COMPILE32="ccache arm-linux-gnueabihf-"
- export CROSS_COMPILE64="ccache aarch64-linux-gnu-"
- export CCACHE_DIR=${SHIPPABLE_BUILD_DIR}/.ccache
- - function _make() { make -j$(getconf _NPROCESSORS_ONLN) -s $* && ccache -s && ccache -z; }
+ # No parallel build ('make -j$(getconf _NPROCESSORS_ONLN)') due to:
+ # https://github.com/Shippable/support/issues/3953
+ - function _make() { make -s $* && ccache -s && ccache -z; }
- ccache -z
#