Skip to content

Commit

Permalink
Revert "set gnueabihf"
Browse files Browse the repository at this point in the history
This reverts commit 78f224b.
  • Loading branch information
bjia56 committed Jan 27, 2024
1 parent dcd15c6 commit d6496ff
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions scripts/build_linux_zig.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,14 @@ case "$ARCH" in
x86_64)
apt -y install libc6-amd64-cross
ln -s /usr/x86_64-linux-gnu/lib/ld-linux-x86-64.so.2 /lib/ld-linux-x86-64.so.2
export TARGET=${ARCH}-linux-gnu.2.17
;;
aarch64)
apt -y install libc6-arm64-cross
ln -s /usr/aarch64-linux-gnu/lib/ld-linux-aarch64.so.1 /lib/ld-linux-aarch64.so.1
export TARGET=${ARCH}-linux-gnu.2.17
;;
arm)
apt -y install libc6-armhf-cross
ln -s /usr/arm-linux-gnueabihf/lib/ld-linux-armhf.so.3 /lib/ld-linux-armhf.so.3
export TARGET=${ARCH}-linux-gnueabihf.2.17
;;
esac

Expand All @@ -54,6 +51,7 @@ export CC=zig_cc
export CXX=zig_cxx
export CHOST=${ARCH}

export TARGET=${ARCH}-linux-gnu.2.17
export ZIG_TARGET=${TARGET}

echo "::endgroup::"
Expand Down Expand Up @@ -368,4 +366,4 @@ mv python-install python-${PYTHON_FULL_VER}-linux-${ARCH}
tar -czf ${WORKDIR}/python-${PYTHON_FULL_VER}-linux-${ARCH}.tar.gz python-${PYTHON_FULL_VER}-linux-${ARCH}
zip ${WORKDIR}/python-${PYTHON_FULL_VER}-linux-${ARCH}.zip $(tar tf ${WORKDIR}/python-${PYTHON_FULL_VER}-linux-${ARCH}.tar.gz)

echo "::endgroup::"
echo "::endgroup::"

0 comments on commit d6496ff

Please sign in to comment.