mirror of
https://gitee.com/openharmony/third_party_mesa3d
synced 2025-02-18 17:09:17 +00:00
gitlab-ci: Add a mingw x86_64 job
Acked-by: Eric Engestrom <eric.engestrom@intel.com> (v1) Acked-by: Kristian H. Kristensen <hoegsberg@google.com>
This commit is contained in:
parent
f066c96078
commit
d905d9b600
@ -14,7 +14,7 @@
|
||||
# repository's registry will be used there as well.
|
||||
variables:
|
||||
UPSTREAM_REPO: mesa/mesa
|
||||
DEBIAN_TAG: "2019-09-30"
|
||||
DEBIAN_TAG: "2019-10-07_1"
|
||||
DEBIAN_ARM64_TAG: "arm64v8-2019-08-09"
|
||||
STRETCH_TAG: "2019-09-18"
|
||||
DEBIAN_VERSION: buster-slim
|
||||
@ -344,6 +344,17 @@ meson-i386:
|
||||
-D llvm=false
|
||||
-D osmesa=classic
|
||||
|
||||
meson-mingw32-x86_64:
|
||||
extends: .meson-build
|
||||
variables:
|
||||
UNWIND: "false"
|
||||
DRI_DRIVERS: ""
|
||||
GALLIUM_DRIVERS: "swrast"
|
||||
EXTRA_OPTION: >
|
||||
-Dllvm=false
|
||||
-Dosmesa=gallium
|
||||
--cross-file=.gitlab-ci/x86_64-w64-mingw32
|
||||
|
||||
scons:
|
||||
extends: .scons-build
|
||||
variables:
|
||||
|
@ -82,7 +82,12 @@ for arch in $CROSS_ARCHITECTURES; do
|
||||
done
|
||||
|
||||
# for 64bit windows cross-builds
|
||||
apt-get install -y --no-remove mingw-w64
|
||||
apt-get install -y --no-remove \
|
||||
mingw-w64 \
|
||||
libz-mingw-w64-dev \
|
||||
wine \
|
||||
wine32 \
|
||||
wine64
|
||||
|
||||
# for the vulkan overlay layer
|
||||
wget https://github.com/KhronosGroup/glslang/releases/download/master-tot/glslang-master-linux-Release.zip
|
||||
|
20
.gitlab-ci/x86_64-w64-mingw32
Normal file
20
.gitlab-ci/x86_64-w64-mingw32
Normal file
@ -0,0 +1,20 @@
|
||||
[binaries]
|
||||
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'
|
||||
windres = 'x86_64-w64-mingw32-windres'
|
||||
exe_wrapper = ['wine64']
|
||||
|
||||
[properties]
|
||||
needs_exe_wrapper = True
|
||||
sys_root = '/usr/x86_64-w64-mingw32/'
|
||||
|
||||
[host_machine]
|
||||
system = 'windows'
|
||||
cpu_family = 'x86_64'
|
||||
cpu = 'x86_64'
|
||||
endian = 'little'
|
||||
|
||||
; vim: ft=dosini
|
Loading…
x
Reference in New Issue
Block a user