Skip to content

Commit

Permalink
Upgrade toolchains, python-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
tttapa committed May 20, 2024
1 parent 3a1442f commit b142418
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/Cross-compilation.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ You can find ready-to-use toolchains with good compatibility at https://github.c
# Create a directory to save the cross-compilation toolchains into
mkdir -p toolchains
# Download and extract the toolchain for AArch64 (~120 MiB)
url="https://github.com/tttapa/toolchains/releases/download/0.1.0"
url="https://github.com/tttapa/toolchains/releases/download/0.1.1"
wget "$url/x-tools-aarch64-rpi3-linux-gnu-gcc14.tar.xz" -O- | tar xJ -C toolchains
# Verify that the toolchain works
./toolchains/x-tools/aarch64-rpi3-linux-gnu/bin/aarch64-rpi3-linux-gnu-gcc --version
Expand All @@ -138,7 +138,7 @@ You can download these from https://github.com/tttapa/python-dev.
# The toolchain is read-only by default, make it writable to add Python to it
chmod u+w "toolchains/x-tools/aarch64-rpi3-linux-gnu"
# Download and extract the Python binaries for AArch64 (~150 MiB)
url="https://github.com/tttapa/python-dev/releases/download/0.0.2"
url="https://github.com/tttapa/python-dev/releases/download/0.0.3"
wget "$url/python-dev-aarch64-rpi3-linux-gnu.tar.xz" -O- | tar xJ -C toolchains
```

Expand Down
4 changes: 2 additions & 2 deletions scripts/download-cross-toolchains-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ cd "$( dirname "${BASH_SOURCE[0]}" )"/..

triples=(x86_64-bionic-linux-gnu armv6-rpi-linux-gnueabihf armv7-neon-linux-gnueabihf aarch64-rpi3-linux-gnu)
gcc_version="14"
toolchain_version="0.1.0"
python_dev_version="0.0.2"
toolchain_version="0.1.1"
python_dev_version="0.0.3"
toolchain_folder="$PWD/toolchains"

set -ex
Expand Down

0 comments on commit b142418

Please sign in to comment.