aboutsummaryrefslogtreecommitdiff
path: root/src/build_lua.zig
Commit message (Collapse)AuthorAge
* build(deps): vendor lpegChristian Clason2026-08-30
| | | | | | | | | | | | | | Problem: LPeg is hosted on a single unreliable external hoster, forcing is to mirror it in neovim/deps, which adds maintenance friction. Also, we have already vendored the Lua `re.lua` module. Solution: Vendor all of LPeg v1.1.0; as development is not very active anymore, this should not add much overhead (and allow us to simplify in particular the Zig build scripts). Note: LPeg defines a `luaL_newlib` macro for Lua 5.1, which conflicts with LuaJIT's extension. This requires inlining the macro defined in `lptypes.h` and used in `lptree.c`; see README.md for the patch.
* build(zig): use LLVM for building nlua0Chinmay Dalal2026-06-17
| | | | | problem: https://codeberg.org/ziglang/zig/issues/31272 solution: set `.use_llvm = true` until the next zig release
* refactor(build.zig): no need to pass around b.graph.io next to bbfredl2026-06-04
|
* fix(build): more changes to make zig 0.16.0 workbfredl2026-04-21
|
* feat(build.zig): update to zig 0.16Chinmay Dalal2026-04-21
|
* feat(build.zig): add option to use system dependenciesChinmay Dalal2026-01-13
| | | | | | | | | Problem: build.zig always downloads dependencies and statically links them, which is frowned upon by distro packagers. Solution: Add option to use system libraries.
* build: make build.zig generate helptags without running "nvim" binarybfredl2025-08-19
| | | | | | | | | This is matters for cross-compiling where we might not be able to run the "nvim" binary on the host. Instead reimplement the helptags extractor as a small lua script, which we can run on the host using the nlua0 helper already used for other generator scripts.
* fix(build): remove deprecated aliases in build.zig removed for zig 0.15bfredl2025-08-09
| | | | | This makes the zig build compatible with the upcoming zig 0.15 release, while still supporting the current stable 0.14 release still used in CI.
* fix(deps): make script/bump_deps.lua update build.zig.zon versions in syncbfredl2025-05-10
| | | | | | Also bring luv version in build.zig.zon up to date This skips some deps not currently managed/used by build.zig
* feat(build): build.zig MVP: build and run functionaltests on linuxbfredl2025-05-02
NEW BUILD SYSTEM! This is a MVP implementation which supports building the "nvim" binary, including cross-compilation for some targets. As an example, you can build a aarch64-macos binary from an x86-64-linux-gnu host, or vice versa Add CI target for build.zig currently for functionaltests on linux x86_64 only Follow up items: - praxis for version and dependency bumping - windows 💀 - full integration of libintl and gettext (or a desicion not to) - update help and API metadata files - installation into a $PREFIX - more tests and linters