Fleet changelogs · dev.ecs0.net
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

Exact Files Touched

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

  1. Verified 48-thread parallel job configuration (HOMEBREW_MAKE_JOBS=48).
  2. Verified HOMEBREW_OPTFLAGS="-march=cascadelake -mtune=cascadelake".
  3. Verified aliases mapped properly.

How to Undo

Remove the added block or restore ~/.zshrc.bak.20260901181927.