-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CMake builds seem properly integrated, sub and derivative are working…
…, need to get wheels built
- Loading branch information
1 parent
88d1f18
commit cb0414d
Showing
11 changed files
with
273 additions
and
272 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bash | ||
DOCKER_IMAGE=quay.io/pypa/manylinux2014_x86_64 | ||
PLAT=manylinux2014_x86_64 | ||
docker run --rm -e PLAT=$PLAT -v `pwd`:/io $DOCKER_IMAGE $PRE_CMD /io/scripts/manylinux_entrypoint.sh | ||
ls wheelhouse/ |
Empty file.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#!/bin/bash | ||
set -e -u -x | ||
|
||
function repair_wheel { | ||
wheel="$1" | ||
if ! auditwheel show "$wheel"; then | ||
echo "Skipping non-platform wheel $wheel" | ||
else | ||
auditwheel repair "$wheel" --plat "$PLAT" -w /io/wheelhouse/ | ||
fi | ||
} | ||
|
||
|
||
# Install a system package required by our library | ||
yum install -y gtest-devel | ||
|
||
# Compile wheels | ||
ls /opt/python/ | ||
mkdir -p /io/wheelhouse | ||
for VER in cp39-cp39; do #cp36-cp36m cp37-cp37m cp38-cp38 | ||
PYBIN=/opt/python/$VER/bin | ||
"${PYBIN}/pip" install -r /io/dev-requirements.txt | ||
"${PYBIN}/pip" wheel /io/ --no-deps -w /io/wheelhouse/ | ||
done | ||
|
||
# Bundle external shared libraries into the wheels | ||
for whl in /io/wheelhouse/*.whl; do | ||
#auditwheel repair "$whl" | ||
repair_wheel "$whl" | ||
done | ||
|
||
# Install packages and test | ||
for VER in cp39-cp39; do #cp36-cp36m cp37-cp37m cp38-cp38 | ||
PYBIN=/opt/python/$VER/bin | ||
"${PYBIN}/pip" install stator --no-index -f /io/wheelhouse | ||
#(cd "$HOME"; "${PYBIN}/nosetests" pymanylinuxdemo) | ||
done |
Oops, something went wrong.