Skip to content

Use just as the task runner instead of make - #1466

Merged
robertknight merged 1 commit into
mainfrom
port-makefile-to-just
Sep 2, 2026
Merged

Use just as the task runner instead of make#1466
robertknight merged 1 commit into
mainfrom
port-makefile-to-just

Conversation

@robertknight

Copy link
Copy Markdown
Owner

Port the root Makefile to just (https://github.com/casey/just). In this project make was used as a task runner rather than a build tool, and just is more straightforward for this.

  • The PACKAGE variable used by the WASM test and benchmark targets becomes a recipe parameter, so make wasm-test PACKAGE=rten-simd is now just wasm-test rten-simd. RELAXED=y becomes a just variable, set as just relaxed=y wasm-test.

  • just has no equivalent of make's file-based dependencies, so just schema regenerates the FlatBuffers bindings unconditionally.

  • The WASM test and benchmark recipes deleted stale test binaries from target/wasm32-wasi/, but the builds write to target/wasm32-wasip1/, so nothing was ever removed. The recipes now use the path the build uses.

Port the root Makefile to just (https://github.com/casey/just). In this
project `make` was used as a task runner rather than a build tool, and
just is more straightforward for this.

 - The `PACKAGE` variable used by the WASM test and benchmark targets becomes a
   recipe parameter, so `make wasm-test PACKAGE=rten-simd` is now `just
   wasm-test rten-simd`. `RELAXED=y` becomes a just variable, set as `just
   relaxed=y wasm-test`.

 - just has no equivalent of make's file-based dependencies, so `just schema`
   regenerates the FlatBuffers bindings unconditionally.

 - The WASM test and benchmark recipes deleted stale test binaries from
   `target/wasm32-wasi/`, but the builds write to `target/wasm32-wasip1/`, so
   nothing was ever removed. The recipes now use the path the build uses.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@robertknight
robertknight merged commit 9a24f47 into main Sep 2, 2026
3 checks passed
@robertknight
robertknight deleted the port-makefile-to-just branch September 2, 2026 07:05
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.

1 participant