Skip to content

Commit

Permalink
Bump rust-bpf-sysroot version to v1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
dmakarov committed Mar 16, 2021
1 parent 2ed9fa9 commit 1dd4a81
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,19 @@ pushd out
git clone --single-branch --branch solana-1.50 https://github.com/solana-labs/rust.git
echo "$( cd rust && git rev-parse HEAD ) https://github.com/solana-labs/rust.git" >> version.md

git clone --recurse-submodules --single-branch --branch v1.1 https://github.com/solana-labs/rust-bpf-sysroot.git
git clone --recurse-submodules --single-branch --branch v1.2 https://github.com/solana-labs/rust-bpf-sysroot.git
echo "$( cd rust-bpf-sysroot && git rev-parse HEAD ) https://github.com/solana-labs/rust-bpf-sysroot.git" >> version.md

git clone --single-branch --branch rust-1.50.0 https://github.com/rust-lang/cargo.git
echo "$( cd cargo && git rev-parse HEAD ) https://github.com/rust-lang/cargo.git" >> version.md

pushd rust
./build.sh --llvm
RUST_DIR=$PWD
popd

pushd rust-bpf-sysroot
./test/build.sh ../rust/build/${HOST_TRIPLE}
./test/build.sh ${RUST_DIR}/build/${HOST_TRIPLE}
popd

pushd cargo
Expand Down

0 comments on commit 1dd4a81

Please sign in to comment.