Relocate native programs to deps/ subdirectory of the current executable
This layout is `cargo build` compatible, no post-build file moves required.
This commit is contained in:
@@ -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 release
|
||||
./scripts/install-native-programs.sh solana-release/bin/deps/ release
|
||||
|
||||
./fetch-perf-libs.sh
|
||||
# shellcheck source=/dev/null
|
||||
|
@@ -50,7 +50,5 @@ echo --- ci/localnet-sanity.sh
|
||||
set -x
|
||||
# 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 debug
|
||||
USE_INSTALL=1 ci/localnet-sanity.sh
|
||||
)
|
||||
|
Reference in New Issue
Block a user