Throwaway prototypes for Sausage v3. Plan and decisions: ~/research/sausage-v3/PLAN.md. Results and evidence: the spike READMEs.
12 lines
397 B
Nu
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
|
|
}
|