File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 8
8
9
9
# TODO: expand this to //...
10
10
# TODO: can't query cadence & vulkan backends
11
- # TODO: can't query //kernels/prim_ops because of a cpp_unittest and
12
- # broken code in shim to read oss.folly_cxx_tests. Sending fix but it
13
- # needs to propagate and we need a submodule update.
11
+ # TODO: can't query //kernels/prim_ops because of non-buckified stuff in OSS.
14
12
buck2 query " //backends/apple/... + //backends/example/... + \
15
13
//backends/mediatek/... + //backends/test/... + //backends/transforms/... + \
16
14
//backends/xnnpack/... + //configurations/... + //kernels/aten/... + \
@@ -20,7 +18,9 @@ buck2 query "//backends/apple/... + //backends/example/... + \
20
18
UNBUILDABLE_OPTIMIZED_OPS_REGEX=" gelu|fft_r2c|log_softmax"
21
19
BUILDABLE_OPTIMIZED_OPS=$( buck2 query //kernels/optimized/cpu/... | grep -E -v $UNBUILDABLE_OPTIMIZED_OPS_REGEX )
22
20
23
- BUILDABLE_KERNELS_PRIM_OPS_TARGETS=$( buck2 query //kernels/prim_ops/... | grep -v prim_ops_test_py)
21
+ # TODO: build prim_ops_test_cpp again once supported_features works in
22
+ # OSS buck.
23
+ BUILDABLE_KERNELS_PRIM_OPS_TARGETS=$( buck2 query //kernels/prim_ops/... | grep -v prim_ops_test)
24
24
# TODO: expand the covered scope of Buck targets.
25
25
# //runtime/kernel/... is failing because //third-party:torchgen_files's shell script can't find python on PATH.
26
26
# //runtime/test/... requires Python torch, which we don't have in our OSS buck setup.
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ def define_common_targets():
37
37
],
38
38
fbcode_exported_deps = [
39
39
"//common/gtest:gtest" ,
40
- ],
40
+ ] if not runtime . is_oss else [] ,
41
41
xplat_exported_deps = [
42
42
"//third-party/googletest:gtest_main" ,
43
43
],
@@ -68,7 +68,7 @@ def define_common_targets():
68
68
fbcode_exported_deps = [
69
69
"//common/init:init" ,
70
70
"//common/gtest:gtest" ,
71
- ],
71
+ ] if not runtime . is_oss else [] ,
72
72
xplat_exported_deps = [
73
73
"//xplat/folly:init_init" ,
74
74
"//third-party/googletest:gtest_main" ,
You can’t perform that action at this time.
0 commit comments