Files
UltraGrid/.github/scripts/macOS/install_dylibbundler_v2.sh
Martin Pulec 01e36b250b install_dylibbundler_v2.sh: improvements
- do not use cmake (speed, compat)
- shallow clone
- parallel make according to num logical cores
2021-04-12 15:53:14 +02:00

14 lines
376 B
Bash
Executable File

#!/bin/sh -eu
# Use dylib bundler v2 from https://github.com/SCG82/macdylibbundler instead of the
# original because it has far better execution time (and perhaps also other improvements)
cd /tmp
git clone --depth 1 https://github.com/SCG82/macdylibbundler.git
cd macdylibbundler
make -j $(sysctl -n hw.ncpu)
sudo cp dylibbundler /usr/local/bin
cd -
rm -rf macdylibbundler