Skip to content

Removed the stray build artifacts committed with the RISC-V64 port fix - #706

Merged
fdesbiens merged 1 commit into
eclipse-threadx:devfrom
fdesbiens:chore/remove-stray-build-artifacts
Sep 9, 2026
Merged

fdesbiens merged 1 commit into
eclipse-threadx:devfrom
fdesbiens:chore/remove-stray-build-artifacts

Conversation

@fdesbiens

Copy link
Copy Markdown
Contributor

A local CMake build tree was staged by mistake alongside the RISC-V64 spec compliance work in #698, so nine generated files landed on dev:

File Size
build-rv64/build.ninja 444 KB
build-rv64/ports/risc-v64/gnu/example_build/qemu_virt/kernel.elf 239 KB
build-rv64/.ninja_deps 88 KB
build-rv64/.ninja_log 43 KB
build-rv64/custom_inc/tx_user.h 11 KB
build-rv64/ports/risc-v64/gnu/example_build/qemu_virt/qemu-riscv64.log 8 KB
build-rv64/ports/risc-v64/gnu/example_build/qemu_virt/test_cmds.gdb 6 KB
build-rv64/CPackSourceConfig.cmake 4 KB
build-rv64/CPackConfig.cmake 4 KB

None of it belongs in the repository, and none of it is part of the RISC-V64 fix itself — that change is correct and stays as merged.

Why the ignore rules did not catch it

The root .gitignore listed build directories by name rather than by pattern:

build/
build_qemu/
build_m7/
build_r52/
build_r52_vfp/
build_r52_uart/
build_r52_mpu/
build_r52_all/

Every one of those is a name someone happened to use. A tree configured under any other name was staged normally. Those eight entries are replaced with a single build*/, which covers all of them and anything future. I confirmed no tracked file matches the new pattern:

git ls-files | git check-ignore --stdin   # no output

example_build/ directories are unaffected, since the pattern anchors on names beginning with build.

On history

The blobs stay reachable in dev's history. Only the working tree is corrected — rewriting a shared branch that contributors have already pulled is the greater harm for 830 KB of dead objects.

A local CMake build tree was staged by mistake alongside the RISC-V64
spec compliance work in eclipse-threadx#698, putting nine generated files on dev,
including a compiled kernel.elf, build.ninja, the Ninja dependency logs
and a QEMU run log. None of it belongs in the repository.

The root .gitignore listed build directories by name rather than by
pattern, so build/, build_qemu/, build_m7/ and the build_r52 variants
were covered but a differently named tree was not. Those entries are
replaced with a single build*/ pattern, which covers every existing name
and any future one. No tracked file matches the new pattern.

The artifacts remain reachable in history; only the working tree is
corrected, since rewriting a shared branch is the greater harm.

Assisted-by: Claude Code (Opus 5) <noreply@anthropic.com>
@fdesbiens
fdesbiens merged commit 2e48ce0 into eclipse-threadx:dev Sep 9, 2026
4 checks passed
@fdesbiens
fdesbiens deleted the chore/remove-stray-build-artifacts branch September 9, 2026 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant