Automate building
This commit is contained in:
parent
6bc0b80e39
commit
772677590c
2 changed files with 9 additions and 5 deletions
|
@ -3,16 +3,19 @@ set -e -x
|
|||
|
||||
# Install a system package required by our library
|
||||
#yum install -y atlas-devel
|
||||
yum install -y cmake3
|
||||
yum install -y cmake3 gsl-devel zlib-devel
|
||||
|
||||
ln -fs /usr/bin/cmake3 /usr/bin/cmake
|
||||
|
||||
|
||||
ALL_PYTHON=cp38-cp38
|
||||
ALL_PYTHON="cp37-cp37m cp38-cp38"
|
||||
|
||||
# Compile wheels
|
||||
for pkg in $ALL_PYTHON; do
|
||||
PYBIN=/opt/python/${pkg}/bin
|
||||
# "${PYBIN}/pip" install -r /io/dev-requirements.txt
|
||||
"${PYBIN}/pip" wheel -v /io/ -w wheelhouse/
|
||||
"${PYBIN}/pip" install -r /io/requirements.txt
|
||||
"${PYBIN}/pip" wheel -vvv /io/ -w wheelhouse/
|
||||
done
|
||||
|
||||
# Bundle external shared libraries into the wheels
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue