Simply fetching perf libs

This commit is contained in:
Michael Vines
2018-06-23 02:15:38 -07:00
parent 8dba53e494
commit 183178681d
2 changed files with 2 additions and 11 deletions

View File

@@ -45,12 +45,6 @@ apps:
command: solana-client-demo
parts:
solana-perf-package:
plugin: dump
build-attributes: [no-system-libraries]
source: https://solana-perf.s3.amazonaws.com/master/x86_64-unknown-linux-gnu/solana-perf.tgz
prime:
- solana-perf-HEAD.txt
solana-cuda:
plugin: rust
rust-channel: stable
@@ -62,9 +56,7 @@ parts:
- usr/lib/libgf_complete.so.1
- usr/lib/libJerasure.so.2
override-build: |
cp -f $SNAPCRAFT_STAGE/libcuda_verify_ed25519.a .
cp -f $SNAPCRAFT_STAGE/libJerasure.so .
cp -f $SNAPCRAFT_STAGE/libgf_complete.so .
./fetch-perf-libs.sh
snapcraftctl build
mv $SNAPCRAFT_PART_INSTALL/bin/solana-fullnode $SNAPCRAFT_PART_INSTALL
rm -rf $SNAPCRAFT_PART_INSTALL/bin/*
@@ -72,8 +64,6 @@ parts:
mkdir -p $SNAPCRAFT_PART_INSTALL/usr/lib/
cp -f libJerasure.so $SNAPCRAFT_PART_INSTALL/usr/lib/libJerasure.so.2
cp -f libgf_complete.so $SNAPCRAFT_PART_INSTALL/usr/lib/libgf_complete.so.1
after:
- solana-perf-package
solana:
plugin: rust
rust-channel: stable