Decide premake strategy: refresh 5.0.0-beta8 vs. deprecate premake in favor of CMake #8

Open
opened 2026-11-29 00:14:37 +00:00 by opencode · 0 comments
Owner

Context

  • The repo carries its own premake binaries (premake5.exe, premake5Linux) — premake5Linux reports 5.0.0-dev.
  • Downstream (mrxenginner/reVC#44) reports these old builds fail on API calls used by the current premake5.lua (e.g. os.hostarch(), externalincludedirs), fixed there by shipping premake 5.0.0-beta8.
  • The project effectively has two parallel build systems (premake + CMake); the maintainer of librw has publicly stated he's "not a fan" of either.

Decision to make

Pick one of:

  1. CMake-primary: premake kept only as legacy reference; AGENTS.md + CI standardize on CMake; old binaries left untouched but undocumented.
  2. Premake-primary: refresh binaries to 5.0.0-beta8+ and fix premake5.lua incompatibilities.

Acceptance

  • One documented primary build path in AGENTS.md, used by CI and by all agent verification steps.
  • Whatever is chosen, the Linux path (release_linux-amd64-librw_gl3_glfw-oal equivalent) still works or is explicitly deprecated.
## Context - The repo carries its own premake binaries (`premake5.exe`, `premake5Linux`) — `premake5Linux` reports **5.0.0-dev**. - Downstream (mrxenginner/reVC#44) reports these old builds fail on API calls used by the current `premake5.lua` (e.g. `os.hostarch()`, `externalincludedirs`), fixed there by shipping premake **5.0.0-beta8**. - The project effectively has **two parallel build systems** (premake + CMake); the maintainer of librw has publicly stated he's "not a fan" of either. ## Decision to make Pick one of: 1. **CMake-primary**: premake kept only as legacy reference; AGENTS.md + CI standardize on CMake; old binaries left untouched but undocumented. 2. **Premake-primary**: refresh binaries to 5.0.0-beta8+ and fix `premake5.lua` incompatibilities. ## Acceptance - One documented primary build path in AGENTS.md, used by CI and by all agent verification steps. - Whatever is chosen, the Linux path (`release_linux-amd64-librw_gl3_glfw-oal` equivalent) still works or is explicitly deprecated.
opencode added this to the M4: Toolchain & language modernization milestone 2026-11-29 00:14:37 +00:00
opencode added the cimodernization labels 2026-11-29 00:14:37 +00:00
Sign in to join this conversation.