Skip to content

Commit 6f780fe

Browse files
committedFeb 23, 2021
Trying various things
1 parent 9e44641 commit 6f780fe

File tree

1 file changed

+17
-9
lines changed

1 file changed

+17
-9
lines changed
 

‎scripts/build-wheels.sh

+17-9
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,26 @@ set -e -x
55
sudo yum install -y atlas-devel
66

77
# Compile wheels
8-
for PYBIN in /opt/python/*/bin; do
8+
for PYBIN in /opt/python/*cp38/bin; do
99
# sudo ${PYBIN}/pip install -r ./dev-requirements.txt
10-
LDSHARED="$CC -shared" ${PYBIN}/pip wheel . -w wheelhouse/
10+
sudo ${PYBIN}/pip install -U pip setuptools
11+
sudo ${PYBIN}/pip install wheel numpy Cython pybind11
12+
#LDSHARED="$CC -shared" \
13+
#${PYBIN}/pip wheel . -w wheelhouse/ \
14+
#--no-deps \
15+
#--build-option --plat-name=manylinux2014_aarch64
16+
17+
LDSHARED="$CC -shared" ${PYBIN}/python ./setup.py bdist_wheel -b wheelhouse/ \
18+
--plat-name manylinux2014_aarch64
1119
done
1220

1321
# Bundle external shared libraries into the wheels
14-
for whl in wheelhouse/*.whl; do
15-
auditwheel repair $whl -w ./wheelhouse/
16-
done
22+
#for whl in wheelhouse/*.whl; do
23+
#auditwheel repair $whl -w ./wheelhouse/
24+
#done
1725

1826
# Install packages and test
19-
for PYBIN in /opt/python/*/bin/; do
20-
sudo ${PYBIN}/pip install python-manylinux-demo --no-index -f ./wheelhouse
21-
(cd $HOME; ${PYBIN}/nosetests pymanylinuxdemo)
22-
done
27+
#for PYBIN in /opt/python/*/bin/; do
28+
#sudo ${PYBIN}/pip install python-manylinux-demo --no-index -f ./wheelhouse
29+
#(cd $HOME; ${PYBIN}/nosetests pymanylinuxdemo)
30+
#done

0 commit comments

Comments
 (0)
Please sign in to comment.