From 98052b6463e1df56e2a3b15ba12c889ea1fe38a7 Mon Sep 17 00:00:00 2001 From: Alex Brachet Date: Sun, 12 Jun 2022 03:01:08 +0000 Subject: [PATCH] Revert "[lit] Passthrough CLANG_MODULE_CACHE_PATH env var" This reverts commit 6466c9abf3674bade1f6ee859f24ebc7aaf9cd88. --- llvm/utils/lit/lit/TestingConfig.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/llvm/utils/lit/lit/TestingConfig.py b/llvm/utils/lit/lit/TestingConfig.py index a4c9251c9638..bdb87c376127 100644 --- a/llvm/utils/lit/lit/TestingConfig.py +++ b/llvm/utils/lit/lit/TestingConfig.py @@ -77,14 +77,6 @@ class TestingConfig(object): if val: environment[var] = val - pass_vars_emptyable = [ - 'CLANG_MODULE_CACHE_PATH', - ] - - for var in pass_vars_emptyable: - if var in os.environ: - environment[var] = os.environ[var] - # Set the default available features based on the LitConfig. available_features = [] if litConfig.useValgrind: