Setup CUDA env for local builds
This commit is contained in:
@ -131,6 +131,11 @@ build() {
|
|||||||
|
|
||||||
set -x
|
set -x
|
||||||
rm -rf farf
|
rm -rf farf
|
||||||
|
|
||||||
|
if [[ -r target/perf-libs/env.sh ]]; then
|
||||||
|
# shellcheck source=/dev/null
|
||||||
|
source target/perf-libs/env.sh
|
||||||
|
fi
|
||||||
$MAYBE_DOCKER cargo install --features="$cargoFeatures" --root farf
|
$MAYBE_DOCKER cargo install --features="$cargoFeatures" --root farf
|
||||||
./scripts/install-native-programs.sh farf/
|
./scripts/install-native-programs.sh farf/
|
||||||
)
|
)
|
||||||
|
@ -39,6 +39,10 @@ local|tar)
|
|||||||
export USE_INSTALL=1
|
export USE_INSTALL=1
|
||||||
export SOLANA_DEFAULT_METRICS_RATE=1
|
export SOLANA_DEFAULT_METRICS_RATE=1
|
||||||
|
|
||||||
|
./fetch-perf-libs.sh
|
||||||
|
# shellcheck source=/dev/null
|
||||||
|
source ./target/perf-libs/env.sh
|
||||||
|
|
||||||
net/scripts/rsync-retry.sh -vPrc "$entrypointIp:~/.cargo/bin/solana*" ~/.cargo/bin/
|
net/scripts/rsync-retry.sh -vPrc "$entrypointIp:~/.cargo/bin/solana*" ~/.cargo/bin/
|
||||||
solana_bench_tps=solana-bench-tps
|
solana_bench_tps=solana-bench-tps
|
||||||
solana_keygen=solana-keygen
|
solana_keygen=solana-keygen
|
||||||
|
@ -69,6 +69,11 @@ snap)
|
|||||||
local|tar)
|
local|tar)
|
||||||
PATH="$HOME"/.cargo/bin:"$PATH"
|
PATH="$HOME"/.cargo/bin:"$PATH"
|
||||||
export USE_INSTALL=1
|
export USE_INSTALL=1
|
||||||
|
if [[ -r target/perf-libs/env.sh ]]; then
|
||||||
|
# shellcheck source=/dev/null
|
||||||
|
source target/perf-libs/env.sh
|
||||||
|
fi
|
||||||
|
|
||||||
entrypointRsyncUrl="$entrypointIp:~/solana"
|
entrypointRsyncUrl="$entrypointIp:~/solana"
|
||||||
|
|
||||||
solana_bench_tps=solana-bench-tps
|
solana_bench_tps=solana-bench-tps
|
||||||
|
Reference in New Issue
Block a user