Skip to content

Commit 95639b7

Browse files
[CI] Drop CLEAR_CACHE Support in monolithic-* scripts
This patch drops support for clearing the cache with the CLEAR_CACHE environment variable. This is an artifact of the old infrastructure as we now do not persist the cache across builds, instead redownloading the cache directory everytime. This makes the scripts slightly simpler as we are no longer supporting unneeded functionality. Reviewers: Endilll, cmtice, dschuff, Keenuts, lnihlen, gburgessiv Reviewed By: Keenuts, cmtice Pull Request: llvm#149193
1 parent 9de32d5 commit 95639b7

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

.ci/monolithic-linux.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,6 @@ rm -rf "${BUILD_DIR}"
2323

2424
ccache --zero-stats
2525

26-
if [[ -n "${CLEAR_CACHE:-}" ]]; then
27-
echo "clearing cache"
28-
ccache --clear
29-
fi
30-
3126
mkdir -p artifacts/reproducers
3227

3328
# Make sure any clang reproducers will end up as artifacts.

.ci/monolithic-windows.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,6 @@ BUILD_DIR="${BUILD_DIR:=${MONOREPO_ROOT}/build}"
2121

2222
rm -rf "${BUILD_DIR}"
2323

24-
if [[ -n "${CLEAR_CACHE:-}" ]]; then
25-
echo "clearing sccache"
26-
rm -rf "$SCCACHE_DIR"
27-
fi
28-
2924
sccache --zero-stats
3025
function at-exit {
3126
retcode=$?

0 commit comments

Comments
 (0)