This repository has been archived on 2026-08-20. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
will d3495476f4
El SDK Release / build-and-release (push) Failing after 13m0s
kill: purge old-paradigm dist/platform binaries from tree
The generated C, amalgams, vendored runtime pins, and compiled binaries
from the Claude Code era are removed from the worktree. The El sources
survive; this tree is now source-only for the first-principles rebuild.

Per Principal direction 2026-08-19.
2026-08-19 19:46:15 -05:00

41 lines
2.0 KiB
Bash

#!/usr/bin/env bash
# parent07.sh — native compiler test count at the PARENT commit bc2f26d^ (b40754f),
# for context: the cycle doc records no native test count at all.
#
# PROVENANCE NOTE: the parent tree is an extraction, `git archive bc2f26d^ | tar -x`,
# into /tmp/el07parent — NOT a git worktree (the parent agent owns worktree creation
# for this run). capture.sh was therefore invoked from /tmp/rerun-v1-07, so the
# artifact's stamped SHA is bc2f26d; the SUBJECT of the measurement is bc2f26d^.
# The extraction is verified below by diffing it against the bc2f26d^ blob for
# codegen.el.
set -uo pipefail
cd /tmp/rerun-v1-07 || exit 1
echo "== verify the extracted tree really is bc2f26d^ =="
a=$(git show 'bc2f26d^:lang/el-compiler/src/codegen.el' | shasum -a 256 | cut -d' ' -f1)
b=$(shasum -a 256 /tmp/el07parent/lang/el-compiler/src/codegen.el | cut -d' ' -f1)
echo " git blob bc2f26d^:lang/el-compiler/src/codegen.el $a"
echo " /tmp/el07parent/lang/el-compiler/src/codegen.el $b"
[ "$a" = "$b" ] && echo " MATCH" || { echo " MISMATCH — abort"; exit 1; }
a=$(git show 'bc2f26d^:lang/tests/native/test_compiler.el' | shasum -a 256 | cut -d' ' -f1)
b=$(shasum -a 256 /tmp/el07parent/lang/tests/native/test_compiler.el | cut -d' ' -f1)
echo " test_compiler.el blob $a"
echo " test_compiler.el file $b"
[ "$a" = "$b" ] && echo " MATCH" || { echo " MISMATCH — abort"; exit 1; }
echo
echo "== native compiler tests at bc2f26d^ (built gen2, same procedure as the commit) =="
cd /tmp/el07parent/lang || exit 1
SRCS=$(../scripts/el-runtime-sources.sh runtime)
CF="-std=c11 -O2 -I runtime"; LF=""
for d in /opt/homebrew/opt/openssl@3 /usr/local/opt/openssl@3; do
[ -d "$d" ] && CF="$CF -I $d/include" && LF="-L $d/lib"
done
LF="$LF -lcurl -lssl -lcrypto -lpthread -lm"
/tmp/elc07pb --test tests/native/test_compiler.el > /tmp/tp07.c || exit 1
cc $CF -o /tmp/tp07 /tmp/tp07.c $SRCS $LF 2>/dev/null || exit 1
/tmp/tp07 | tail -4
echo
echo "== integration seam_binding.sh at bc2f26d^ =="
bash tests/integration/seam_binding.sh /tmp/elc07pb "$PWD" | tail -4