[PATCH] D137275: [Driver][test] Fix test by creating empty archive instead of empty file
Jacob Lambert via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 5 15:43:30 PST 2022
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG6b992bcce0c5: [Driver][test] Fix test by creating empty archive instead of empty file (authored by lamb-j).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D137275/new/
https://reviews.llvm.org/D137275
Files:
clang/test/Driver/hip-link-bc-to-bc.hip
Index: clang/test/Driver/hip-link-bc-to-bc.hip
===================================================================
--- clang/test/Driver/hip-link-bc-to-bc.hip
+++ clang/test/Driver/hip-link-bc-to-bc.hip
@@ -1,6 +1,4 @@
// REQUIRES: x86-registered-target, amdgpu-registered-target
-// See issue #58711
-// XFAIL: *
// Check that clang unbundles the two bitcodes and links via llvm-link
// RUN: rm -rf %t && mkdir %t
@@ -21,7 +19,7 @@
// BITCODE: "{{.*}}llvm-link" "-o" "bundle1-hip-amdgcn-amd-amdhsa-gfx906.bc" "[[B1DEV2]]" "[[B2DEV2]]"
// Check that clang unbundles the bitcode and archive and links via llvm-link
-// RUN: touch %t/libhipbundle.a
+// RUN: ar rc %t/libhipbundle.a
// RUN: touch %t/bundle.bc
// RUN: %clang -### --target=x86_64-unknown-linux-gnu --offload-arch=gfx906 --hip-link \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137275.480264.patch
Type: text/x-patch
Size: 809 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221205/62046edd/attachment.bin>
More information about the cfe-commits
mailing list