Skip to content

Commit 727be03

Browse files
authored
Add missing system packages needed for C++ on Debian 12, Fedora 39 (#428)
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.
1 parent 214c288 commit 727be03

File tree

6 files changed

+13
-4
lines changed

6 files changed

+13
-4
lines changed

Diff for: 5.10/debian/12/Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ RUN export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true && ap
1818
tzdata \
1919
git \
2020
gcc \
21+
libstdc++-12-dev \
2122
&& rm -r /var/lib/apt/lists/*
2223

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

Diff for: 5.10/fedora/39/Dockerfile

+3-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ RUN yum -y install \
1414
sqlite-devel \
1515
libuuid-devel \
1616
libxml2-devel \
17-
python3-devel
17+
python3-devel \
18+
libstdc++-devel \
19+
libstdc++-static
1820

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

Diff for: 6.0/debian/12/Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ RUN export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true && ap
1818
tzdata \
1919
git \
2020
gcc \
21+
libstdc++-12-dev \
2122
&& rm -r /var/lib/apt/lists/*
2223

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

Diff for: 6.0/fedora/39/Dockerfile

+3-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ RUN yum -y install \
1414
sqlite-devel \
1515
libuuid-devel \
1616
libxml2-devel \
17-
python3-devel
17+
python3-devel \
18+
libstdc++-devel \
19+
libstdc++-static
1820

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

Diff for: swift-ci/main/debian/12/Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ RUN apt-get -y update && apt-get -y install \
3030
systemtap-sdt-dev \
3131
tzdata \
3232
uuid-dev \
33-
zip
33+
zip \
34+
libstdc++-12-dev
3435

3536

3637
ARG SWIFT_PLATFORM=debian12

Diff for: swift-ci/main/fedora/39/Dockerfile

+3-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ RUN yum install -y \
2525
cmake \
2626
zip \
2727
unzip \
28-
diffutils
28+
diffutils \
29+
libstdc++-devel \
30+
libstdc++-static
2931

3032
ARG SWIFT_PLATFORM=fedora39
3133
ARG SWIFT_VERSION=5.10.1

0 commit comments

Comments
 (0)