Skip to content

Commit 362b140

Browse files
committed
[ci-armv6] update to nerves toolchain v13.2.0
1 parent 24051f9 commit 362b140

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/edgetpu_runtime.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,10 @@ jobs:
9797
wget "https://github.com/libusb/libusb/releases/download/v${LIBUSB_VER}/libusb-${LIBUSB_VER}.tar.bz2" -O "libusb-${LIBUSB_VER}.tar.bz2"
9898
tar -xf "libusb-${LIBUSB_VER}.tar.bz2"
9999
cd "libusb-${LIBUSB_VER}"
100-
if [ "${{ matrix.pair.cpu }}" = "armv6" ]; then
101-
wget https://github.com/nerves-project/toolchains/releases/download/v1.8.0/nerves_toolchain_armv6_nerves_linux_gnueabihf-linux_x86_64-1.8.0-BC50D6D.tar.xz -O nerves_toolchain_armv6_nerves_linux_gnueabihf-linux_x86_64-1.8.0-BC50D6D.tar.xz
102-
tar xf nerves_toolchain_armv6_nerves_linux_gnueabihf-linux_x86_64-1.8.0-BC50D6D.tar.xz
103-
export PATH="$(pwd)/nerves_toolchain_armv6_nerves_linux_gnueabihf-linux_x86_64-1.8.0/bin:${PATH}"
100+
if [ "${{ matrix.pair.cpu }}" = "armv6" ]; then
101+
curl -fSL https://github.com/nerves-project/toolchains/releases/download/v13.2.0/nerves_toolchain_armv6_nerves_linux_gnueabihf-linux_x86_64-13.2.0-363664F.tar.xz -o nerves_toolchain_armv6_nerves_linux_gnueabihf-linux_x86_64-13.2.0-363664F.tar.xz
102+
tar -xf nerves_toolchain_armv6_nerves_linux_gnueabihf-linux_x86_64-13.2.0-363664F.tar.xz
103+
export PATH="$(pwd)/nerves_toolchain_armv6_nerves_linux_gnueabihf-linux_x86_64-13.2.0/bin:${PATH}"
104104
CC="armv6-nerves-linux-gnueabihf-gcc" CFLAGS="-mabi=aapcs-linux -mfpu=vfp -marm -fstack-protector-strong -mfloat-abi=hard -mcpu=arm1176jzf-s -fPIC -Wl,-z,now -Wl,-z,relro" ./configure --host="arm-linux-gnueabihf" --disable-static --enable-shared --disable-udev --prefix="${LIBUSB_INSTALL_DIR}"
105105
else
106106
CC="${{ matrix.pair.cc }}" CFLAGS="-fPIC" ./configure --host="${{ matrix.pair.host }}" --enable-static --disable-shared --disable-udev --prefix="${LIBUSB_INSTALL_DIR}"

0 commit comments

Comments
 (0)