extract out //c10/util:base library (#70854)

Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/70854

We can't do the entire package since parts of it depend on //c10/core.
ghstack-source-id: 147170901

Test Plan: Rely on CI.

Reviewed By: malfet

Differential Revision: D33321821

fbshipit-source-id: 6d634da872a382a60548e2eea37a0f9f93c6f080
(cherry picked from commit 0afa808367ff92b6011b61dcbb398a2a32e5e90d)
This commit is contained in:
Michael Dagitses
2022-01-26 03:41:33 -08:00
committed by PyTorch MergeBot
parent 108b37db84
commit 40e88b75c4
5 changed files with 73 additions and 6 deletions

View File

@ -7,5 +7,7 @@ load("//c10/macros:cmake_configure_file.bzl", "cmake_configure_file")
rules = struct(
cc_library = cc_library,
cmake_configure_file = cmake_configure_file,
filegroup = native.filegroup,
glob = native.glob,
select = select,
)