rdmpw3275m-changelog-20260901-2325-reversed-cascadelake-script-logic-default-all
rdmpw3275m-changelog-20260901-2325-reversed-cascadelake-script-logic-default-all
Summary: Reversed default execution logic of
brew_recompile_cascadelake.zsh to automatically target ALL
installed unoptimized formulas by default (skipping massive compiler
toolchains), with explicit exclusion flags
(--skip <formula...>), compute-only filters
(--compute-only), and dry-run preview (-n).
Deployed across rdmpw3275m, rdmpw3265m, and
canonical rdmsm4x:~/dev/scripts/.
1. Scope
- Hosts:
rdmpw3275m,rdmpw3265m,rdmsm4x. - Files Modified:
~/dev/scripts/brew_recompile_cascadelake.zshrdmpw3265m:~/dev/scripts/brew_recompile_cascadelake.zshrdmsm4x:~/dev/scripts/brew_recompile_cascadelake.zsh
2. Changes Made
- Default Mode: All Unoptimized Formulas:
- Invoking without arguments now targets all unoptimized generic bottles installed on the host.
- Automatically excludes massive compilers (
llvm,gcc,rust) from standard sweeps for performance (re-enabled via--include-compilers).
- Granular Skip & Filter Options:
--skip <formula1> <formula2>: Exclude specific formulas.--compute-only/--heavy: Restrict queue to high-impact AI/compute whitelist.--force/--rebuild-all: Ignore receipt provenance and rebuild everything.-n/--dry-run: Preview queued formulas without compiling.
3. Verification Evidence
- Dry-run on
rdmpw3275m(56T): Correctly selected all 198 unoptimized formulas. - Exclusion test on
rdmpw3275m:--skip boost ccachesuccessfully excluded both formulas. - Dry-run on
rdmpw3265m(48T): Correctly selected all 72 unoptimized formulas.