gitlab-ci: fix cross-builds.

The dependency to libomp apparently came with the move to CLang.

Fixes:

> /builds/GNOME/gimp/_install-debian-x64/bin/gimp-console-2.99: error while loading shared libraries: libomp.so.5: cannot open shared object file: No such file or directory
This commit is contained in:
Jehan 2024-03-27 02:29:56 +01:00
parent be0e6b84e9
commit 8c6177dc1a
1 changed files with 4 additions and 0 deletions

View File

@ -458,6 +458,8 @@ gimp-win-x64-cross:
- .cache/crossroad/
- apt-cache
script:
- mkdir -p "$APT_CACHE"
- apt-get install -y --no-install-recommends -o dir::cache::archives="$APT_CACHE" libomp-dev
- git submodule update --init
# So that we can use gimp-console from gimp-debian-x64 project.
- GIMP_APP_VERSION=$(grep GIMP_APP_VERSION ${DEB_BUILD_DIR}/config.h | head -1 | sed 's/^.*"\([^"]*\)"$/\1/')
@ -570,6 +572,8 @@ gimp-win-x86-cross:
- .cache/crossroad/
- apt-cache
script:
- mkdir -p "$APT_CACHE"
- apt-get install -y --no-install-recommends -o dir::cache::archives="$APT_CACHE" libomp-dev
- git submodule update --init
# So that we can use gimp-console from gimp-debian-x64 project.
- GIMP_APP_VERSION=$(grep GIMP_APP_VERSION ${DEB_BUILD_DIR}/config.h | head -1 | sed 's/^.*"\([^"]*\)"$/\1/')