move building directions out into separate file
[sfpy.git] / docker-build-wheels.sh
1 #!/bin/bash
2 set -e -x
3 cd /io/
4 ls
5
6 (cd SoftPosit/build/Linux-x86_64-GCC; make clean; make)
7 (cd berkeley-softfloat-3/build/Linux-x86_64-GCC; make clean; make)
8
9 for PYBIN in /opt/python/*/bin; do
10 "${PYBIN}/pip" wheel . -w wheelhouse/
11 done
12
13 for whl in wheelhouse/*.whl; do
14 auditwheel repair "$whl" -w wheelhouse/
15 done
16
17 rm wheelhouse/*linux_x86_64.whl
18
19 (cd SoftPosit/build/Linux-x86_64-GCC; make clean)
20 (cd berkeley-softfloat-3/build/Linux-x86_64-GCC; make clean)