From eb4fa92b559a9d150bbdb9b831c2a62ef6c97f63 Mon Sep 17 00:00:00 2001 From: Scott Duensing Date: Fri, 29 May 2026 16:52:57 -0500 Subject: [PATCH] Cleaning up repo. --- .gitignore | 31 ++++++++++++++++++++++++------- 1 file changed, 24 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 41b833c..fbb534d 100644 --- a/.gitignore +++ b/.gitignore @@ -5,15 +5,32 @@ tools/ # Claude Code tool state .claude/ -# Runtime build artifacts: regenerable via runtime/build.sh from -# runtime/src/*.s. The source files (.s, build.sh) are tracked. -runtime/*.o -runtime/*.o.bak -runtime/*.o.tmp +# Build artifacts — regenerable from source via runtime/build.sh, +# demos/build.sh, demos/buildGno.sh, compare/regen.sh, etc. These +# extensions are never source in this tree: compiled objects, flat +# binaries, OMF images, linker maps, and reloc sidecars. Hand-written +# assembly (runtime/src/*.s, src/llvm/test/**/*.s) keeps the .s extension +# and stays tracked, so *.s is deliberately NOT ignored. +*.o +*.o.bak +*.o.tmp +*.bin +*.omf +*.map +*.reloc -# Per-test build outputs. +# Per-target build directories. tests/coremark/build/ -tests/coremark/coreMark.bin +tests/lua/build/ + +# compare/ regenerables (compare/regen.sh): our backend asm output and +# the Calypsi reference listings. Scoped so they can't catch source .s. +compare/*.ours.s +compare/*.calypsi.lst + +# Stray Calypsi-generated asm at the repo root (not hand-written source). +# Root-anchored so it can't catch a real source file elsewhere. +/bench_simple.s # Editor / OS *.swp