Restore cargo install to work around --features= 'feature' (#4627)
This commit is contained in:
parent
966b6999d1
commit
b4d4edb645
|
@ -29,27 +29,26 @@ SECONDS=0
|
|||
cargo $rust_version build --all --release --features="$cargoFeatures"
|
||||
)
|
||||
|
||||
PROGRAMS=(
|
||||
solana-drone
|
||||
solana-genesis
|
||||
solana-gossip
|
||||
solana-install
|
||||
solana-install-init
|
||||
solana-keygen
|
||||
solana-ledger-tool
|
||||
solana-replicator
|
||||
solana-validator
|
||||
solana-wallet
|
||||
solana-bench-exchange
|
||||
solana-bench-streamer
|
||||
solana-bench-tps
|
||||
BIN_CRATES=(
|
||||
drone
|
||||
genesis
|
||||
gossip
|
||||
install
|
||||
keygen
|
||||
ledger-tool
|
||||
replicator
|
||||
validator
|
||||
wallet
|
||||
bench-exchange
|
||||
bench-streamer
|
||||
bench-tps
|
||||
)
|
||||
|
||||
for program in "${PROGRAMS[@]}"; do
|
||||
for crate in "${BIN_CRATES[@]}"; do
|
||||
(
|
||||
set -x
|
||||
mkdir -p "$installDir"/bin
|
||||
cp target/release/"$program" "$installDir"/bin
|
||||
# shellcheck disable=SC2086 # Don't want to double quote $rust_version
|
||||
cargo $rust_version install --force --path "$crate" --root "$installDir" --features="$cargoFeatures"
|
||||
)
|
||||
done
|
||||
|
||||
|
|
Loading…
Reference in New Issue