
Bump needed for s390x fix with `-gsplit-dwarf` and `--gdb-index`. See the https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20435 for more details. I also switched from make to cmake (make is unsupported now). Additionally disabled build testing and enabled LTO build for Mold. Reviewed-by: Eric Engestrom <eric@igalia.com> Signed-off-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20546>
14 lines
285 B
Bash
14 lines
285 B
Bash
#!/usr/bin/env bash
|
|
|
|
set -ex
|
|
|
|
MOLD_VERSION="1.9.0"
|
|
|
|
git clone -b v"$MOLD_VERSION" --single-branch --depth 1 https://github.com/rui314/mold.git
|
|
pushd mold
|
|
cmake -DCMAKE_BUILD_TYPE=Release -D BUILD_TESTING=OFF -D MOLD_LTO=ON
|
|
cmake --build . --parallel
|
|
cmake --install .
|
|
popd
|
|
rm -rf mold
|