Skip to content

Commit 1ae7051

Browse files
print uname
1 parent 57aa902 commit 1ae7051

File tree

1 file changed

+5
-1
lines changed
  • .ci/docker/manywheel/build_scripts

1 file changed

+5
-1
lines changed

.ci/docker/manywheel/build_scripts/build.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,12 @@ AUTOCONF_HASH=954bd69b391edc12d6a4a51a2dd1476543da5c6bbf05a95b59dc0dd6fd4c2969
1919
# Dependencies for compiling Python that we want to remove from
2020
# the final image after compiling Python
2121
PYTHON_COMPILE_DEPS="zlib-devel bzip2-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel libpcap-devel xz-devel libffi-devel"
22-
echo "Machine architecture: $(uname -m)"
2322

23+
if [ "$(uname -m)" != "s390x" && "$(uname -m)" != "ppc64le" ] ; then
24+
PYTHON_COMPILE_DEPS="${PYTHON_COMPILE_DEPS} db4-devel"
25+
else
26+
PYTHON_COMPILE_DEPS="${PYTHON_COMPILE_DEPS} libdb-devel"
27+
fi
2428

2529
# Libraries that are allowed as part of the manylinux1 profile
2630
MANYLINUX1_DEPS="glibc-devel libstdc++-devel glib2-devel libX11-devel libXext-devel libXrender-devel mesa-libGL-devel libICE-devel libSM-devel ncurses-devel"

0 commit comments

Comments
 (0)