mirror of
https://github.com/LizardByte/Sunshine.git
synced 2024-12-26 21:15:15 +00:00
24 lines
376 B
Bash
24 lines
376 B
Bash
# install dependencies for C++ analysis
|
|
set -e
|
|
|
|
# install dependencies
|
|
brew install \
|
|
boost \
|
|
cmake \
|
|
miniupnpc \
|
|
node \
|
|
opus \
|
|
pkg-config
|
|
|
|
# build
|
|
mkdir -p build
|
|
cd build || exit 1
|
|
cmake \
|
|
-DBOOST_USE_STATIC=OFF \
|
|
-DBUILD_DOCS=OFF \
|
|
-G "Unix Makefiles" ..
|
|
make -j"$(sysctl -n hw.logicalcpu)"
|
|
|
|
# skip autobuild
|
|
echo "skip_autobuild=true" >> "$GITHUB_OUTPUT"
|