mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-24 08:10:22 +01:00
ci: drop override forcing ld to be gold (and forcing gold to be installed everywhere)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32046>
This commit is contained in:
parent
657f8a08b7
commit
ba0bb03c84
1 changed files with 0 additions and 13 deletions
|
|
@ -23,19 +23,6 @@ if test -x /usr/bin/ccache; then
|
|||
ccache --show-stats
|
||||
fi
|
||||
|
||||
# When not using the mold linker (e.g. unsupported architecture), force
|
||||
# linkers to gold, since it's so much faster for building. We can't use
|
||||
# lld because we're on old debian and it's buggy. mingw fails meson builds
|
||||
# with it with "meson.build:21:0: ERROR: Unable to determine dynamic linker"
|
||||
if [ -e /usr/bin/ld.gold ]; then
|
||||
find /usr/bin -name \*-ld -o -name ld | \
|
||||
grep -v mingw | \
|
||||
xargs -n 1 -I '{}' ln -sf '{}.gold' '{}'
|
||||
else
|
||||
echo "ld.gold is missing, not replacing ld with it."
|
||||
echo "Builds might be slower, consider installing gold."
|
||||
fi
|
||||
|
||||
# Make a wrapper script for ninja to always include the -j flags
|
||||
{
|
||||
echo '#!/bin/sh -x'
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue