Skip to content

Commit

Permalink
Release platform-tools v1.40
Browse files Browse the repository at this point in the history
This is an upgrade to llvm 17.0 and rust 1.75.0.
  • Loading branch information
dmakarov committed Feb 22, 2024
1 parent b5114e6 commit be5a7ed
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ rm -rf "${OUT_DIR}"
mkdir -p "${OUT_DIR}"
pushd "${OUT_DIR}"

git clone --single-branch --branch solana-tools-v1.39 https://github.com/solana-labs/rust.git
git clone --single-branch --branch solana-tools-v1.40 --recurse-submodules --shallow-submodules 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 --single-branch --branch solana-tools-v1.39 https://github.com/solana-labs/cargo.git
git clone --single-branch --branch solana-tools-v1.40 https://github.com/solana-labs/cargo.git
echo "$( cd cargo && git rev-parse HEAD ) https://github.com/solana-labs/cargo.git" >> version.md

pushd rust
Expand All @@ -57,7 +57,7 @@ fi
popd

if [[ "${HOST_TRIPLE}" != "x86_64-pc-windows-msvc" ]] ; then
git clone --single-branch --branch solana-tools-v1.39 https://github.com/solana-labs/newlib.git
git clone --single-branch --branch solana-tools-v1.40 https://github.com/solana-labs/newlib.git
echo "$( cd newlib && git rev-parse HEAD ) https://github.com/solana-labs/newlib.git" >> version.md
mkdir -p newlib_build
mkdir -p newlib_install
Expand Down Expand Up @@ -96,7 +96,7 @@ clang
clang++
clang-cl
clang-cpp
clang-16
clang-17
ld.lld
ld64.lld
llc
Expand Down Expand Up @@ -162,7 +162,7 @@ mkdir move-dev
if [[ "${HOST_TRIPLE}" == "x86_64-pc-windows-msvc" ]] ; then
rm -f rust/build/${HOST_TRIPLE}/llvm/bin/{llvm-ranlib.exe,llvm-lib.exe,llvm-dlltool.exe}
fi
cp -R "rust/build/${HOST_TRIPLE}/llvm/"{bin,include,lib} move-dev/
mv "rust/build/${HOST_TRIPLE}/llvm/"{bin,include,lib} move-dev/
tar -jcf "${MOVE_DEV_TAR}" move-dev

popd
Expand Down

0 comments on commit be5a7ed

Please sign in to comment.