From c2629281badbe28a78730d9b7d9c4743574b3485 Mon Sep 17 00:00:00 2001 From: Justin Wood Date: Thu, 22 Jun 2023 05:09:29 -0400 Subject: [PATCH] Fixing iMX Build (#27402) --- .github/workflows/docker_img.yaml | 3 --- .github/workflows/examples-linux-imx.yaml | 2 +- integrations/docker/images/chip-build-imx/Dockerfile | 5 +++++ integrations/docker/images/chip-build/version | 2 +- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docker_img.yaml b/.github/workflows/docker_img.yaml index 02df12d569d98f..1f4e270cd20a4c 100644 --- a/.github/workflows/docker_img.yaml +++ b/.github/workflows/docker_img.yaml @@ -43,10 +43,7 @@ jobs: - "-esp32-qemu" - "-infineon" # NOTE: imx image requires too much space for GitHub-hosted runners. It fails with: - # ``` - # .... # ApplyLayer exit status 1 stdout: stderr: write /opt/fsl-imx-xwayland/5.15-kirkstone/sysroots/armv8a-poky-linux/opt/ltp/testcases/bin/fanotify15: no space left on device - # ``` # - "-imx" - "-k32w" - "-mbed-os" diff --git a/.github/workflows/examples-linux-imx.yaml b/.github/workflows/examples-linux-imx.yaml index 1c0756692b4574..d13c181853a1f7 100644 --- a/.github/workflows/examples-linux-imx.yaml +++ b/.github/workflows/examples-linux-imx.yaml @@ -37,7 +37,7 @@ jobs: if: github.actor != 'restyled-io[bot]' container: - image: connectedhomeip/chip-build-imx:0.7.3 + image: connectedhomeip/chip-build-imx:0.7.19.1 steps: - uses: Wandalen/wretry.action@v1.0.41 diff --git a/integrations/docker/images/chip-build-imx/Dockerfile b/integrations/docker/images/chip-build-imx/Dockerfile index 815d3512d907e9..ab2f826d981578 100644 --- a/integrations/docker/images/chip-build-imx/Dockerfile +++ b/integrations/docker/images/chip-build-imx/Dockerfile @@ -14,6 +14,11 @@ RUN set -x \ && ./fsl-imx-xwayland-glibc-x86_64-imx-image-multimedia-armv8a-imx8mmevk-toolchain-5.15-kirkstone.sh -y \ && rm -rf fsl-imx-xwayland-glibc-x86_64-imx-image-multimedia-armv8a-imx8mmevk-toolchain-5.15-kirkstone.sh \ && : # last line +RUN set -x \ + && cd /opt/fsl-imx-xwayland \ + # && find . -iname debug -exec rm -rf "{}" + || true \ + && find . -iname ".debug" -exec rm -rf "{}" + || true \ + && : # last line FROM connectedhomeip/chip-build:${VERSION} diff --git a/integrations/docker/images/chip-build/version b/integrations/docker/images/chip-build/version index ac763ad69843b3..598aa9e3ce84d8 100644 --- a/integrations/docker/images/chip-build/version +++ b/integrations/docker/images/chip-build/version @@ -1 +1 @@ -0.7.18 Version bump reason: vscode ZEPHYR SDK env path update +0.7.19.1 Version bump reason: Reducing size of imx