Skip to content

Commit be3845a

Browse files
committed
manylinux_2_28
1 parent 987e8d3 commit be3845a

File tree

5 files changed

+20
-28
lines changed

5 files changed

+20
-28
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -82,33 +82,33 @@ jobs:
8282
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
8383
run: ./deploy.sh openturns/archlinux-module-mingw
8484

85-
manylinux2014_x86_64:
85+
manylinux_2_28_x86_64:
8686
runs-on: ubuntu-latest
8787
steps:
8888
- uses: actions/checkout@v4
8989
- name: Build
90-
run: docker build manylinux2014_x86_64 -t openturns/manylinux2014_x86_64
90+
run: docker build manylinux_2_28_x86_64 -t openturns/manylinux_2_28_x86_64
9191
- name: Test
92-
run: docker run --rm --volume `pwd`/manylinux2014_x86_64:/io openturns/manylinux2014_x86_64 sh -c "/io/run_docker_build.sh"
92+
run: docker run --rm --volume `pwd`/manylinux_2_28_x86_64:/io openturns/manylinux_2_28_x86_64 sh -c "/io/run_docker_build.sh"
9393
- name: Upload
9494
env:
9595
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
9696
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
97-
run: ./deploy.sh openturns/manylinux2014_x86_64
97+
run: ./deploy.sh openturns/manylinux_2_28_x86_64
9898

99-
manylinux2014_aarch64:
99+
manylinux_2_28_aarch64:
100100
runs-on: ubuntu-24.04-arm
101101
steps:
102102
- uses: actions/checkout@v4
103103
- name: Build
104-
run: docker build manylinux2014_aarch64 -t openturns/manylinux2014_aarch64
104+
run: docker build manylinux_2_28_aarch64 -t openturns/manylinux_2_28_aarch64
105105
- name: Test
106-
run: docker run --rm --volume `pwd`/manylinux2014_aarch64:/io openturns/manylinux2014_aarch64 sh -c "/io/run_docker_build.sh"
106+
run: docker run --rm --volume `pwd`/manylinux_2_28_aarch64:/io openturns/manylinux_2_28_aarch64 sh -c "/io/run_docker_build.sh"
107107
- name: Upload
108108
env:
109109
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
110110
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
111-
run: ./deploy.sh openturns/manylinux2014_aarch64
111+
run: ./deploy.sh openturns/manylinux_2_28_aarch64
112112

113113
debian-aarch64:
114114
runs-on: ubuntu-latest
Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
1-
FROM quay.io/pypa/manylinux2014_aarch64
1+
FROM quay.io/pypa/manylinux_2_28_aarch64
22

33
ENV MAKEFLAGS=-j8
44
WORKDIR /usr/local/src
55

6-
RUN yum install -y zlib-devel xz xz-devel pcre-devel zip wget bzip2-devel openssl-devel mpfr-devel libmpc-devel
7-
8-
# lapack
9-
RUN curl -fsSL https://github.com/Reference-LAPACK/lapack/archive/v3.12.1.tar.gz | tar xz && cd lapack* && cmake -DLAPACKE=ON -DCBLAS=ON -DBUILD_TESTING=OFF -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON -B build . && make install -C build > /dev/null 2>&1 && cd .. && rm -r lapack*
6+
RUN yum install -y zlib-devel xz xz-devel pcre-devel zip wget bzip2-devel openssl-devel mpfr-devel libmpc-devel lapack-devel fftw-devel
107

118
# highs
129
RUN curl -fsSL https://github.com/ERGO-Code/HiGHS/archive/refs/tags/v1.12.0.tar.gz | tar xz && cd HiGHS* && cmake -DBUILD_CXX_EXE=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TESTING=OFF -DCMAKE_UNITY_BUILD=ON -B build . && make install -C build > /dev/null 2>&1 && cd .. && rm -r HiGHS*
@@ -27,7 +24,7 @@ RUN curl -fsSL https://github.com/coin-or/Cbc/archive/refs/tags/releases/2.10.12
2724
RUN curl -fsSL https://github.com/coin-or/Bonmin/archive/refs/tags/releases/1.8.9.tar.gz | tar xz && cd Bonmin* && ./configure --prefix=/usr/local --with-ipopt-lib="$(pkg-config --libs ipopt)" --with-ipopt-incdir="/usr/local/include/coin-or/" --build=${BUILD} && make > /dev/null 2>&1 && make install > /dev/null 2>&1 && cd - && rm -r Bonmin*
2825

