Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ requires = [
"pyyaml", # Imported by the kernel codegen tools.
"setuptools>=63", # For building the pip package contents.
"wheel", # For building the pip package archive.
"zstd", # Imported by resolve_buck.py.
"certifi", # Imported by resolve_buck.py.
]
build-backend = "setuptools.build_meta"

Expand Down
2 changes: 0 additions & 2 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,5 @@ pip>=23 # For building the pip package.
pyyaml # Imported by the kernel codegen tools.
setuptools>=63 # For building the pip package contents.
wheel # For building the pip package archive.
zstd # Imported by resolve_buck.py.
certifi # Imported by resolve_buck.py.
lintrunner==0.12.7
lintrunner-adapters==0.12.6
7 changes: 1 addition & 6 deletions test/check_for_installed_private_headers_in_cmake_out.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,9 @@ set -euxo pipefail
BUCK_HEADERS_TEMPFILE=$(mktemp /tmp/check_private_headers_buck.txt.XXXXXX)
ACTUAL_HEADERS_TEMPFILE=$(mktemp /tmp/check_private_headers_installed.txt.XXXXXX)
SOURCE_ROOT_DIR=$(git rev-parse --show-toplevel)
BUCK2=$(python3 "${SOURCE_ROOT_DIR}/tools/cmake/resolve_buck.py" --cache_dir="${SOURCE_ROOT_DIR}/buck2-bin")
if [[ "$BUCK2" == "buck2" ]]; then
BUCK2=$(command -v buck2)
fi

"${SOURCE_ROOT_DIR}/scripts/print_exported_headers.py" \
--buck2=$(realpath "$BUCK2") --targets \
//extension/data_loader: //extension/evalue_util: \
--targets //extension/data_loader: //extension/evalue_util: \
//extension/flat_tensor: //extension/llm/runner: //extension/kernel_util: //extension/module: \
//extension/runner_util: //extension/tensor: //extension/threadpool: \
| sort > "${BUCK_HEADERS_TEMPFILE}"
Expand Down
59 changes: 0 additions & 59 deletions tools/cmake/buck_util.py

This file was deleted.

205 changes: 0 additions & 205 deletions tools/cmake/resolve_buck.py

This file was deleted.

Loading