Skip to content

Commit 8ce77b9

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) (cherry picked from commit 1bb8885)
1 parent b07b4ce commit 8ce77b9

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

.github/workflows/build_test.sh

+1-9
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ PACKAGES=(
4545
libxkbcommon-dev
4646
libxtables-dev
4747
libzstd-dev
48-
# mold
48+
mold
4949
mount
5050
net-tools
5151
python3-evdev
@@ -68,14 +68,6 @@ LINKER="${LINKER:?}"
6868
CRYPTOLIB="${CRYPTOLIB:?}"
6969
RELEASE="$(lsb_release -cs)"
7070

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

0 commit comments

Comments
 (0)