zeek/ci/macos/prepare.sh
2024-11-08 09:50:35 -07:00

16 lines
399 B
Bash
Executable file

#!/bin/sh
echo "Preparing macOS environment"
sysctl hw.model hw.machine hw.ncpu hw.physicalcpu hw.logicalcpu
set -e
set -x
brew update
brew upgrade cmake
brew install openssl@3 swig bison flex ccache libmaxminddb dnsmasq
if [ $(sw_vers -productVersion | cut -d '.' -f 1) -lt 14 ]; then
python3 -m pip install --upgrade pip
fi
python3 -m pip install --user --break-system-packages websockets