2926
# dlib
30-
RUN curl -fSsL https://github.com/davisking/dlib/archive/v19.24.8.tar.gz | tar xz && cd dlib* \
27+
RUN curl -fsSL https://github.com/davisking/dlib/archive/v20.0.tar.gz | tar xz && cd dlib* \
3128
&& mkdir build && cd build && cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=Release -DDLIB_NO_GUI_SUPPORT=ON -DUSE_AVX_INSTRUCTIONS=OFF -DDLIB_USE_CUDA=OFF -DDLIB_USE_FFMPEG=OFF -DDLIB_JPEG_SUPPORT=OFF -DDLIB_PNG_SUPPORT=OFF .. && make install > /dev/null 2>&1 && cd ../.. && rm -r dlib*
3229

3330
# cminpack
@@ -50,7 +47,7 @@ RUN curl -fsSL https://github.com/ceres-solver/ceres-solver/archive/2.2.0.tar.gz
5047

5148
# boost
5249
ENV BOOST_ARCH=arm
53-
RUN curl -fSsL https://archives.boost.io/release/1.87.0/source/boost_1_87_0.tar.bz2 | tar xj && cd boost* \
50+
RUN curl -fSsL https://archives.boost.io/release/1.89.0/source/boost_1_89_0.tar.bz2 | tar xj && cd boost* \
5451
&& ./bootstrap.sh --with-toolset=gcc --with-icu --with-python=/usr/local/bin/python \
5552
&& ./b2 -q variant=release address-model=64 architecture=${BOOST_ARCH} debug-symbols=off threading=multi runtime-link=shared link=shared toolset=gcc --layout=system ${MAKEFLAGS} install --with-serialization > /dev/null 2>&1 && cd - && rm -r boost*
5653

@@ -70,9 +67,6 @@ RUN curl -fsSL https://download.gnome.org/sources/libxml2/2.15/libxml2-2.15.1.ta
7067
# hdf5
7168
RUN curl -fsSL https://github.com/HDFGroup/hdf5/releases/download/hdf5_1.14.6/hdf5-1.14.6.tar.gz | tar xz && cd hdf5* && ./configure --enable-cxx --prefix=/usr/local --disable-tests --disable-tools --disable-static && make > /dev/null 2>&1 && make install > /dev/null 2>&1 && cd - && rm -r hdf5*
7269

73-
# fftw
74-
RUN curl -fsSL http://www.fftw.org/fftw-3.3.10.tar.gz | tar xz && cd fftw* && ./configure --enable-shared --disable-static && make > /dev/null 2>&1 && make install > /dev/null 2>&1 && cd - && rm -r fftw*
75-
7670
# mixmod
7771
RUN curl -fsSL https://github.com/mixmod/mixmod/archive/refs/tags/v2.1.11.tar.gz | tar xz && cd mixmod* && cmake -DCMAKE_UNITY_BUILD=ON . && make install > /dev/null 2>&1 && cd - && rm -r mixmod*
7872

@@ -84,3 +78,5 @@ RUN curl -fsSL https://github.com/jlblancoc/nanoflann/archive/refs/tags/v1.8.0.t
8478

8579
# cuba
8680
RUN curl -fsSL https://feynarts.de/cuba/Cuba-4.2.2.tar.gz | tar xz && cd Cuba-4.2.2 && CFLAGS="-fPIC ${CFLAGS}" ./configure && make -j1 > /dev/null 2>&1 && make install -j1 > /dev/null 2>&1 && cd - && rm -r Cuba*
81+
82+
RUN echo /usr/local/lib64 >> /etc/ld.so.conf.d/00-manylinux.conf && ldconfig
File renamed without changes.
Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
1-
FROM quay.io/pypa/manylinux2014_x86_64
1+
FROM quay.io/pypa/manylinux_2_28_x86_64
22

33
ENV MAKEFLAGS=-j8
44
WORKDIR /usr/local/src
55

6-
RUN yum install -y zlib-devel xz xz-devel pcre-devel zip wget bzip2-devel openssl-devel mpfr-devel libmpc-devel
7-
8-
# lapack
9-
RUN curl -fsSL https://github.com/Reference-LAPACK/lapack/archive/v3.12.1.tar.gz | tar xz && cd lapack* && cmake -DLAPACKE=ON -DCBLAS=ON -DBUILD_TESTING=OFF -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON -B build . && make install -C build > /dev/null 2>&1 && cd .. && rm -r lapack*
6+
RUN yum install -y zlib-devel xz xz-devel pcre-devel zip wget bzip2-devel openssl-devel mpfr-devel libmpc-devel lapack-devel fftw-devel
107

