summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.zig5
-rw-r--r--build.zig.zon7
-rw-r--r--docs/typ/building.typ3
3 files changed, 6 insertions, 9 deletions
diff --git a/build.zig b/build.zig
index a3df919f..f553c1ce 100644
--- a/build.zig
+++ b/build.zig
@@ -231,7 +231,6 @@ pub fn build(b: *std.Build) void {
var core_mods_buf: [6]*std.Build.Module = undefined;
var core_shells_buf: [6]Platform = undefined;
var core_mods_len: usize = 0;
- // root_mod FIRST: the module map below is folded out of its import table.
for ([_]CoreMod{
.{ .mod = root_mod, .shell = platform },
// hxdiff's headless core and pardes-isolate are the primary shell's
@@ -254,7 +253,7 @@ pub fn build(b: *std.Build) void {
// `b.dependency` below would end the configure to fetch its own alone.
const ts = treeSitter(b, io, target, c_optimize, tree_sitter_grammars);
inline for (.{ "cloud9", "vaxis", "ghostty", "uucode", "zstbi", "mvzr", "zstd", "xitdb" }) |name| {
- // One by path (cloud9, until its pin returns) is there already.
+ // A dependency by path (none of these today) has no hash and is always there.
const dep = @field(zon.dependencies, name);
if (@hasField(@TypeOf(dep), "hash")) if (!std.Build.package_map.get(dep.hash).?.available) {
_ = b.lazyDependency(name, .{});
@@ -740,8 +739,6 @@ pub fn build(b: *std.Build) void {
// library and no allocator hook of its own (it takes Zig allocators).
const xitdb_mod = b.dependency("xitdb", .{ .target = target, .optimize = optimize }).module("xitdb");
- // One call per module instead of one line per module per dependency, and
- // BEFORE the fold below, which reads what these imports put in the table.
// The image addon (addons/image/image.zig over stb_image, stb.c),
// installed by its step and handed by path to every test that opens a
// picture.
diff --git a/build.zig.zon b/build.zig.zon
index 0c2b989f..f9e11447 100644
--- a/build.zig.zon
+++ b/build.zig.zon
@@ -48,9 +48,10 @@
.lazy = true,
},
// SDL3 (castholm/SDL zig bindings, its release-3.4.x branch for Zig
- // 0.17; david-vanderson's fork, pinned before, has no 0.17 build) — only
- // fetched/compiled when `-Dsdl` is set. Lazy so the default vaxis build never touches it. The sdl
- // package resolves its own linux deps from its own build.zig.zon.
+ // 0.17; david-vanderson's fork, pinned before, has no 0.17 build): the
+ // window's, fetched and compiled only by a build with a window (a bare
+ // `zig build`, or -Dplatform=gui). The sdl package resolves its own
+ // linux deps from its own build.zig.zon.
.sdl = .{
.url = "git+https://github.com/castholm/SDL#dbcb19aa3583c318556ecae3ecbeb29b102d37c5",
.hash = "sdl-0.6.0+3.4.18-SDL--p-gqAGWpnfTLlhs0dgjDtc4P4_CHeNLGY_SX_Fv",
diff --git a/docs/typ/building.typ b/docs/typ/building.typ
index 2b6e72b3..2b1943c4 100644
--- a/docs/typ/building.typ
+++ b/docs/typ/building.typ
@@ -62,7 +62,6 @@ must share with its session; `pardes --help` lists every flag.
[`-Dembed-sources`], [bool, `false`: serve the sources under #file("/src")],
[`-Dhome-install`], [bool: a bare `zig build` also copies the binaries into `~/.local/bin`; default true],
[`-Dstamp-commit`], [bool: the git commit in `--version` and crash records; on for release builds and the `~/.local` install],
- [`-Dtheme-animation`], [bool, `true`],
[`-Dworkspace-tag`], [bool: draw the workspace tag row; on except for macOS, whose menu bar carries it],
[`-Dmacos-sdk`], [path: the macOS SDK SDL's headers and frameworks come from, for a gui built for macOS elsewhere],
[`-Dprebuilt-shaders`], [bool: embed the committed SPIR-V; on for a bare `zig build`, off with `-Dplatform`; the shaders are sketchbook's (`src/gpu/shaders/`), and its `zig build shaders` refreshes the SPIR-V with glslc],
@@ -170,8 +169,8 @@ zig build kitty-harness kitty graphics through a pane end to end (a fake kitt
zig build syntax-test tree-sitter tests without building the editor
zig build syntax deterministic per-byte highlighting snapshots
zig build lib-test the library, from a package that depends on pardes (test/lib);
-zig build hxlib helix's cases on the library's editor (-- --parity: against the file pane);
unit-test runs it too
+zig build hxlib helix's cases on the library's editor (-- --parity: against the file pane)
zig build behaviour-test behaviour through the 9P tree, in process (test/behaviour/),
and the T1 runner's short run of random 9P requests
zig build process-test real sessions over their sockets: mounts, flags, shells (test/process/),