Skip to content

Commit a8d19fc

Browse files
committed
add -fno-sycl-libspriv -nogpulib
1 parent bffe490 commit a8d19fc

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

clang/test/Driver/sycl-offload-wrapper-compression.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,7 @@
1111
// RUN: %clangxx -### -fsycl --offload-compression-level=3 %s 2>&1 | FileCheck %s --check-prefix=CHECK-NO-COMPRESS
1212

1313
// For SYCL offloading to HIP, make sure we don't pass '--compress' to offload-bundler.
14-
// Clang throws an error in the following command "cannot find 'remangled-l64-signed_char.libspirv-amdgcn-amd-amdhsa.bc'" on some machine,
15-
// that's why appending '|| true'. This error should not affect the driver invocation, which this test intends to verify.
16-
17-
// RUN: (%clangxx -### -fsycl --offload-compress -Xsycl-target-backend=amdgcn-amd-amdhsa --offload-arch=gfx1031 -fsycl-targets=amdgcn-amd-amdhsa %s &> %t.driver) || true
14+
// RUN: %clangxx -### -fsycl --offload-compress -Xsycl-target-backend=amdgcn-amd-amdhsa --offload-arch=gfx1031 -fsycl-targets=amdgcn-amd-amdhsa -fno-sycl-libspirv -nogpulib %s &> %t.driver
1815
// RUN: FileCheck %s --check-prefix=CHECK-NO-COMPRESS-BUNDLER --input-file=%t.driver
1916

2017
// CHECK-NO-COMPRESS-NOT: {{.*}}clang-offload-wrapper{{.*}}"-offload-compress"{{.*}}

0 commit comments

Comments
 (0)