Build less for windows
This commit is contained in:
@ -55,24 +55,9 @@ cargo=cargo
|
|||||||
echo "Install location: $installDir ($buildVariant)"
|
echo "Install location: $installDir ($buildVariant)"
|
||||||
|
|
||||||
cd "$(dirname "$0")"/..
|
cd "$(dirname "$0")"/..
|
||||||
./fetch-perf-libs.sh
|
|
||||||
|
|
||||||
SECONDS=0
|
SECONDS=0
|
||||||
|
|
||||||
(
|
|
||||||
set -x
|
|
||||||
# shellcheck disable=SC2086 # Don't want to double quote $rust_version
|
|
||||||
$cargo $maybeRustVersion build $maybeReleaseFlag
|
|
||||||
|
|
||||||
if $useMove; then
|
|
||||||
moveLoaderDir=programs/move_loader
|
|
||||||
# shellcheck disable=SC2086 # Don't want to double quote $rust_version
|
|
||||||
$cargo $maybeRustVersion build $maybeReleaseFlag --manifest-path "$moveLoaderDir/Cargo.toml"
|
|
||||||
cp -fv $moveLoaderDir/target/$buildVariant/libsolana_move_loader_program.* "$installDir/bin/deps"
|
|
||||||
fi
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
if [[ $CI_OS_NAME = windows ]]; then
|
if [[ $CI_OS_NAME = windows ]]; then
|
||||||
# Limit windows to end-user command-line tools. Full validator support is not
|
# Limit windows to end-user command-line tools. Full validator support is not
|
||||||
# yet available on windows
|
# yet available on windows
|
||||||
@ -83,6 +68,21 @@ if [[ $CI_OS_NAME = windows ]]; then
|
|||||||
solana-keygen
|
solana-keygen
|
||||||
)
|
)
|
||||||
else
|
else
|
||||||
|
./fetch-perf-libs.sh
|
||||||
|
(
|
||||||
|
set -x
|
||||||
|
# shellcheck disable=SC2086 # Don't want to double quote $rust_version
|
||||||
|
$cargo $maybeRustVersion build $maybeReleaseFlag
|
||||||
|
|
||||||
|
if $useMove; then
|
||||||
|
moveLoaderDir=programs/move_loader
|
||||||
|
# shellcheck disable=SC2086 # Don't want to double quote $rust_version
|
||||||
|
$cargo $maybeRustVersion build $maybeReleaseFlag --manifest-path "$moveLoaderDir/Cargo.toml"
|
||||||
|
cp -fv $moveLoaderDir/target/$buildVariant/libsolana_move_loader_program.* "$installDir/bin/deps"
|
||||||
|
fi
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
BINS=(
|
BINS=(
|
||||||
solana
|
solana
|
||||||
solana-bench-exchange
|
solana-bench-exchange
|
||||||
|
Reference in New Issue
Block a user