aboutsummaryrefslogtreecommitdiff
path: root/cross-project-tests
diff options
context:
space:
mode:
authorspupyrev <spupyrev@fb.com>2022-07-11 09:43:39 -0700
committerspupyrev <spupyrev@fb.com>2022-07-11 09:50:46 -0700
commitb444358126aa6354e56bf629f50fdcd607b2a233 (patch)
tree8198dd831e5875b553c18548c7f7415548102a76 /cross-project-tests
parent127e59048cd3d8dbb80c14b3036918c114089529 (diff)
downloadllvm-b444358126aa6354e56bf629f50fdcd607b2a233.zip
llvm-b444358126aa6354e56bf629f50fdcd607b2a233.tar.gz
llvm-b444358126aa6354e56bf629f50fdcd607b2a233.tar.bz2
Revert "Rebase: [Facebook] Add clang driver options to test debug info and BOLT"
This reverts commit f921985a29fc9787b3ed98dbc897146cc3fd91f7.
Diffstat (limited to 'cross-project-tests')
-rw-r--r--cross-project-tests/lit.cfg.py14
-rw-r--r--cross-project-tests/lit.site.cfg.py.in4
2 files changed, 1 insertions, 17 deletions
diff --git a/cross-project-tests/lit.cfg.py b/cross-project-tests/lit.cfg.py
index 0855af4..7bda584 100644
--- a/cross-project-tests/lit.cfg.py
+++ b/cross-project-tests/lit.cfg.py
@@ -74,13 +74,7 @@ if is_msvc:
# use_clang() and use_lld() respectively, so set them to "", if needed.
if not hasattr(config, 'clang_src_dir'):
config.clang_src_dir = ""
-# Facebook T92898286
-should_test_bolt = get_required_attr(config, "llvm_test_bolt")
-if should_test_bolt:
- llvm_config.use_clang(required=('clang' in config.llvm_enabled_projects), additional_flags=['--post-link-optimize'])
-else:
- llvm_config.use_clang(required=('clang' in config.llvm_enabled_projects))
-# End Facebook T92898286
+llvm_config.use_clang(required=('clang' in config.llvm_enabled_projects))
if not hasattr(config, 'lld_src_dir'):
config.lld_src_dir = ""
@@ -262,9 +256,3 @@ llvm_config.feature_config(
# Allow 'REQUIRES: XXX-registered-target' in tests.
for arch in config.targets_to_build:
config.available_features.add(arch.lower() + '-registered-target')
-
-# Facebook T92898286
-# Ensure the user's PYTHONPATH is included.
-if 'PYTHONPATH' in os.environ:
- config.environment['PYTHONPATH'] = os.environ['PYTHONPATH']
-# End Facebook T92898286
diff --git a/cross-project-tests/lit.site.cfg.py.in b/cross-project-tests/lit.site.cfg.py.in
index 2d53cd3..39458df 100644
--- a/cross-project-tests/lit.site.cfg.py.in
+++ b/cross-project-tests/lit.site.cfg.py.in
@@ -21,10 +21,6 @@ config.mlir_src_root = "@MLIR_SOURCE_DIR@"
config.llvm_use_sanitizer = "@LLVM_USE_SANITIZER@"
-# Facebook T92898286
-config.llvm_test_bolt = lit.util.pythonize_bool("@LLVM_TEST_BOLT@")
-# End Facebook T92898286
-
import lit.llvm
lit.llvm.initialize(lit_config, config)