pipy icon indicating copy to clipboard operation
pipy copied to clipboard

Feat: Zig build to faster building pipy

Open xiaods opened this issue 1 month ago • 0 comments

Comparison with CMake

Advantages of Zig build system:

  1. Single tool: No need for CMake, Make, Ninja, etc.
  2. Cross-compilation: Easy cross-compilation to different targets
  3. Reproducible builds: Consistent builds across platforms
  4. Fast incremental builds: Efficient caching system
  5. Simpler syntax: More readable build configuration
  6. Built-in package manager: Easy dependency management

Migration notes:

  • The Zig build system produces the same output as CMake
  • All CMake build options have Zig equivalents
  • OpenSSL still requires external build (same as CMake)
  • Version information is generated the same way

xiaods avatar Oct 26 '25 12:10 xiaods