8000 ruby: drop the bundled gems' mkmf.log and gem_make.out (build logs with random temp names) by bryan-minimal · Pull Request #875 · gominimal/pkgs · GitHub
[go: up one dir, main page]

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions packages/ruby/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ export CXXFLAGS="${CFLAGS}"

make -j$(nproc)
make DESTDIR=$OUTPUT_DIR install
# The bundled gems' extension dirs keep their mkmf.log / gem_make.out: build logs that
# record gcc's random /tmp/ccXXXXXX.o names, so every build differs in them and nothing
# else (2026-10 prod-pair diff: 1 of 2926 files). Same cleanup as ruby-lsp.
find "$OUTPUT_DIR" \( -name mkmf.log -o -name gem_make.out \) -delete

# gem auto-falls back to user installs (the store is read-only), but its
# binstubs then land in ~/.local/share/gem/ruby/<v>/bin — off PATH. RubyGems'
Expand Down
Loading
0