Skip to content

Commit 1501350

Browse files
committed
Use Ubuntu 26.04 package for libmpdec-dev
No longer install build+install libmpdec-dev from tarball.
1 parent 38d60de commit 1501350

1 file changed

Lines changed: 2 additions & 15 deletions

File tree

.github/workflows/posix-deps-apt.sh

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@ apt-get -yq --no-install-recommends install \
1111
libb2-dev \
1212
libbz2-dev \
1313
libffi-dev \
14-
libgdbm-dev \
1514
libgdbm-compat-dev \
15+
libgdbm-dev \
1616
liblzma-dev \
17+
libmpdec-dev \
1718
libncurses5-dev \
1819
libreadline6-dev \
1920
libsqlite3-dev \
@@ -24,17 +25,3 @@ apt-get -yq --no-install-recommends install \
2425
uuid-dev \
2526
xvfb \
2627
zlib1g-dev
27-
28-
# Workaround missing libmpdec-dev on ubuntu 24.04 by building mpdecimal
29-
# from source. ppa:ondrej/php (launchpad.net) are unreliable
30-
# (https://status.canonical.com) so fetch the tarball directly
31-
# from the upstream host.
32-
# https://www.bytereef.org/mpdecimal/
33-
MPDECIMAL_VERSION=4.0.1
34-
curl -fsSL "https://www.bytereef.org/software/mpdecimal/releases/mpdecimal-${MPDECIMAL_VERSION}.tar.gz" \
35-
| tar -xz -C /tmp
36-
(cd "/tmp/mpdecimal-${MPDECIMAL_VERSION}" \
37-
&& ./configure --prefix=/usr/local \
38-
&& make -j"$(nproc)" \
39-
&& make install)
40-
ldconfig

0 commit comments

Comments
 (0)