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"
|
cargo $rust_version build --all --release --features="$cargoFeatures"
|
||||||
)
|
)
|
||||||
|
|
||||||
PROGRAMS=(
|
BIN_CRATES=(
|
||||||
solana-drone
|
drone
|
||||||
solana-genesis
|
genesis
|
||||||
solana-gossip
|
gossip
|
||||||
solana-install
|
install
|
||||||
solana-install-init
|
keygen
|
||||||
solana-keygen
|
ledger-tool
|
||||||
solana-ledger-tool
|
replicator
|
||||||
solana-replicator
|
validator
|
||||||
solana-validator
|
wallet
|
||||||
solana-wallet
|
bench-exchange
|
||||||
solana-bench-exchange
|
bench-streamer
|
||||||
solana-bench-streamer
|
bench-tps
|
||||||
solana-bench-tps
|
|
||||||
)
|
)
|
||||||
|
|
||||||
for program in "${PROGRAMS[@]}"; do
|
for crate in "${BIN_CRATES[@]}"; do
|
||||||
(
|
(
|
||||||
set -x
|
set -x
|
||||||
mkdir -p "$installDir"/bin
|
# shellcheck disable=SC2086 # Don't want to double quote $rust_version
|
||||||
cp target/release/"$program" "$installDir"/bin
|
cargo $rust_version install --force --path "$crate" --root "$installDir" --features="$cargoFeatures"
|
||||||
)
|
)
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue