mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
create //c10/cuda library (#70863)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/70863 ghstack-source-id: 148159368 Test Plan: Ought to be a no-op: rely on CI to validate. Reviewed By: malfet Differential Revision: D33367290 fbshipit-source-id: cb550538b9eafaa0117f94077ebd4cb920688881 (cherry picked from commit 077d9578bcbf5e41e806c6acb7a8f7c622f66fe9)
This commit is contained in:
committed by
PyTorch MergeBot
parent
38f696c0cd
commit
6d9c0073a8
@ -1,4 +1,5 @@
|
||||
load("@rules_cc//cc:defs.bzl", "cc_library")
|
||||
load("@rules_cuda//cuda:defs.bzl", "requires_cuda_enabled")
|
||||
load("//c10/macros:cmake_configure_file.bzl", "cmake_configure_file")
|
||||
|
||||
# Rules implementation for the Bazel build system. Since the common
|
||||
@ -9,5 +10,6 @@ rules = struct(
|
||||
cmake_configure_file = cmake_configure_file,
|
||||
filegroup = native.filegroup,
|
||||
glob = native.glob,
|
||||
requires_cuda_enabled = requires_cuda_enabled,
|
||||
select = select,
|
||||
)
|
||||
|
Reference in New Issue
Block a user