[clang] a50d036 - [NFC] [Build Fix] Fix failing test case due to missing host arch. (#166392)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 4 08:21:51 PST 2025
Author: Manuel Carrasco
Date: 2025-11-04T16:21:47Z
New Revision: a50d036c0bf456f4d2b6d6a19f5e45f61860994c
URL: https://github.com/llvm/llvm-project/commit/a50d036c0bf456f4d2b6d6a19f5e45f61860994c
DIFF: https://github.com/llvm/llvm-project/commit/a50d036c0bf456f4d2b6d6a19f5e45f61860994c.diff
LOG: [NFC] [Build Fix] Fix failing test case due to missing host arch. (#166392)
This fixes a typo introduced in #165606 which makes the test case fail.
---------
Co-authored-by: Joseph Huber <huberjn at outlook.com>
Added:
Modified:
clang/test/Driver/hip-spirv-translator-new-driver.c
Removed:
################################################################################
diff --git a/clang/test/Driver/hip-spirv-translator-new-driver.c b/clang/test/Driver/hip-spirv-translator-new-driver.c
index 315a74635b9b3..67d894e2eb506 100644
--- a/clang/test/Driver/hip-spirv-translator-new-driver.c
+++ b/clang/test/Driver/hip-spirv-translator-new-driver.c
@@ -2,7 +2,7 @@
// The input and output files cannot be the same.
// RUN: %clang --offload-new-driver -### -save-temps -nogpuinc -nogpulib \
-// RUN: --offload-arch=amdgcnspirv -x hip %s 2>&1 \
+// RUN: --target=x86_64-unknown-linux-gnu --offload-arch=amdgcnspirv -x hip %s 2>&1 \
// RUN: | FileCheck %s
// CHECK-NOT: {{".*clang-linker-wrapper.*"}} {{.*}} "-o" "[[OUTPUT_FILE:.*.o]]" {{.*}}"[[OUTPUT_FILE]]"
More information about the cfe-commits
mailing list