build: Stop installing unused DLLs on Windows #63686
All Vouch review confidence checks passed
Residual risk 0.15 = Change Risk (0.38) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.38 · 150 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.300
Shallow Review Depth
shallow_review_depth
0.289
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #63686"
general
weight: 0.35
KristofferC
This is part of a push I am doing to reduce the unpacked size of Julia, which I feel has bloated a lot in recent years. https://claude.ai/artifact/Ji4yrzPU79yHLbRjX1UXRr for a tracker.
------------------
make installcopied every DLL in the build's bin directory, including many that nothing loads: unversioned duplicates from the BinaryBuilder tarballs and the build-onlylibstdc++.dll, the 16/32-bit and POSIX PCRE2 libraries,libklu_cholmod.dll, and LLVM's LTO, remarks and MLIR runtime libraries. Install only the libraries inJL_PRIVATE_LIBS, as the other platforms do, preferring each library's versioned DLL name when there is one. This saves about 36 MiB in the Windows distribution. It also replaces thebinary-distcleanup ofLTO.dll, which never matched since the file is calledlibLTO.dll.libunwindis no longer listed as a runtime library on Windows, which does not use it.The allowlist was checked against the
bin/of the 2026-10-09 Windows nightly: it selects 46 DLLs (all present) and drops 19, and every DLL imported by the kept DLLs and the shipped exes is either kept or a Windows system DLL.🤖 Generated with Claude Code