mirror of https://github.com/GNOME/gimp.git
gitlab-ci: Use LLD linker in Debian and Flatpak jobs
Following55427487
and85ed2847
It is a bit unusual to use 'clang' + 'GNU ld' combo. Also, lld is advertised to be way faster.
This commit is contained in:
parent
884b05f168
commit
375782fd64
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue