Skip to content

Commit

Permalink
Add missing system packages needed for C++ on Debian 12, Fedora 39 (#428
Browse files Browse the repository at this point in the history
)

While compiling swiftly on these new platforms there were missing
headers and archives for Debian 12 and Fedora 39. Add these packages
so that if the container is used to compile and link C++ code the
necessary headers and archives are present.
  • Loading branch information
cmcgee1024 authored Dec 3, 2024
1 parent 214c288 commit 727be03
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 4 deletions.
1 change: 1 addition & 0 deletions 5.10/debian/12/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ RUN export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true && ap
tzdata \
git \
gcc \
libstdc++-12-dev \
&& rm -r /var/lib/apt/lists/*

# Everything up to here should cache nicely between Swift versions, assuming dev dependencies change little
Expand Down
4 changes: 3 additions & 1 deletion 5.10/fedora/39/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ RUN yum -y install \
sqlite-devel \
libuuid-devel \
libxml2-devel \
python3-devel
python3-devel \
libstdc++-devel \
libstdc++-static

# Everything up to here should cache nicely between Swift versions, assuming dev dependencies change little

Expand Down
1 change: 1 addition & 0 deletions 6.0/debian/12/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ RUN export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true && ap
tzdata \
git \
gcc \
libstdc++-12-dev \
&& rm -r /var/lib/apt/lists/*

# Everything up to here should cache nicely between Swift versions, assuming dev dependencies change little
Expand Down
4 changes: 3 additions & 1 deletion 6.0/fedora/39/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ RUN yum -y install \
sqlite-devel \
libuuid-devel \
libxml2-devel \
python3-devel
python3-devel \
libstdc++-devel \
libstdc++-static

# Everything up to here should cache nicely between Swift versions, assuming dev dependencies change little

Expand Down
3 changes: 2 additions & 1 deletion swift-ci/main/debian/12/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ RUN apt-get -y update && apt-get -y install \
systemtap-sdt-dev \
tzdata \
uuid-dev \
zip
zip \
libstdc++-12-dev


ARG SWIFT_PLATFORM=debian12
Expand Down
4 changes: 3 additions & 1 deletion swift-ci/main/fedora/39/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ RUN yum install -y \
cmake \
zip \
unzip \
diffutils
diffutils \
libstdc++-devel \
libstdc++-static

ARG SWIFT_PLATFORM=fedora39
ARG SWIFT_VERSION=5.10.1
Expand Down

0 comments on commit 727be03

Please sign in to comment.