Skip to content

Commit da5e7e5

Browse files
BugenZhaoxxhZs
authored andcommitted
chore: bump mimimal glibc version to 2.28 for linux binary release (#15821)
Signed-off-by: Bugen Zhao <[email protected]>
1 parent 4eb52c7 commit da5e7e5

File tree

2 files changed

+12
-21
lines changed

2 files changed

+12
-21
lines changed

ci/docker-compose.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -122,23 +122,23 @@ services:
122122
- ..:/risingwave
123123

124124
release-env-x86:
125-
# build binaries on a earlier Linux distribution (therefore with earlier version GLIBC)
126-
# See https://github.com/risingwavelabs/risingwave/issues/4556 for more details.
125+
# Build binaries on a earlier Linux distribution (therefore with earlier version GLIBC)
126+
# `manylinux_2_28` is based on AlmaLinux 8 with GLIBC 2.28.
127127
#
128128
# GLIBC versions on some systems:
129-
# Amazon Linux 2: 2.26 (EOL 2025-06-30) (We will definitely want to support this)
130-
# AL2023: 2.34
131-
# Ubuntu 18.04: 2.27 (Already EOL 2023-05-31)
132-
# Ubuntu 20.04: 2.31
129+
# - Amazon Linux 2023 (AL2023): 2.34
130+
# - Ubuntu 20.04: 2.31
133131
#
134-
# manylinux2014: CentOS 7 (EOL 2024-06-30), GLIBC 2.17
135-
image: quay.io/pypa/manylinux2014_x86_64
132+
# Systems that we don't provide support for:
133+
# - Ubuntu 18.04: 2.27 (Already EOL 2023-05-31)
134+
# - Amazon Linux 2: 2.26 (Originally EOL 2023-06-30, superseded by AL2023)
135+
image: quay.io/pypa/manylinux_2_28_x86_64
136136
working_dir: /mnt
137137
volumes:
138138
- ..:/mnt
139139

140140
release-env-arm:
141-
image: quay.io/pypa/manylinux2014_aarch64
141+
image: quay.io/pypa/manylinux_2_28_aarch64
142142
working_dir: /mnt
143143
volumes:
144144
- ..:/mnt

ci/scripts/release.sh

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,14 @@ curl "https://awscli.amazonaws.com/awscli-exe-linux-${ARCH}.zip" -o "awscliv2.zi
1616
unzip -q awscliv2.zip && ./aws/install && mv /usr/local/bin/aws /bin/aws
1717

1818
echo "--- Install lld"
19-
# The lld in the CentOS 7 repository is too old and contains a bug that causes a linker error.
20-
# So we install a newer version here. (17.0.6, latest version at the time of writing)
21-
# It is manually built in the same environent and uploaded to S3.
22-
aws s3 cp s3://rw-ci-deps-dist/llvm-lld-manylinux2014_${ARCH}.tar.gz .
23-
tar -zxvf llvm-lld-manylinux2014_${ARCH}.tar.gz --directory=/usr/local
19+
dnf install -y lld
2420
ld.lld --version
2521

2622
echo "--- Install dependencies for openssl"
27-
yum install -y perl-core
23+
dnf install -y perl-core
2824

2925
echo "--- Install java and maven"
30-
yum install -y java-11-openjdk java-11-openjdk-devel wget python3 python3-devel cyrus-sasl-devel
26+
dnf install -y java-11-openjdk java-11-openjdk-devel wget python3 python3-devel cyrus-sasl-devel
3127
pip3 install toml-cli
3228
wget https://rw-ci-deps-dist.s3.amazonaws.com/apache-maven-3.9.3-bin.tar.gz && tar -zxvf apache-maven-3.9.3-bin.tar.gz
3329
export PATH="${REPO_ROOT}/apache-maven-3.9.3/bin:$PATH"
@@ -91,7 +87,6 @@ if [[ -n "${BUILDKITE_TAG}" ]]; then
9187
ls -l
9288

9389
echo "--- Install gh cli"
94-
yum install -y dnf
9590
dnf install -y 'dnf-command(config-manager)'
9691
dnf config-manager --add-repo https://cli.github.com/packages/rpm/gh-cli.repo
9792
dnf install -y gh
@@ -123,7 +118,3 @@ if [[ -n "${BUILDKITE_TAG}" ]]; then
123118
tar -czvf risingwave-"${BUILDKITE_TAG}"-${ARCH}-unknown-linux-all-in-one.tar.gz risingwave libs
124119
gh release upload "${BUILDKITE_TAG}" risingwave-"${BUILDKITE_TAG}"-${ARCH}-unknown-linux-all-in-one.tar.gz
125120
fi
126-
127-
128-
129-

0 commit comments

Comments
 (0)