Skip to content

Commit a50d036

Browse files
mgcarrascojhuber6
andauthored
[NFC] [Build Fix] Fix failing test case due to missing host arch. (llvm#166392)
This fixes a typo introduced in llvm#165606 which makes the test case fail. --------- Co-authored-by: Joseph Huber <[email protected]>
1 parent 6c563dc commit a50d036

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/Driver/hip-spirv-translator-new-driver.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// The input and output files cannot be the same.
33

44
// RUN: %clang --offload-new-driver -### -save-temps -nogpuinc -nogpulib \
5-
// RUN: --offload-arch=amdgcnspirv -x hip %s 2>&1 \
5+
// RUN: --target=x86_64-unknown-linux-gnu --offload-arch=amdgcnspirv -x hip %s 2>&1 \
66
// RUN: | FileCheck %s
77

88
// CHECK-NOT: {{".*clang-linker-wrapper.*"}} {{.*}} "-o" "[[OUTPUT_FILE:.*.o]]" {{.*}}"[[OUTPUT_FILE]]"

0 commit comments

Comments
 (0)