Use mold linker for fedora CI builds

This commit is contained in:
Nyall Dawson 2024-12-03 07:53:18 +10:00
parent 682aae0e0f
commit ac7a7fc78e
2 changed files with 7 additions and 0 deletions

View File

@ -70,6 +70,12 @@ if [[ ${WITH_GRASS7} == "ON" || ${WITH_GRASS8} == "ON" ]]; then
)
fi
if [[ ${BUILD_WITH_QT6} = "ON" ]]; then
CMAKE_EXTRA_ARGS+=(
"-DUSE_ALTERNATE_LINKER=mold"
)
fi
cmake \
-GNinja \
-DCMAKE_BUILD_TYPE=${BUILD_TYPE} \

View File

@ -32,6 +32,7 @@ RUN dnf -y --refresh install \
libxml2-devel \
libzip-devel \
libzstd-devel \
mold \
netcdf-devel \
ninja-build \
ocl-icd-devel \