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

manylinux 3.9

parent 5f78df0d
No related branches found
No related tags found
No related merge requests found
...@@ -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=2.7,3.5,3.6,3.7,3.8 -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
...@@ -23,6 +23,7 @@ if ! [ python.configured ] ...@@ -23,6 +23,7 @@ if ! [ python.configured ]
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.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.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>
...@@ -39,4 +40,4 @@ option.set libdir : /usr/local/lib ; ...@@ -39,4 +40,4 @@ option.set libdir : /usr/local/lib ;
option.set includedir : /usr/local/include ; option.set includedir : /usr/local/include ;
# Stop on first error # Stop on first error
option.set keep-going : false ; option.set keep-going : false ;
\ No newline at end of file
#!/bin/bash -eux #!/bin/bash -eux
# Don't build wheels for python 3.9
rm -rf /opt/python/cp39-cp39
# Install cmake, ninja and wheel # Install cmake, ninja and wheel
PY38_BIN=/opt/python/cp38-cp38/bin PY39_BIN=/opt/python/cp39-cp39/bin
$PY38_BIN/pip install cmake ninja wheel $PY39_BIN/pip install cmake ninja wheel
ln -s $PY38_BIN/cmake /usr/bin/ ln -s $PY39_BIN/cmake /usr/bin/
ln -s $PY38_BIN/ninja /usr/bin/ ln -s $PY39_BIN/ninja /usr/bin/
ln -s $PY38_BIN/wheel /usr/bin/ ln -s $PY39_BIN/wheel /usr/bin/
# Setup python 2.7 # Setup python 2.7
yum -y install python-pip yum -y install python-pip
......
ARG PYVER=3.7 ARG PYVER=3.7
FROM python:3.7 FROM python:$PYVER
RUN apt-get update -qqy && apt-get install -qqy libgl1 && rm -rf /var/lib/apt/lists/* RUN apt-get update -qqy && apt-get install -qqy libgl1 && rm -rf /var/lib/apt/lists/*
......
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