Skip to content

Commit 53129f4

Browse files
yuwatabluca
authored andcommitted
github: drop workaround and use distro mold
Now, ubuntu-24.04 has mold-2.30.0+dfsg-1build1 . See https://packages.ubuntu.com/noble/mold . (cherry picked from commit f85213e)
1 parent 6b7cd2d commit 53129f4

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

.github/workflows/build_test.sh

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ PACKAGES=(
4747
libxkbcommon-dev
4848
libxtables-dev
4949
libzstd-dev
50-
# mold
50+
mold
5151
mount
5252
net-tools
5353
python3-evdev
@@ -70,14 +70,6 @@ LINKER="${LINKER:?}"
7070
CRYPTOLIB="${CRYPTOLIB:?}"
7171
RELEASE="$(lsb_release -cs)"
7272

73-
# mold-2.2.0+ fixes some bugs breaking bootloader builds.
74-
# TODO: Switch to distro mold with ubuntu-24.04
75-
if [[ "$LINKER" == mold ]]; then
76-
wget https://github.com/rui314/mold/releases/download/v2.2.0/mold-2.2.0-x86_64-linux.tar.gz
77-
echo "d66e0230c562c2ba0e0b789cc5034e0fa2369cc843d0154920de4269cd94afeb mold-2.2.0-x86_64-linux.tar.gz" | sha256sum -c
78-
sudo tar -xz -C /usr --strip-components=1 -f mold-2.2.0-x86_64-linux.tar.gz
79-
fi
80-
8173
# Note: As we use postfixed clang/gcc binaries, we need to override $AR
8274
# as well, otherwise meson falls back to ar from binutils which
8375
# doesn't work with LTO

0 commit comments

Comments
 (0)