Skip to content

Commit

Permalink
Merge pull request #4 from bluescarni/pr/update
Browse files Browse the repository at this point in the history
Updates
  • Loading branch information
bluescarni authored Jul 16, 2024
2 parents 6a9f325 + 9fd2c7d commit 06f0237
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 266 deletions.
12 changes: 6 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,33 +6,33 @@ orbs:
jobs:
manylinux228_aarch64_with_deps-build:
machine:
image: ubuntu-2004:202101-01
image: ubuntu-2204:current
resource_class: arm.large
steps:
- checkout
- docker/check:
docker-username: DOCKERHUB_USERNAME
docker-password: DOCKERHUB_TOKEN
- docker/build:
dockerfile: Dockerfile228
extra_build_args: --build-arg ARCH=aarch64
dockerfile: Dockerfile
extra_build_args: --build-arg ARCH=aarch64 --build-arg MANYLINUXIMG=manylinux_2_28
image: $DOCKERHUB_USERNAME/manylinux228_aarch64_with_deps
tag: latest
- docker/push:
image: $DOCKERHUB_USERNAME/manylinux228_aarch64_with_deps
tag: latest
manylinux2014_aarch64_with_deps-build:
machine:
image: ubuntu-2004:202101-01
image: ubuntu-2204:current
resource_class: arm.large
steps:
- checkout
- docker/check:
docker-username: DOCKERHUB_USERNAME
docker-password: DOCKERHUB_TOKEN
- docker/build:
dockerfile: Dockerfile2014
extra_build_args: --build-arg ARCH=aarch64
dockerfile: Dockerfile
extra_build_args: --build-arg ARCH=aarch64 --build-arg MANYLINUXIMG=manylinux2014
image: $DOCKERHUB_USERNAME/manylinux2014_aarch64_with_deps
tag: latest
- docker/push:
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,14 @@ jobs:
uses: docker/build-push-action@v3
with:
context: .
file: ./Dockerfile228
file: ./Dockerfile
platforms: linux/amd64
push: true
# This section is not necessary as this is the default in the Dockerfile,
# Added to be explicit
build-args: |
ARCH=x86_64
MANYLINUXIMG=manylinux_2_28
tags: ${{ secrets.DOCKERHUB_USERNAME }}/manylinux228_x86_64_with_deps:latest
manylinux2014_x86_64_with_deps-build:
runs-on: ubuntu-latest
Expand All @@ -54,11 +55,12 @@ jobs:
uses: docker/build-push-action@v3
with:
context: .
file: ./Dockerfile2014
file: ./Dockerfile
platforms: linux/amd64
push: true
# This section is not necessary as this is the default in the Dockerfile,
# Added to be explicit
build-args: |
ARCH=x86_64
MANYLINUXIMG=manylinux2014
tags: ${{ secrets.DOCKERHUB_USERNAME }}/manylinux2014_x86_64_with_deps:latest
16 changes: 8 additions & 8 deletions Dockerfile2014 → Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG ARCH=x86_64
FROM docker.io/pagmo2/llvm_manylinux2014_$ARCH
FROM docker.io/pagmo2/llvm_${MANYLINUXIMG}_${ARCH}

# We install all dependencies in a somehow decreasing order of compile length as to
# allow for downstream modifications to be efficient.
Expand All @@ -17,7 +17,7 @@ RUN curl -L https://raw.githubusercontent.com/esa/manylinux_x86_64_with_deps/mas

# Install Boost
WORKDIR /root/install
ARG BOOST_VERSION="1.83.0"
ARG BOOST_VERSION="1.85.0"
# Boost libraries download
RUN curl -L https://boostorg.jfrog.io/artifactory/main/release/${BOOST_VERSION}/source/boost_`echo ${BOOST_VERSION}|tr "." "_"`.tar.bz2 > boost_`echo ${BOOST_VERSION}|tr "." "_"`.tar.bz2 \
&& tar xjf boost_`echo ${BOOST_VERSION}|tr "." "_"`.tar.bz2 \
Expand Down Expand Up @@ -47,7 +47,7 @@ RUN cd ThirdParty-Mumps && ./get.Mumps && ./configure && make && make install

