mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
remove //c10:headers (#98420)
The c10 library is light enough that there's not really much benefit to being very unbazel-y and providing an incomplete library that lacks the source files. Differential Revision: [D44713077](https://our.internmc.facebook.com/intern/diff/D44713077/) Pull Request resolved: https://github.com/pytorch/pytorch/pull/98420 Approved by: https://github.com/ezyang
This commit is contained in:
parent
937ba248eb
commit
f557402e8d
|
|
@ -314,7 +314,7 @@ cc_library(
|
||||||
"aten/src",
|
"aten/src",
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
"//c10:headers",
|
"//c10",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
@ -383,7 +383,7 @@ cc_library(
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
deps = [
|
deps = [
|
||||||
":aten_headers",
|
":aten_headers",
|
||||||
"//c10:headers",
|
"//c10",
|
||||||
"@cuda",
|
"@cuda",
|
||||||
"@cuda//:cuda_driver",
|
"@cuda//:cuda_driver",
|
||||||
"@cuda//:nvrtc",
|
"@cuda//:nvrtc",
|
||||||
|
|
@ -1262,7 +1262,7 @@ cc_library(
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
deps = [
|
deps = [
|
||||||
":caffe2_core_macros",
|
":caffe2_core_macros",
|
||||||
"//c10:headers",
|
"//c10",
|
||||||
"//caffe2/proto:caffe2_pb",
|
"//caffe2/proto:caffe2_pb",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
@ -1579,7 +1579,7 @@ cc_library(
|
||||||
deps = [
|
deps = [
|
||||||
":aten_headers",
|
":aten_headers",
|
||||||
":caffe2_headers",
|
":caffe2_headers",
|
||||||
"//c10:headers",
|
"//c10",
|
||||||
"@com_github_google_flatbuffers//:flatbuffers",
|
"@com_github_google_flatbuffers//:flatbuffers",
|
||||||
"@local_config_python//:python_headers",
|
"@local_config_python//:python_headers",
|
||||||
"@onnx",
|
"@onnx",
|
||||||
|
|
|
||||||
|
|
@ -28,25 +28,3 @@ config_setting(
|
||||||
name = "using_glog",
|
name = "using_glog",
|
||||||
flag_values = {":use_glog": "true"},
|
flag_values = {":use_glog": "true"},
|
||||||
)
|
)
|
||||||
|
|
||||||
cc_library(
|
|
||||||
name = "headers",
|
|
||||||
hdrs = [
|
|
||||||
"//c10/core:headers",
|
|
||||||
"//c10/cuda:headers",
|
|
||||||
"//c10/mobile:headers",
|
|
||||||
"//c10/util:headers",
|
|
||||||
],
|
|
||||||
deps = [
|
|
||||||
"//c10/core:alignment",
|
|
||||||
"//c10/cuda:Macros",
|
|
||||||
"//c10/macros:macros",
|
|
||||||
] + select({
|
|
||||||
":using_gflags": ["@com_github_gflags_gflags//:gflags"],
|
|
||||||
"//conditions:default": [],
|
|
||||||
}) + select({
|
|
||||||
":using_glog": ["@com_github_glog//:glog"],
|
|
||||||
"//conditions:default": [],
|
|
||||||
}),
|
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
)
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user