Skip to content
Snippets Groups Projects
Commit d36d8ef1 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

Revert "manylinux build only 3.7 for tests"

This reverts commit b665150e.
parent 7287974e
No related branches found
No related tags found
No related merge requests found
...@@ -5,7 +5,7 @@ docker run -v "$(pwd -P):/io" --rm -t manylinux rm -rf /io/dist /io/wheelhouse ...@@ -5,7 +5,7 @@ docker run -v "$(pwd -P):/io" --rm -t manylinux rm -rf /io/dist /io/wheelhouse
docker run -v "$(pwd -P):/io" --rm -t manylinux /scripts/setup.sh eigenpy docker run -v "$(pwd -P):/io" --rm -t manylinux /scripts/setup.sh eigenpy
docker run -v "$(pwd -P):/io" --rm -t manylinux /scripts/setup.sh hpp-fcl docker run -v "$(pwd -P):/io" --rm -t manylinux /scripts/setup.sh hpp-fcl
docker run -v "$(pwd -P):/io" --rm -t manylinux /scripts/setup.sh pinocchio docker run -v "$(pwd -P):/io" --rm -t manylinux /scripts/setup.sh pinocchio
for PYVER in 2.7 3.5 3.6 3.7 3.8 for PYVER in 2.7 3.5 3.6 3.7 3.8 3.9
do do
docker build -f test.Dockerfile --build-arg PYVER=$PYVER -t manylinux-test:$PYVER . docker build -f test.Dockerfile --build-arg PYVER=$PYVER -t manylinux-test:$PYVER .
docker run --rm -t manylinux-test:$PYVER docker run --rm -t manylinux-test:$PYVER
......
...@@ -6,5 +6,5 @@ tar --bzip2 -xf boost_1_74_0.tar.bz2 ...@@ -6,5 +6,5 @@ tar --bzip2 -xf boost_1_74_0.tar.bz2
cd boost_1_74_0 cd boost_1_74_0
./bootstrap.sh --prefix=/usr/local ./bootstrap.sh --prefix=/usr/local
cp ../project-config.jam . cp ../project-config.jam .
./b2 install link=shared python=3.7 -j"$(nproc)" ./b2 install link=shared python=2.7,3.5,3.6,3.7,3.8,3.9 -j"$(nproc)"
rm -rf /build rm -rf /build
...@@ -18,7 +18,12 @@ project : default-build <toolset>gcc ; ...@@ -18,7 +18,12 @@ project : default-build <toolset>gcc ;
import python ; import python ;
if ! [ python.configured ] if ! [ python.configured ]
{ {
using python : 2.7 : /usr/bin/python : /usr/include/python2.7 : /usr/lib ;
using python : 3.5 : /opt/python/cp35-cp35m/bin/python : /opt/python/cp35-cp35m/include/python3.5m : /opt/python/cp35-cp35m/lib ;
using python : 3.6 : /opt/python/cp36-cp36m/bin/python : /opt/python/cp36-cp36m/include/python3.6m : /opt/python/cp36-cp36m/lib ;
using python : 3.7 : /opt/python/cp37-cp37m/bin/python : /opt/python/cp37-cp37m/include/python3.7m : /opt/python/cp37-cp37m/lib ; using python : 3.7 : /opt/python/cp37-cp37m/bin/python : /opt/python/cp37-cp37m/include/python3.7m : /opt/python/cp37-cp37m/lib ;
using python : 3.8 : /opt/python/cp38-cp38/bin/python : /opt/python/cp38-cp38/include/python3.8 : /opt/python/cp38-cp38/lib ;
using python : 3.9 : /opt/python/cp39-cp39/bin/python : /opt/python/cp39-cp39/include/python3.9 : /opt/python/cp39-cp39/lib ;
} }
# List of --with-<library> and --without-<library> # List of --with-<library> and --without-<library>
......
#!/bin/bash -eux #!/bin/bash -eux
rm /opt/python/{cp35-cp35m,cp36-cp36m,cp38-cp38,cp39-cp39}
# Install cmake, ninja and wheel # Install cmake, ninja and wheel
PY37_BIN=/opt/python/cp37-cp37m/bin PY39_BIN=/opt/python/cp39-cp39/bin
$PY37_BIN/pip install cmake ninja wheel $PY39_BIN/pip install cmake ninja wheel
ln -s $PY37_BIN/cmake /usr/bin/ ln -s $PY39_BIN/cmake /usr/bin/
ln -s $PY37_BIN/ninja /usr/bin/ ln -s $PY39_BIN/ninja /usr/bin/
ln -s $PY37_BIN/wheel /usr/bin/ ln -s $PY39_BIN/wheel /usr/bin/
# Setup python 2.7
yum -y install python-pip
PY27_BIN=/opt/python/cp27-cp27mu/bin
mkdir -p $PY27_BIN
ln -s /usr/bin/python $PY27_BIN/
ln -s /usr/bin/pip $PY27_BIN/
touch $PY27_BIN/python2.7
pip2 install --upgrade pip
pip2 install scikit-build --user
# Upgrade pip and install scikit-build # Upgrade pip and install scikit-build
for PYBIN in /opt/python/*/bin; do for PYBIN in /opt/python/*/bin; do
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment