File tree Expand file tree Collapse file tree 1 file changed +25
-1
lines changed
.ci/docker/manywheel/build_scripts Expand file tree Collapse file tree 1 file changed +25
-1
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,31 @@ yum -y install bzip2 make git patch unzip bison yasm diffutils \
3939 ${PYTHON_COMPILE_DEPS}
4040
4141# Install newest autoconf
42- build_autoconf $AUTOCONF_ROOT $AUTOCONF_HASH
42+ if [ " $( uname -m) " != " ppc64le" ] ; then
43+ build_autoconf $AUTOCONF_ROOT $AUTOCONF_HASH
44+ else
45+ # Download and extract Autoconf
46+ curl -sLO http://ftp.gnu.org/gnu/autoconf/$AUTOCONF_ROOT .tar.gz
47+ echo " $AUTOCONF_HASH $AUTOCONF_ROOT .tar.gz" | sha256sum -c -
48+ tar -xzf $AUTOCONF_ROOT .tar.gz
49+ cd $AUTOCONF_ROOT
50+
51+ # Update config.guess and config.sub
52+ curl -o build-aux/config.guess http://git.savannah.gnu.org/cgit/config.git/plain/config.guess
53+ curl -o build-aux/config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub
54+ chmod +x build-aux/config.guess build-aux/config.sub
55+
56+ # Configure with the correct host
57+ ./configure --host=powerpc64le-pc-linux-gnu
58+
59+ # Build and install
60+ make -j$( nproc)
61+ make install
62+
63+ # Clean up
64+ cd ..
65+ rm -rf $AUTOCONF_ROOT $AUTOCONF_ROOT .tar.gz
66+ fi
4367autoconf --version
4468
4569# Compile the latest Python releases.
You can’t perform that action at this time.
0 commit comments