Archived
kill: purge old-paradigm dist/platform binaries from tree
El SDK Release / build-and-release (push) Failing after 13m0s
El SDK Release / build-and-release (push) Failing after 13m0s
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.
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user