rdmpw3265m-changelog-20260901-1826-cascadelake-compiler-flags
rdmpw3265m-changelog-20260901-1826-cascadelake-compiler-flags
Added Cascade Lake CPU architecture compilation optimization flags and Homebrew forced source build configuration on rdmpw3265m.
Scope
- Host: rdmpw3265m (macOS 26.7 Intel Xeon W-3265M 24-Core / 48 Threads)
Exact Files Touched
/Users/richh/.zshrc: Added Cascade Lake compiler flags, 48-thread parallel compilation variables, and Homebrew source build optimization flags and aliases.
Configuration Applied
~/.zshrc:
# --- Cascade Lake architecture optimization flags ---
# Intel Xeon W-3265M (Cascade Lake: AVX-512F/DQ/CD/BW/VL/VNNI - 48 threads)
export CFLAGS="-march=cascadelake -mtune=cascadelake -O3 -pipe"
export CXXFLAGS="-march=cascadelake -mtune=cascadelake -O3 -pipe"
export RUSTFLAGS="-C target-cpu=cascadelake"
export HOMEBREW_OPTFLAGS="-march=cascadelake -mtune=cascadelake"
export HOMEBREW_ARCH="cascadelake"
export MAKEFLAGS="-j$(sysctl -n hw.ncpu)"
export CMAKE_BUILD_PARALLEL_LEVEL="$(sysctl -n hw.ncpu)"
export HOMEBREW_MAKE_JOBS="$(sysctl -n hw.ncpu)"
export HOMEBREW_OPTIMIZATION_LEVEL="O3"
# Homebrew source build aliases
alias brew-upgrade="brew upgrade --build-from-source --greedy"
alias brew-install="brew install --build-from-source"
alias brew-reinstall="brew reinstall --build-from-source"Verification Evidence
- Verified 48-thread parallel job configuration
(
HOMEBREW_MAKE_JOBS=48). - Verified
HOMEBREW_OPTFLAGS="-march=cascadelake -mtune=cascadelake". - Verified aliases mapped properly.
How to Undo
Remove the added block or restore
~/.zshrc.bak.20260901181927.