Files
sausage/spikes/s3-git/baseline.nu
T
surma 9e9cde5241 spikes: six v3 spikes (V8 harness, WASI shell, git, builder, http hook, esbuild)
Throwaway prototypes for Sausage v3. Plan and decisions:
~/research/sausage-v3/PLAN.md. Results and evidence: the spike READMEs.
2026-11-06 14:03:20 +00:00

12 lines
397 B
Nu

#!/usr/bin/env nu
# Invoke agentOS's unchanged recipe and sysroot build with two compiler jobs.
def main [] {
$env.PATH = ($env.PATH | prepend /tmp/s3-git/tools)
$env.LD_LIBRARY_PATH = $'((nix eval --raw nixpkgs#ncurses.outPath))/lib'
$env.TMPDIR = '/tmp/s3-git'
$env.MAKE_JOBS = '2'
cd /tmp/s3-git/agentos
^bash toolchain/scripts/patch-wasi-libc.sh
^make -C toolchain/c build/git
}