authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-08-10 14:49:56-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-08-19 16:45:15-07:00
loge3ccea70dd13ce94f5d2c96c7824fb743282447c
treea0c3bf4e6ea7759429398ed868487aa29cb7141a
parent09ec9b03154d909cca0d1719d804a67a11d85f5f

CI: isolate zig-cache for parallel debug/release builds


1 files changed, 6 insertions(+), 0 deletions(-)

ci/zinc/linux_test_stage3_debug.sh+6
......@@ -12,6 +12,12 @@ git config core.abbrev 9
1212
1313echo "building stage3-debug with zig version $($OLD_ZIG version)"
1414
15# Override the cache directories so that we don't clobber with the release
16# testing script which is running concurrently and in the same directory.
17# Normally we want processes to cooperate, but in this case we want them isolated.
18export ZIG_LOCAL_CACHE_DIR="$(pwd)/zig-cache-local-debug"
19export ZIG_GLOBAL_CACHE_DIR="$(pwd)/zig-cache-global-debug"
20
1521export CC="$OLD_ZIG cc -target $TARGET -mcpu=$MCPU"
1622export CXX="$OLD_ZIG c++ -target $TARGET -mcpu=$MCPU"
1723