# Download Ipopt
WORKDIR /root/install
ARG IPOPT_VERSION="3.14.13"
ARG IPOPT_VERSION="3.14.16"
RUN curl -L https://github.com/coin-or/Ipopt/archive/releases/${IPOPT_VERSION}.tar.gz > ipopt.tar.gz \
&& tar -xvf ipopt.tar.gz > /dev/null \
&& mv Ipopt* ipopt
Expand All @@ -68,7 +68,7 @@ RUN curl -L http://www.mpfr.org/mpfr-${MPFR_VERSION}/mpfr-${MPFR_VERSION}.tar.gz

# Installing TBB
WORKDIR /root/install
ARG TBB_VERSION="2021.11.0"
ARG TBB_VERSION="2021.13.0"
RUN curl -L https://github.com/oneapi-src/oneTBB/archive/refs/tags/v${TBB_VERSION}.tar.gz > tbb.tar.gz \
&& tar xvf tbb.tar.gz > /dev/null 2>&1 \
&& cd oneTBB-${TBB_VERSION} \
Expand All @@ -93,7 +93,7 @@ RUN curl -L https://gitlab.com/libeigen/eigen/-/archive/${EIGEN3_VERSION}/eigen-

# Install fmt
WORKDIR /root/install
ARG FMT_VERSION="10.1.1"
ARG FMT_VERSION="10.2.1"
RUN curl -L https://github.com/fmtlib/fmt/archive/${FMT_VERSION}.tar.gz > fmt.tar.gz \
&& tar xzf fmt.tar.gz > /dev/null 2>&1 \
&& cd fmt-${FMT_VERSION} \
Expand Down Expand Up @@ -146,7 +146,7 @@ RUN curl -L https://github.com/stevengj/nlopt/archive/v${NLOPT_VERSION}.tar.gz

# Install spdlog
WORKDIR /root/install
ARG SPDLOG_VERSION="1.12.0"
ARG SPDLOG_VERSION="1.13.0"
RUN curl -L https://github.com/gabime/spdlog/archive/refs/tags/v${SPDLOG_VERSION}.tar.gz > spdlog-${SPDLOG_VERSION}.tar.gz \
&& tar xvf spdlog-${SPDLOG_VERSION}.tar.gz > /dev/null 2>&1 \
&& cd spdlog-${SPDLOG_VERSION} \
Expand All @@ -159,7 +159,7 @@ RUN curl -L https://github.com/gabime/spdlog/archive/refs/tags/v${SPDLOG_VERSION

# Install sleef
WORKDIR /root/install
ARG SLEEF_VERSION="3.5.1"
ARG SLEEF_VERSION="3.6.1"
RUN curl -L https://github.com/shibatch/sleef/archive/${SLEEF_VERSION}.tar.gz > sleef-${SLEEF_VERSION}.tar.gz \
&& tar xvf sleef-${SLEEF_VERSION}.tar.gz > /dev/null 2>&1 \
&& cd sleef-${SLEEF_VERSION} \
Expand All @@ -172,7 +172,7 @@ RUN curl -L https://github.com/shibatch/sleef/archive/${SLEEF_VERSION}.tar.gz >

# Install pybind11
WORKDIR /root/install
ARG PYBIND11_VERSION="2.11.1"
ARG PYBIND11_VERSION="2.13.1"
RUN curl -L https://github.com/pybind/pybind11/archive/v${PYBIND11_VERSION}.tar.gz > pybind11-${PYBIND11_VERSION}.tar.gz \
&& tar xvf pybind11-${PYBIND11_VERSION}.tar.gz > /dev/null 2>&1 \
&& cd pybind11-${PYBIND11_VERSION} \
Expand Down
250 changes: 0 additions & 250 deletions Dockerfile228

This file was deleted.

Binary file removed gmp-6.2.1.tar.bz2
Binary file not shown.

0 comments on commit 06f0237

Please sign in to comment.