Skip to content

Fix llvm version check in packages.sh#882

Open
Chessing234 wants to merge 2 commits intocmu-db:masterfrom
Chessing234:fix/issue-805-packages-sh-brew-check
Open

Fix llvm version check in packages.sh#882
Chessing234 wants to merge 2 commits intocmu-db:masterfrom
Chessing234:fix/issue-805-packages-sh-brew-check

Conversation

@Chessing234
Copy link
Copy Markdown

Summary

  • Fixed the brew ls --versions check for llvm in build_support/packages.sh
  • The old command (brew ls --versions llvm | grep ${CLANG_VERSION}) always printed nothing because brew ls --versions llvm does not list versioned formulae like llvm@15
  • Replaced with brew ls --versions llvm@${CLANG_VERSION} which correctly checks whether the versioned formula is installed

Fixes #805

Test plan

  • Run build_support/packages.sh on macOS with llvm@15 already installed — should detect it and skip installation
  • Run build_support/packages.sh on macOS without llvm@15 — should install it

🤖 Generated with Claude Code

Chessing234 and others added 2 commits April 6, 2026 19:01
Fixes cmu-db#856. On newer GCC/Fedora 43, uint64_t is not implicitly
included, causing build failures.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Use 'brew ls --versions llvm@${CLANG_VERSION}' instead of piping
through grep, which always failed to match because 'brew ls --versions
llvm' does not list versioned formulae like llvm@15.

Fixes cmu-db#805

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Minor bug in build_support/packages.sh

1 participant