Skip to content

Commit ee6d601

Browse files
committed
Query most of //kernels in unittest buck
Buck builds don't work yet, but let's check what we can. ghstack-source-id: 1e97327 ghstack-comment-id: 2706906567 Pull Request resolved: #9040
1 parent 9e4b9d8 commit ee6d601

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.ci/scripts/unittest-buck2.sh

+6-2
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,14 @@ set -eux
88

99
# TODO: expand this to //...
1010
# 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.
1114
buck2 query "//backends/apple/... + //backends/example/... + \
1215
//backends/mediatek/... + //backends/test/... + //backends/transforms/... + \
13-
//backends/xnnpack/... + //configurations/... + //kernels/portable/cpu/... + \
14-
//runtime/... + //schema/... + //test/... + //util/..."
16+
//backends/xnnpack/... + //configurations/... + //kernels/aten/... + \
17+
//kernels/optimized/... + //kernels/portable/... + //kernels/quantized/... + \
18+
//kernels/test/... + //runtime/... + //schema/... + //test/... + //util/..."
1519

1620
# TODO: expand the covered scope of Buck targets.
1721
# //runtime/kernel/... is failing because //third-party:torchgen_files's shell script can't find python on PATH.

0 commit comments

Comments
 (0)