Explicitly specific build variant when installing native programs
This commit is contained in:
parent
1ddf93fd86
commit
fa58da2401
|
@ -45,7 +45,7 @@ echo --- Creating tarball
|
|||
|
||||
cargo install --path drone --root solana-release
|
||||
cargo install --path . --root solana-release
|
||||
./scripts/install-native-programs.sh solana-release/bin
|
||||
./scripts/install-native-programs.sh solana-release/bin release
|
||||
|
||||
./fetch-perf-libs.sh
|
||||
# shellcheck source=/dev/null
|
||||
|
|
|
@ -51,6 +51,6 @@ echo --- ci/localnet-sanity.sh
|
|||
# Assume |cargo build| has populated target/debug/ successfully.
|
||||
export PATH=$PWD/target/debug:$PATH
|
||||
# Move programs into the executable location so native_loader can find them
|
||||
scripts/install-native-programs.sh "$PWD"/target/debug
|
||||
scripts/install-native-programs.sh "$PWD"/target/debug debug
|
||||
USE_INSTALL=1 ci/localnet-sanity.sh
|
||||
)
|
||||
|
|
|
@ -142,7 +142,7 @@ build() {
|
|||
cargo install --path drone --features=$cargoFeatures --root farf
|
||||
cargo install --path . --features=$cargoFeatures --root farf
|
||||
"
|
||||
./scripts/install-native-programs.sh farf/
|
||||
./scripts/install-native-programs.sh farf/ release
|
||||
)
|
||||
echo "Build took $SECONDS seconds"
|
||||
}
|
||||
|
|
|
@ -24,7 +24,7 @@ rm -rf usr/
|
|||
cargo install --path . --root sdk/docker-solana/usr
|
||||
"
|
||||
cp -f entrypoint.sh usr/bin/solana-entrypoint.sh
|
||||
../../scripts/install-native-programs.sh usr/bin/
|
||||
../../scripts/install-native-programs.sh usr/bin/ release
|
||||
|
||||
docker build -t solanalabs/solana:$CHANNEL .
|
||||
|
||||
|
|
|
@ -95,7 +95,7 @@ parts:
|
|||
cargo install --path . --root $SNAPCRAFT_PART_INSTALL --bins
|
||||
|
||||
# Install native programs
|
||||
./scripts/install-native-programs.sh $SNAPCRAFT_PART_INSTALL/bin/
|
||||
./scripts/install-native-programs.sh $SNAPCRAFT_PART_INSTALL/bin/ release
|
||||
|
||||
# Install multinode-demo/
|
||||
mkdir -p $SNAPCRAFT_PART_INSTALL/multinode-demo/
|
||||
|
|
Loading…
Reference in New Issue