Skip to content

Commit

Permalink
Backport linkify-it-py
Browse files Browse the repository at this point in the history
  • Loading branch information
hmenke committed Dec 13, 2023
1 parent 7755a72 commit 7ece93a
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Docker/github_ci_dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
FROM ubuntu:22.04 AS base

RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
build-essential \
ca-certificates \
cmake \
curl \
cython3 \
debhelper \
dh-python \
g++-12 \
gfortran-12 \
git \
Expand Down Expand Up @@ -52,6 +55,21 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
apt-get autoclean -y && \
rm -rf /var/cache/apt/* /var/lib/apt/lists/*

RUN mkdir -p /src && cd /src \
&& curl -LOOO http://archive.ubuntu.com/ubuntu/pool/universe/u/uc-micro-py/uc-micro-py_1.0.1{-3.dsc,.orig.tar.xz,-3.debian.tar.xz} \
&& dpkg-source -x uc-micro-py_1.0.1-3.dsc \
&& cd uc-micro-py-1.0.1 \
&& DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -b -d -uc -us \
&& cd - \
&& apt-get install ./python3-uc-micro_1.0.1-3_all.deb \
&& curl -LOOO http://archive.ubuntu.com/ubuntu/pool/universe/l/linkify-it-py/linkify-it-py_2.0.0{-1.dsc,.orig.tar.gz,-1.debian.tar.xz} \
&& dpkg-source -x linkify-it-py_2.0.0-1.dsc \
&& cd linkify-it-py-2.0.0/ \
&& DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -b -d -uc -us \
&& cd - \
&& apt-get install ./python3-linkify-it_2.0.0-1_all.deb \
&& cd / && rm -rf /src

# the above is cached by the github action workflow
FROM base AS pkgs

Expand Down
18 changes: 18 additions & 0 deletions Docker/openmpi_dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@ ARG LLVM=15

# This platform includes dependencies for building docs
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
build-essential \
clang-${LLVM} \
cmake \
cython3 \
debhelper \
dh-python \
g++ \
gfortran \
hdf5-tools \
Expand Down Expand Up @@ -62,6 +65,21 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-ins
apt-get autoclean -y && \
rm -rf /var/cache/apt/* /var/lib/apt/lists/*

RUN mkdir -p /src && cd /src \
&& wget http://archive.ubuntu.com/ubuntu/pool/universe/u/uc-micro-py/uc-micro-py_1.0.1{-3.dsc,.orig.tar.xz,-3.debian.tar.xz} \
&& dpkg-source -x uc-micro-py_1.0.1-3.dsc \
&& cd uc-micro-py-1.0.1 \
&& DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -b -d -uc -us \
&& cd - \
&& apt-get install ./python3-uc-micro_1.0.1-3_all.deb \
&& wget http://archive.ubuntu.com/ubuntu/pool/universe/l/linkify-it-py/linkify-it-py_2.0.0{-1.dsc,.orig.tar.gz,-1.debian.tar.xz} \
&& dpkg-source -x linkify-it-py_2.0.0-1.dsc \
&& cd linkify-it-py-2.0.0/ \
&& DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -b -d -uc -us \
&& cd - \
&& apt-get install ./python3-linkify-it_2.0.0-1_all.deb \
&& cd / && rm -rf /src

# install openmpi and compile openmpi manually
# this is to ensure PMI compatibility with cray systems
# RUN wget -q https://download.open-mpi.org/release/open-mpi/v4.1/openmpi-4.1.5.tar.gz \
Expand Down

0 comments on commit 7ece93a

Please sign in to comment.