Skip to content

Commit de6bbd9

Browse files
committed
Delete tools/cmake/{buck_util,resolve_buck}.py
ghstack-source-id: e9bcbf3 ghstack-comment-id: 3211876811 Pull-Request: #13588
1 parent 21f368a commit de6bbd9

File tree

5 files changed

+1
-274
lines changed

5 files changed

+1
-274
lines changed

pyproject.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ requires = [
55
"pyyaml", # Imported by the kernel codegen tools.
66
"setuptools>=63", # For building the pip package contents.
77
"wheel", # For building the pip package archive.
8-
"zstd", # Imported by resolve_buck.py.
9-
"certifi", # Imported by resolve_buck.py.
108
]
119
build-backend = "setuptools.build_meta"
1210

requirements-dev.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,5 @@ pip>=23 # For building the pip package.
55
pyyaml # Imported by the kernel codegen tools.
66
setuptools>=63 # For building the pip package contents.
77
wheel # For building the pip package archive.
8-
zstd # Imported by resolve_buck.py.
9-
certifi # Imported by resolve_buck.py.
108
lintrunner==0.12.7
119
lintrunner-adapters==0.12.6

test/check_for_installed_private_headers_in_cmake_out.sh

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,9 @@ set -euxo pipefail
2121
BUCK_HEADERS_TEMPFILE=$(mktemp /tmp/check_private_headers_buck.txt.XXXXXX)
2222
ACTUAL_HEADERS_TEMPFILE=$(mktemp /tmp/check_private_headers_installed.txt.XXXXXX)
2323
SOURCE_ROOT_DIR=$(git rev-parse --show-toplevel)
24-
BUCK2=$(python3 "${SOURCE_ROOT_DIR}/tools/cmake/resolve_buck.py" --cache_dir="${SOURCE_ROOT_DIR}/buck2-bin")
25-
if [[ "$BUCK2" == "buck2" ]]; then
26-
BUCK2=$(command -v buck2)
27-
fi
2824

2925
"${SOURCE_ROOT_DIR}/scripts/print_exported_headers.py" \
30-
--buck2=$(realpath "$BUCK2") --targets \
31-
//extension/data_loader: //extension/evalue_util: \
26+
--targets //extension/data_loader: //extension/evalue_util: \
3227
//extension/flat_tensor: //extension/llm/runner: //extension/kernel_util: //extension/module: \
3328
//extension/runner_util: //extension/tensor: //extension/threadpool: \
3429
| sort > "${BUCK_HEADERS_TEMPFILE}"

tools/cmake/buck_util.py

Lines changed: 0 additions & 59 deletions
This file was deleted.

tools/cmake/resolve_buck.py

Lines changed: 0 additions & 205 deletions
This file was deleted.

0 commit comments

Comments
 (0)