Skip to content

Commit

Permalink
chore: prepare for manylinux_2_35 and riscv64
Browse files Browse the repository at this point in the history
This does not add or test either of those.
  • Loading branch information
mayeut committed Feb 9, 2025
1 parent 88eeba0 commit ff4b55d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ case "${PLATFORM}" in
ppc64le) GOARCH="ppc64le";;
s390x) GOARCH="s390x";;
armv7l) GOARCH="arm/v7";;
riscv64) GOARCH="riscv64";;
*) echo "Unsupported platform: '${PLATFORM}'"; exit 1;;
esac

Expand Down Expand Up @@ -47,6 +48,11 @@ elif [ "${POLICY}" == "manylinux_2_34" ]; then
DEVTOOLSET_ROOTPATH="/opt/rh/gcc-toolset-14/root"
PREPEND_PATH="/usr/local/bin:${DEVTOOLSET_ROOTPATH}/usr/bin:"
LD_LIBRARY_PATH_ARG="${DEVTOOLSET_ROOTPATH}/usr/lib64:${DEVTOOLSET_ROOTPATH}/usr/lib:${DEVTOOLSET_ROOTPATH}/usr/lib64/dyninst:${DEVTOOLSET_ROOTPATH}/usr/lib/dyninst"
elif [ "${POLICY}" == "manylinux_2_35" ]; then
BASEIMAGE="ubuntu:22.04"
DEVTOOLSET_ROOTPATH=
PREPEND_PATH=
LD_LIBRARY_PATH_ARG=
elif [ "${POLICY}" == "musllinux_1_2" ]; then
BASEIMAGE="alpine:3.21"
DEVTOOLSET_ROOTPATH=
Expand Down

0 comments on commit ff4b55d

Please sign in to comment.