Skip to content

Remove makefile#178

Merged
thesues merged 14 commits intobytedance:mainfrom
thesues:remove-makefile
May 16, 2025
Merged

Remove makefile#178
thesues merged 14 commits intobytedance:mainfrom
thesues:remove-makefile

Conversation

@thesues
Copy link
Collaborator

@thesues thesues commented May 14, 2025

  1. use meson to build extension
  2. add pyproject.toml

@thesues thesues requested a review from Copilot May 14, 2025 22:31
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR removes the old Makefile‐based build system and auto‐generated FlatBuffers headers in favor of using Meson with Ninja and a modern pyproject.toml for building a Python extension. Key changes include:

  • Eliminating multiple auto‐generated FlatBuffers header files and the Makefile.
  • Adding a Meson build configuration and updating setup.py to invoke meson & ninja.
  • Updating packaging and build scripts (pyproject.toml, build_manylinux_wheels.sh, and README.md) to reflect the new build process.

Reviewed Changes

Copilot reviewed 14 out of 14 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/tcp_payload_request_generated.h Removed autogenerated header
src/meta_request_generated.h Removed autogenerated header
src/meta_request.fbs Minor update (newline) before root_type
src/meson.build New Meson build configuration for the C++ extension
src/local_meta_generated.h Removed autogenerated header
src/get_match_last_index_generated.h Removed autogenerated header
src/delete_keys_generated.h Removed autogenerated header
src/allocate_response_generated.h Removed autogenerated header
src/Makefile Removed Makefile
setup.py Updated to use Meson/Ninja for building and copied shared libraries
pyproject.toml Added build system configuration
build_manylinux_wheels.sh Updated build script with Meson integration
README.md Updated installation instructions for development
Dockerfile.build Removed legacy Python-specific pybind11 installation steps
Comments suppressed due to low confidence (1)

README.md:36

  • [nitpick] Consider revising the heading for clarity (e.g., 'Development Installation') to better reflect the intended audience.
## Install from Source Code for develop

@thesues thesues force-pushed the remove-makefile branch from f88aa0d to f0e8b7a Compare May 14, 2025 23:41
Copy link
Contributor

@hhzguo hhzguo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@thesues thesues merged commit 553e362 into bytedance:main May 16, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants