Compare commits

...

3 Commits

Author SHA1 Message Date
Greg Fitzgerald
e6c3c215ab Add note about installing git-lfs 2018-04-30 15:26:31 -06:00
Greg Fitzgerald
5c66bbde01 Add a note about running with GPU optimizations 2018-04-30 15:20:39 -06:00
Anatoly Yakovenko
6268d540a8 move CI specific scripts to solana-labs/buildkite repo
Former-commit-id: 77dd1bdd4a
2018-04-29 23:43:43 -07:00
2 changed files with 10 additions and 6 deletions

View File

@@ -29,6 +29,10 @@ $ curl https://sh.rustup.rs -sSf | sh
$ source $HOME/.cargo/env
```
If you plan to run with GPU optimizations enabled (not recommended), you'll need a CUDA library stored in git LFS. Install git-lfs here:
https://git-lfs.github.com/
Now checkout the code from github:
```bash
@@ -133,6 +137,12 @@ Run the benchmarks:
$ cargo +nightly bench --features="unstable"
```
To run the benchmarks on Linux with GPU optimizations enabled:
```bash
$ cargo +nightly bench --features="unstable,cuda"
```
Code coverage
---

View File

@@ -1,6 +0,0 @@
#!/bin/bash
export LD_LIBRARY_PATH=/usr/local/cuda/lib64
source $HOME/.cargo/env
export PATH=$PATH:/usr/local/cuda/bin
cp /tmp/libcuda_verify_ed25519.a .
cargo test --features=cuda