From d6998f3dcc0a2c1e9f9bc2ec10e1f88ac198d660 Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Sat, 15 Oct 2022 08:52:59 -0700 Subject: [PATCH] all: remove object files when `make depend` fails, as a fallback --- cosmo-all/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/cosmo-all/Dockerfile b/cosmo-all/Dockerfile index 6a47aff..6348491 100644 --- a/cosmo-all/Dockerfile +++ b/cosmo-all/Dockerfile @@ -35,6 +35,7 @@ RUN --mount=type=cache,id=cosmo-build-all,target=/cosmopolitan/o,sharing=locked # FIXME: SIGSEGV: \ && skip "o/$mode/third_party/python/Lib/test/test_ioctl.py.runs" \ \ + && { ./makeit MODE="$mode" depend || find o -name '*.o' -delete ;} \ && ./makeit MODE="$mode" all \ \ # install the binaries somewhere so we can retrieve them without mounting cache: \