ci/test-stable-perf.sh now runs on macOS

This commit is contained in:
Michael Vines
2018-12-20 14:37:34 -08:00
parent 951d6398a0
commit becfd1e9fa
3 changed files with 44 additions and 7 deletions

19
build-perf-libs.sh Executable file
View File

@ -0,0 +1,19 @@
#!/usr/bin/env bash
#
# Builds perf-libs from the upstream source and installs them into the correct
# location in the tree
#
set -e
cd "$(dirname "$0")"
if [[ -d target/perf-libs ]]; then
echo "target/perf-libs/ already exists, to continue run:"
echo "$ rm -rf target/perf-libs"
exit 1
fi
set -x
git clone git@github.com:solana-labs/solana-perf-libs.git target/perf-libs
cd target/perf-libs
make -j"$(nproc)"
make DESTDIR=. install