gitlab-ci: Use LLD linker in Debian and Flatpak jobs

Following 55427487 and 85ed2847

It is a bit unusual to use 'clang' + 'GNU ld' combo.
Also, lld is advertised to be way faster.
This commit is contained in:
Bruno Lopes 2024-05-31 13:09:33 -03:00 committed by Bruno
parent 884b05f168
commit 375782fd64
2 changed files with 10 additions and 1 deletions

View File

@ -75,6 +75,8 @@ workflow:
CCACHE_DIR: "$CI_PROJECT_DIR/_ccache"
CC: "ccache clang"
CXX: "ccache clang++"
CC_LD: lld
CXX_LD: lld
cache:
key: ${CI_JOB_NAME}${VARIANT}
paths:
@ -121,6 +123,8 @@ stages:
variables:
CC: "ccache cc"
CXX: "ccache c++"
CC_LD: bfd
CXX_LD: bfd
VARIANT: "-gcc"
- if: '$GIMP_CI_RASTER_ICONS != null'
variables:
@ -156,6 +160,7 @@ image-debian-x64:
build-essential
ccache
clang
lld
cpio
desktop-file-utils
ffmpeg
@ -570,6 +575,8 @@ gimp-win-x64:
MSYSTEM: "MINGW32"
CC: "ccache cc"
CXX: "ccache c++"
CC_LD: bfd
CXX_LD: bfd
deps-win-x86:
extends: .win-x86

View File

@ -13,7 +13,9 @@
"prepend-ld-library-path": "/usr/lib/sdk/llvm17/lib",
"env": {
"CC": "ccache clang",
"CXX": "ccache clang++"
"CXX": "ccache clang++",
"CC_LD": "lld",
"CXX_LD": "lld"
}
},
"separate-locales": false,