diff --git a/suite/auto-sync/src/autosync/MCUpdater.py b/suite/auto-sync/src/autosync/MCUpdater.py index 81aa26c5645..d44e2cee471 100755 --- a/suite/auto-sync/src/autosync/MCUpdater.py +++ b/suite/auto-sync/src/autosync/MCUpdater.py @@ -212,11 +212,6 @@ def check_prerequisites(self, paths): raise ValueError( f"'{path}' does not exits or is not a directory. Cannot generate tests from there." ) - llvm_lit = get_path("{LLVM_LIT_BIN}") - if not llvm_lit.exists(): - raise ValueError( - f"Could not find '{llvm_lit}'. Check {{LLVM_LIT_BIN}} in path_vars.json." - ) llvm_lit_cfg = get_path("{LLVM_LIT_TEST_DIR}") if not llvm_lit_cfg.exists(): raise ValueError( @@ -271,10 +266,9 @@ def run_llvm_lit(self, paths: list[Path]) -> list[LLVM_MC_Command]: Calls llvm-lit with the given paths to the tests. It parses the llvm-lit commands to LLVM_MC_Commands. """ - llvm_lit = str(get_path("{LLVM_LIT_BIN}").absolute()) lit_cfg_dir = get_path("{LLVM_LIT_TEST_DIR}") llvm_lit_cfg = str(lit_cfg_dir.absolute()) - args = [llvm_lit, "-v", "-a", llvm_lit_cfg] + args = ["lit", "-v", "-a", llvm_lit_cfg] for i, p in enumerate(paths): slink = lit_cfg_dir.joinpath(f"{self.test_dir_link_prefix}{i}") self.symbolic_links.append(slink) diff --git a/suite/auto-sync/src/autosync/path_vars.json b/suite/auto-sync/src/autosync/path_vars.json index 89ede763bf5..8a8e4eaa3ad 100644 --- a/suite/auto-sync/src/autosync/path_vars.json +++ b/suite/auto-sync/src/autosync/path_vars.json @@ -4,7 +4,6 @@ "{LLVM_TARGET_DIR}": "{LLVM_ROOT}/llvm/lib/Target/", "{LLVM_MC_TEST_DIR}": "{LLVM_ROOT}/llvm/test/MC/", "{LLVM_TBLGEN_BIN}": "{LLVM_ROOT}/build/bin/llvm-tblgen", - "{LLVM_LIT_BIN}": "{CS_ROOT}/.venv/bin/lit", "{LLVM_LIT_TEST_DIR}": "{AUTO_SYNC_SRC}/lit_config/", "{LLVM_INCLUDE_DIR}": "{LLVM_ROOT}/llvm/include/", "{VENDOR_DIR}": "{AUTO_SYNC_ROOT}/vendor/",