Locate perf libs
This commit is contained in:
parent
3f7f492cc0
commit
0025b42c26
|
@ -3,6 +3,12 @@
|
||||||
# Disable complaints about unused variables in this file:
|
# Disable complaints about unused variables in this file:
|
||||||
# shellcheck disable=2034
|
# shellcheck disable=2034
|
||||||
|
|
||||||
|
# shellcheck disable=2154 # 'here' is referenced but not assigned
|
||||||
|
if [[ -z $here ]]; then
|
||||||
|
echo "|here| is not defined"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
rsync=rsync
|
rsync=rsync
|
||||||
if [[ -d "$SNAP" ]]; then # Running inside a Linux Snap?
|
if [[ -d "$SNAP" ]]; then # Running inside a Linux Snap?
|
||||||
solana_program() {
|
solana_program() {
|
||||||
|
@ -44,6 +50,11 @@ else
|
||||||
fi
|
fi
|
||||||
printf "cargo run $maybe_release --bin solana-%s %s -- " "$program" "$features"
|
printf "cargo run $maybe_release --bin solana-%s %s -- " "$program" "$features"
|
||||||
}
|
}
|
||||||
|
if [[ -n $SOLANA_CUDA ]]; then
|
||||||
|
# Locate perf libs downloaded by |./fetch-perf-libs.sh|
|
||||||
|
LD_LIBRARY_PATH=$(cd "$here" && dirname "$PWD"):$LD_LIBRARY_PATH
|
||||||
|
export LD_LIBRARY_PATH
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
solana_client_demo=$(solana_program client-demo)
|
solana_client_demo=$(solana_program client-demo)
|
||||||
|
|
Loading…
Reference in New Issue