Skip to content

Commit 633450f

Browse files
committed
defend buck2 query for much more of the repo
Had to fix a couple .buckconfig issues post-shim_et to enable this. ghstack-source-id: 8e98118 ghstack-comment-id: 2680126405 Pull Request resolved: #8660
1 parent 93838e8 commit 633450f

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.buckconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,10 @@
1515
ovr_config = prelude
1616
toolchains = shim_et
1717
fbcode = shim_et
18-
fbcode_macros = shim_et
18+
fbcode_macros = shim
1919
fbsource = shim_et
2020
buck = shim
21+
gh_facebook_buck2_shims_meta = shim
2122

2223
[cxx]
2324
cxxflags = -g -std=c++17

.ci/scripts/unittest-buck2.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,12 @@
77
set -eux
88

99
# TODO: expand this to //...
10-
buck2 query //runtime/...
10+
# TODO: can't query cadence & vulkan backends
11+
buck2 query "//backends/apple/... + //backends/arm/... + \
12+
//backends/example/... + //backends/mediatek/... + //backends/test/... + \
13+
//backends/transforms/... + //backends/xnnpack/... + //configurations/... + \
14+
//kernels/portable/cpu/... + //runtime/... + //schema/... + //test/... + \
15+
//util/..."
1116

1217
# TODO: expand the covered scope of Buck targets.
1318
buck2 build //runtime/core/portable_type/...

0 commit comments

Comments
 (0)