[clang] Remove usage of llvm-spirv in clang LIT tests (#131158)

We use the backend now, so remove the requirement from the only test
that actually executes the translator and remove the LIT requirement
variable.

Signed-off-by: Sarnie, Nick <nick.sarnie@intel.com>
This commit is contained in:
Nick Sarnie
2025-03-14 11:18:13 -04:00
committed by GitHub
parent e8117026a9
commit f2541cee44
2 changed files with 1 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
// Verify the ELF packaging of OpenMP SPIR-V device images.
// REQUIRES: system-linux
// REQUIRES: spirv-tools
// REQUIRES: llvm-spirv
// REQUIRES: spirv-registered-target
// RUN: mkdir -p %t_tmp
// RUN: cd %t_tmp
// RUN: %clangxx -fopenmp -fopenmp-targets=spirv64-intel -nogpulib -c -o %t_clang-linker-wrapper-spirv-elf.o %s

View File

@@ -9,6 +9,3 @@ if config.spirv_tools_tests:
config.substitutions.append(("spirv-val", os.path.join(config.llvm_tools_dir, "spirv-val")))
config.substitutions.append(("spirv-as", os.path.join(config.llvm_tools_dir, "spirv-as")))
config.substitutions.append(("spirv-link", os.path.join(config.llvm_tools_dir, "spirv-link")))
if lit.util.which("llvm-spirv"):
config.available_features.add("llvm-spirv")