Skip to content

Commit 504d199

Browse files
committed
[clang-linker-wrapper][lit] Fix OpenMP SPIR-V ELF test again
Signed-off-by: Sarnie, Nick <[email protected]>
1 parent 1a7e79b commit 504d199

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

clang/test/Tooling/clang-linker-wrapper-spirv-elf.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
// Verify the ELF packaging of OpenMP SPIR-V device images.
2-
// FIXME: Re-enable when spirv-tools feature detection fixed
3-
// UNSUPPORTED: system-linux
42
// REQUIRES: system-linux
53
// REQUIRES: spirv-tools
64
// RUN: mkdir -p %t_tmp

clang/test/lit.site.cfg.py.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ config.llvm_external_lit = path(r"@LLVM_EXTERNAL_LIT@")
4343
config.standalone_build = @CLANG_BUILT_STANDALONE@
4444
config.ppc_linux_default_ieeelongdouble = @PPC_LINUX_DEFAULT_IEEELONGDOUBLE@
4545
config.have_llvm_driver = @LLVM_TOOL_LLVM_DRIVER_BUILD@
46-
config.spirv_tools_tests = "@LLVM_INCLUDE_SPIRV_TOOLS_TESTS@"
46+
config.spirv_tools_tests = @LLVM_INCLUDE_SPIRV_TOOLS_TESTS@
4747
config.substitutions.append(("%llvm-version-major", "@LLVM_VERSION_MAJOR@"))
4848

4949
import lit.llvm

llvm/utils/gn/secondary/clang/test/BUILD.gn

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ write_lit_config("lit_site_cfg") {
7474
"Python3_EXECUTABLE=$python_path",
7575
"USE_Z3_SOLVER=",
7676
"PPC_LINUX_DEFAULT_IEEELONGDOUBLE=0",
77+
"LLVM_INCLUDE_SPIRV_TOOLS_TESTS=0",
7778
]
7879

7980
if (clang_enable_static_analyzer) {

0 commit comments

Comments
 (0)