mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
[bazel] Add @pytorch in tools/bazel.bzl (#91424)
This is a follow-up from #89660 There is another place that needs to be updated. I think this time I covered all of them... Pull Request resolved: https://github.com/pytorch/pytorch/pull/91424 Approved by: https://github.com/malfet
This commit is contained in:
committed by
PyTorch MergeBot
parent
1e725c9747
commit
a5e2309f5e
@ -1,7 +1,7 @@
|
||||
load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library", "cc_test")
|
||||
load("@rules_cuda//cuda:defs.bzl", "cuda_library", "requires_cuda_enabled")
|
||||
load("//c10/macros:cmake_configure_file.bzl", "cmake_configure_file")
|
||||
load("//tools/config:defs.bzl", "if_cuda")
|
||||
load("@pytorch//c10/macros:cmake_configure_file.bzl", "cmake_configure_file")
|
||||
load("@pytorch//tools/config:defs.bzl", "if_cuda")
|
||||
|
||||
def _genrule(**kwds):
|
||||
if _enabled(**kwds):
|
||||
|
Reference in New Issue
Block a user