Skip to content

Commit a4fef0f

Browse files
committed
Remove coreutils installation for macOS
The only reason for coreutils is realpath, which macOS has had built in since 12.3.
1 parent 3877393 commit a4fef0f

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

‎cmake/macos-brew-deps.sh‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,16 @@ fetch_intel_bottle() {
2323
install_macos_brew_deps() {
2424
brew update || true # allow failure
2525
if [[ "$(uname -m)" == "x86_64" ]]; then
26-
# openssl@4 (a dependency of coreutils): newest version with an Intel bottle is 4.0.2
27-
brew install ca-certificates
28-
fetch_intel_bottle openssl/4 4.0.2 openssl@4
2926
# llvm@19 depends on zstd
3027
brew install zstd
3128
fetch_intel_bottle llvm/19 19.1.7 llvm@19
3229
fetch_intel_bottle lld/19 19.1.7 lld@19
33-
brew install cmake pkg-config wget unzip coreutils # `coreutils` installs the `realpath` command
30+
# NOTE: `coreutils` is deliberately not installed: it depends on openssl@4,
31+
# which has no Intel bottle at its current version (built from source, ~10 min).
32+
# macOS ships `realpath` natively since 12.3.
33+
brew install cmake pkg-config wget unzip
3434
else
35-
brew install cmake pkg-config wget unzip coreutils
35+
brew install cmake pkg-config wget unzip
3636
# SpiderMonkey requires clang >= 19 and lld as the host linker; Xcode's clang
3737
# is older and ships no lld. Versioned formulas because the unversioned
3838
# `llvm`/`lld` build from source for hours on some macOS versions.

0 commit comments

Comments
 (0)