[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:
Sergei Vorobev
2023-01-04 18:28:19 +00:00
committed by PyTorch MergeBot
parent 1e725c9747
commit a5e2309f5e

View File

@ -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):