Skip to content

[clang-linker-wrapper][lit] Fix OpenMP SPIR-V ELF test again #126142

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions clang/test/Tooling/clang-linker-wrapper-spirv-elf.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
// Verify the ELF packaging of OpenMP SPIR-V device images.
// FIXME: Re-enable when spirv-tools feature detection fixed
// UNSUPPORTED: system-linux
// REQUIRES: system-linux
// REQUIRES: spirv-tools
// RUN: mkdir -p %t_tmp
Expand Down
2 changes: 1 addition & 1 deletion clang/test/lit.site.cfg.py.in
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ config.llvm_external_lit = path(r"@LLVM_EXTERNAL_LIT@")
config.standalone_build = @CLANG_BUILT_STANDALONE@
config.ppc_linux_default_ieeelongdouble = @PPC_LINUX_DEFAULT_IEEELONGDOUBLE@
config.have_llvm_driver = @LLVM_TOOL_LLVM_DRIVER_BUILD@
config.spirv_tools_tests = "@LLVM_INCLUDE_SPIRV_TOOLS_TESTS@"
config.spirv_tools_tests = @LLVM_INCLUDE_SPIRV_TOOLS_TESTS@
config.substitutions.append(("%llvm-version-major", "@LLVM_VERSION_MAJOR@"))

import lit.llvm
Expand Down
1 change: 1 addition & 0 deletions llvm/utils/gn/secondary/clang/test/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ write_lit_config("lit_site_cfg") {
"Python3_EXECUTABLE=$python_path",
"USE_Z3_SOLVER=",
"PPC_LINUX_DEFAULT_IEEELONGDOUBLE=0",
"LLVM_INCLUDE_SPIRV_TOOLS_TESTS=0",
]

if (clang_enable_static_analyzer) {
Expand Down