From 286796866df7646154819923ab45dd20c338fc09 Mon Sep 17 00:00:00 2001 From: cachiusa <70309181+cachiusa@users.noreply.github.com> Date: Mon, 20 May 2024 09:41:39 +0700 Subject: [PATCH] Disable Soong sandboxing to avoid conflict with ccache Signed-off-by: cachiusa <70309181+cachiusa@users.noreply.github.com> --- .github/workflows/OrangeFox-Compile.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/OrangeFox-Compile.yml b/.github/workflows/OrangeFox-Compile.yml index ea375d1..86a2081 100644 --- a/.github/workflows/OrangeFox-Compile.yml +++ b/.github/workflows/OrangeFox-Compile.yml @@ -100,6 +100,8 @@ jobs: set +e export USE_CCACHE=1 export CCACHE_EXEC=/usr/bin/ccache + # Hack: Disable Soong sandboxing to avoid conflict with ccache + sed -i 's/return sandboxConfig\.working/return false/g' build/soong/ui/build/sandbox_linux.go source build/envsetup.sh export ALLOW_MISSING_DEPENDENCIES=true set -e