add pkg-config to brew install when using x86 Mac (#24627)

Signed-off-by: bryanwux <bryanwu610@gmail.com>
This commit is contained in:
Bryanw 2023-06-05 15:34:36 +08:00 committed by GitHub
parent 19b826e94a
commit 11db41745d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,7 +50,7 @@ function install_linux_deps() {
function install_mac_deps() {
sudo xcode-select --install > /dev/null 2>&1
brew install libomp ninja cmake llvm@15 ccache grep
brew install libomp ninja cmake llvm@15 ccache grep pkg-config
export PATH="/usr/local/opt/grep/libexec/gnubin:$PATH"
brew update && brew upgrade && brew cleanup
@ -59,7 +59,6 @@ function install_mac_deps() {
if [[ $(arch) == 'arm64' ]]; then
brew install openssl
brew install librdkafka
brew install pkg-config
fi
}