SOLANA_CUDA=1 works again (#5968)
* SOLANA_CUDA=1 works again * Minor comment reformat * Set SOLANA_CUDA=1 explictly
This commit is contained in:
parent
355564e486
commit
1650519962
|
@ -74,6 +74,7 @@ test-stable-perf)
|
||||||
# shellcheck source=/dev/null
|
# shellcheck source=/dev/null
|
||||||
source ./target/perf-libs/env.sh
|
source ./target/perf-libs/env.sh
|
||||||
ROOT_FEATURES=cuda
|
ROOT_FEATURES=cuda
|
||||||
|
export SOLANA_CUDA=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Run root package library tests
|
# Run root package library tests
|
||||||
|
@ -91,11 +92,9 @@ test-local-cluster)
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# Assumes target/debug is populated. Ensure last build command
|
|
||||||
# leaves target/debug in the state intended for localnet-sanity
|
|
||||||
echo --- ci/localnet-sanity.sh
|
echo --- ci/localnet-sanity.sh
|
||||||
|
export CARGO_TOOLCHAIN=+"$rust_stable"
|
||||||
(
|
(
|
||||||
set -x
|
set -x
|
||||||
export PATH=$PWD/target/debug:$PATH
|
ci/localnet-sanity.sh -x
|
||||||
USE_INSTALL=1 ci/localnet-sanity.sh -x
|
|
||||||
)
|
)
|
||||||
|
|
|
@ -55,8 +55,8 @@ else
|
||||||
if [[ -n $NDEBUG ]]; then
|
if [[ -n $NDEBUG ]]; then
|
||||||
maybe_release=--release
|
maybe_release=--release
|
||||||
fi
|
fi
|
||||||
declare manifest_path="--manifest-path=$SOLANA_ROOT/Cargo.toml"
|
declare manifest_path="--manifest-path=$SOLANA_ROOT/$crate/Cargo.toml"
|
||||||
printf "cargo run $manifest_path $maybe_release $maybe_package --bin %s %s -- " "$program" "$features"
|
printf "cargo $CARGO_TOOLCHAIN run $manifest_path $maybe_release $maybe_package --bin %s %s -- " "$program" "$features"
|
||||||
}
|
}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue