Skip to content

Commit 4699633

Browse files
committed
ENH: Add dockcross-manylinux-build-wheels.sh script
* relocate scripts indirectly used into scripts/internal
1 parent 226d425 commit 4699633

3 files changed

Lines changed: 18 additions & 1 deletion

File tree

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/bin/bash
2+
3+
# Pull dockcross manylinux images
4+
docker pull dockcross/manylinux-x64
5+
docker pull dockcross/manylinux-x86
6+
7+
# Generate dockcross scripts
8+
docker run dockcross/manylinux-x64 > /tmp/dockcross-manylinux-x64 && chmod u+x /tmp/dockcross-manylinux-x64
9+
docker run dockcross/manylinux-x86 > /tmp/dockcross-manylinux-x86 && chmod u+x /tmp/dockcross-manylinux-x86
10+
11+
script_dir="`cd $(dirname $0); pwd`"
12+
13+
# Build wheels
14+
pushd $script_dir/..
15+
/tmp/dockcross-manylinux-x64 ./scripts/internal/manylinux-build-wheels.sh
16+
/tmp/dockcross-manylinux-x86 ./scripts/internal/manylinux-build-wheels.sh
17+
popd

scripts/manylinux-build-wheels.sh renamed to scripts/internal/manylinux-build-wheels.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ popd > /dev/null 2>&1
3636
# not the extension itself is explicitly linked against libpython. [...]"
3737
#
3838
# Source: https://www.python.org/dev/peps/pep-0513/#libpythonx-y-so-1
39-
PYTHON_LIBRARY=/work/scripts/manylinux-libpython-not-needed-symbols-exported-by-interpreter
39+
PYTHON_LIBRARY=/work/scripts/internal/manylinux-libpython-not-needed-symbols-exported-by-interpreter
4040
touch ${PYTHON_LIBRARY}
4141

4242
# Compile wheels re-using standalone project and archive cache

scripts/internal/manylinux-libpython-not-needed-symbols-exported-by-interpreter

Whitespace-only changes.

0 commit comments

Comments
 (0)