118
# highs
129
RUN curl -fsSL https://github.com/ERGO-Code/HiGHS/archive/refs/tags/v1.12.0.tar.gz | tar xz && cd HiGHS* && cmake -DBUILD_CXX_EXE=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TESTING=OFF -DCMAKE_UNITY_BUILD=ON -B build . && make install -C build > /dev/null 2>&1 && cd .. && rm -r HiGHS*
@@ -27,7 +24,7 @@ RUN curl -fsSL https://github.com/coin-or/Cbc/archive/refs/tags/releases/2.10.12
2724
RUN curl -fsSL https://github.com/coin-or/Bonmin/archive/refs/tags/releases/1.8.9.tar.gz | tar xz && cd Bonmin* && ./configure --prefix=/usr/local --with-ipopt-lib="$(pkg-config --libs ipopt)" --with-ipopt-incdir="/usr/local/include/coin-or/" --build=${BUILD} && make > /dev/null 2>&1 && make install > /dev/null 2>&1 && cd - && rm -r Bonmin*
2825

2926
# dlib
30-
RUN curl -fSsL https://github.com/davisking/dlib/archive/v19.24.8.tar.gz | tar xz && cd dlib* \
27+
RUN curl -fsSL https://github.com/davisking/dlib/archive/v20.0.tar.gz | tar xz && cd dlib* \
3128
&& mkdir build && cd build && cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=Release -DDLIB_NO_GUI_SUPPORT=ON -DUSE_AVX_INSTRUCTIONS=OFF -DDLIB_USE_CUDA=OFF -DDLIB_USE_FFMPEG=OFF -DDLIB_JPEG_SUPPORT=OFF -DDLIB_PNG_SUPPORT=OFF .. && make install > /dev/null 2>&1 && cd ../.. && rm -r dlib*
3229

3330
# cminpack
@@ -50,7 +47,7 @@ RUN curl -fsSL https://github.com/ceres-solver/ceres-solver/archive/2.2.0.tar.gz
5047

5148
# boost
5249
ENV BOOST_ARCH=x86
53-
RUN curl -fSsL https://archives.boost.io/release/1.87.0/source/boost_1_87_0.tar.bz2 | tar xj && cd boost* \
50+
RUN curl -fSsL https://archives.boost.io/release/1.89.0/source/boost_1_89_0.tar.bz2 | tar xj && cd boost* \
5451
&& ./bootstrap.sh --with-toolset=gcc --with-icu --with-python=/usr/local/bin/python \
5552
&& ./b2 -q variant=release address-model=64 architecture=${BOOST_ARCH} debug-symbols=off threading=multi runtime-link=shared link=shared toolset=gcc --layout=system ${MAKEFLAGS} install --with-serialization > /dev/null 2>&1 && cd - && rm -r boost*
5653

@@ -70,9 +67,6 @@ RUN curl -fsSL https://download.gnome.org/sources/libxml2/2.15/libxml2-2.15.1.ta
7067
# hdf5
7168
RUN curl -fsSL https://github.com/HDFGroup/hdf5/releases/download/hdf5_1.14.6/hdf5-1.14.6.tar.gz | tar xz && cd hdf5* && ./configure --enable-cxx --prefix=/usr/local --disable-tests --disable-tools --disable-static && make > /dev/null 2>&1 && make install > /dev/null 2>&1 && cd - && rm -r hdf5*
7269

73-
# fftw
74-
RUN curl -fsSL http://www.fftw.org/fftw-3.3.10.tar.gz | tar xz && cd fftw* && ./configure --enable-shared --disable-static && make > /dev/null 2>&1 && make install > /dev/null 2>&1 && cd - && rm -r fftw*
75-
7670
# mixmod
7771
RUN curl -fsSL https://github.com/mixmod/mixmod/archive/refs/tags/v2.1.11.tar.gz | tar xz && cd mixmod* && cmake -DCMAKE_UNITY_BUILD=ON . && make install > /dev/null 2>&1 && cd - && rm -r mixmod*
7872

@@ -84,3 +78,5 @@ RUN curl -fsSL https://github.com/jlblancoc/nanoflann/archive/refs/tags/v1.8.0.t
8478

8579
# cuba
8680
RUN curl -fsSL https://feynarts.de/cuba/Cuba-4.2.2.tar.gz | tar xz && cd Cuba-4.2.2 && CFLAGS="-fPIC ${CFLAGS}" ./configure && make -j1 > /dev/null 2>&1 && make install -j1 > /dev/null 2>&1 && cd - && rm -r Cuba*
81+
82+
RUN echo /usr/local/lib64 >> /etc/ld.so.conf.d/00-manylinux.conf && ldconfig

0 commit comments

Comments
 (0)