[PATCH] D147826: [bazel build] pull in cubin only when needed
Aart Bik via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 7 17:00:56 PDT 2023
This revision was automatically updated to reflect the committed changes.
Closed by commit rG7fff3bfe7839: [bazel build] pull in cubin only when needed (authored by aartbik).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D147826/new/
https://reviews.llvm.org/D147826
Files:
utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Index: utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
===================================================================
--- utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+++ utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
@@ -2386,14 +2386,15 @@
":MemRefTransforms",
":NVVMDialect",
":Pass",
- ":SerializeToCubin",
":SparseTensorDialect",
":SparseTensorTransforms",
":TensorTransforms",
":Transforms",
":VectorToLLVM",
":VectorTransforms",
- ],
+ ] + if_cuda_available([
+ ":SerializeToCubin",
+ ]),
)
##---------------------------------------------------------------------------##
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147826.511830.patch
Type: text/x-patch
Size: 701 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230408/65f763f9/attachment.bin>
More information about the llvm-commits
mailing list