浏览代码

gitlab-ci: Add a pkg-config for mingw

The one debian provides is broken in buster+, so I've just written my
own. This allows meson to find the installed zlib and prevents it from
falling back to wraps.

Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
tags/19.3-branchpoint
Dylan Baker 5 年前
父节点
当前提交
6e375ff1aa
共有 3 个文件被更改,包括 12 次插入2 次删除
  1. 1
    1
      .gitlab-ci.yml
  2. 10
    0
      .gitlab-ci/debian-install.sh
  3. 1
    1
      .gitlab-ci/x86_64-w64-mingw32

+ 1
- 1
.gitlab-ci.yml 查看文件

@@ -14,7 +14,7 @@
# repository's registry will be used there as well.
variables:
UPSTREAM_REPO: mesa/mesa
DEBIAN_TAG: "2019-10-07_1"
DEBIAN_TAG: "2019-10-16"
DEBIAN_ARM64_TAG: "arm64v8-2019-08-09"
STRETCH_TAG: "2019-09-18"
DEBIAN_VERSION: buster-slim

+ 10
- 0
.gitlab-ci/debian-install.sh 查看文件

@@ -89,6 +89,16 @@ apt-get install -y --no-remove \
wine32 \
wine64

# Debian's pkg-config wrapers for mingw are broken, and there's no sign that
# they're going to be fixed, so we'll just have to fix it ourselves
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=930492
cat >/usr/local/bin/x86_64-w64-mingw32-pkg-config <<EOF
#!/bin/sh

PKG_CONFIG_LIBDIR=/usr/x86_64-w64-mingw32/lib/pkgconfig pkg-config \$@
EOF
chmod +x /usr/local/bin/x86_64-w64-mingw32-pkg-config

# for the vulkan overlay layer
wget https://github.com/KhronosGroup/glslang/releases/download/master-tot/glslang-master-linux-Release.zip
unzip glslang-master-linux-Release.zip bin/glslangValidator

+ 1
- 1
.gitlab-ci/x86_64-w64-mingw32 查看文件

@@ -3,7 +3,7 @@ c = ['ccache', 'x86_64-w64-mingw32-gcc']
cpp = ['ccache', 'x86_64-w64-mingw32-g++']
ar = 'x86_64-w64-mingw32-ar'
strip = 'x86_64-w64-mingw32-strip'
pkgconfig = 'x86_64-w64-mingw32-pkg-config'
pkgconfig = '/usr/local/bin/x86_64-w64-mingw32-pkg-config'
windres = 'x86_64-w64-mingw32-windres'
exe_wrapper = ['wine64']


正在加载...
取消
保存