
mold 1.9.0 was up to 10% slower than 1.8.0 on some multicore machines. We fixed the performance regression and made it even faster than 1.8.0. Signed-off-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20819>
14 lines
286 B
Bash
14 lines
286 B
Bash
#!/usr/bin/env bash
|
|
|
|
set -ex
|
|
|
|
MOLD_VERSION="1.10.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
|