Skip to content

Commit 52bfd0a

Browse files
committed
Update
[ghstack-poisoned]
2 parents 5b2dec7 + 609944a commit 52bfd0a

File tree

4 files changed

+12
-3
lines changed

4 files changed

+12
-3
lines changed

runtime/core/portable_type/c10/c10/targets.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def define_common_targets():
4545
"-DC10_USING_CUSTOM_GENERATED_MACROS",
4646
],
4747
visibility = [
48-
"//executorch/runtime/core/portable_type/...",
48+
"//executorch/...",
4949
],
5050
deps = select({
5151
"DEFAULT": [],

runtime/core/portable_type/test/targets.bzl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ def define_common_targets():
1111
srcs = ["bfloat16_test.cpp"],
1212
deps = [
1313
"//executorch/runtime/core/portable_type:portable_type",
14+
"//executorch/runtime/core/portable_type/c10/c10:c10",
1415
],
1516
)
1617

@@ -52,5 +53,6 @@ def define_common_targets():
5253
deps = [
5354
"//executorch/runtime/core/exec_aten/util:tensor_util",
5455
"//executorch/runtime/core/portable_type:portable_type",
56+
"//executorch/runtime/core/portable_type/c10/c10:c10",
5557
],
5658
)

runtime/core/targets.bzl

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ def define_common_targets():
5050
],
5151
exported_preprocessor_flags = get_core_flags(),
5252
exported_deps = [
53+
"//executorch/runtime/core/portable_type/c10/c10:c10",
5354
"//executorch/runtime/platform:platform",
5455
],
5556
)
@@ -73,6 +74,7 @@ def define_common_targets():
7374
],
7475
exported_deps = [
7576
":core",
77+
"//executorch/runtime/core/portable_type/c10/c10:c10",
7678
],
7779
visibility = [
7880
"//executorch/...",
@@ -145,13 +147,16 @@ def define_common_targets():
145147
":tensor_layout",
146148
],
147149
)
148-
150+
149151
runtime.cxx_library(
150152
name = "tensor_layout",
151153
srcs = ["tensor_layout.cpp"],
152154
exported_headers = ["tensor_layout.h"],
155+
deps = [
156+
"//executorch/runtime/core/portable_type/c10/c10:c10",
157+
],
153158
exported_deps = [
154-
":core",
159+
":core",
155160
"//executorch/runtime/core/exec_aten:lib",
156161
],
157162
visibility = ["//executorch/..."],

runtime/core/test/targets.bzl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ def define_common_targets():
4040
],
4141
deps = [
4242
"//executorch/runtime/core:event_tracer",
43+
"//executorch/runtime/core/portable_type/c10/c10:c10",
4344
],
4445
)
4546

@@ -68,6 +69,7 @@ def define_common_targets():
6869
],
6970
deps = [
7071
"//executorch/runtime/core:memory_allocator",
72+
"//executorch/runtime/core/portable_type/c10/c10:c10",
7173
],
7274
)
7375

0 commit comments

Comments
 (0)