Last change
on this file since 103996 was 103996, checked in by vboxsync, 13 months ago |
Additions/3D/mesa: export mesa-24.0.2 to OSE. bugref:10606
|
-
Property svn:eol-style
set to
native
|
File size:
1.3 KB
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | # When changing this file, you need to bump the following
|
---|
4 | # .gitlab-ci/image-tags.yml tags:
|
---|
5 | # DEBIAN_X86_64_TEST_VK_TAG
|
---|
6 | # KERNEL_ROOTFS_TAG
|
---|
7 | set -ex
|
---|
8 |
|
---|
9 | VKD3D_PROTON_COMMIT="a0ccc383937903f4ca0997ce53e41ccce7f2f2ec"
|
---|
10 |
|
---|
11 | VKD3D_PROTON_DST_DIR="/vkd3d-proton-tests"
|
---|
12 | VKD3D_PROTON_SRC_DIR="/vkd3d-proton-src"
|
---|
13 | VKD3D_PROTON_BUILD_DIR="/vkd3d-proton-$VKD3D_PROTON_VERSION"
|
---|
14 |
|
---|
15 | function build_arch {
|
---|
16 | local arch="$1"
|
---|
17 | shift
|
---|
18 |
|
---|
19 | meson "$@" \
|
---|
20 | -Denable_tests=true \
|
---|
21 | --buildtype release \
|
---|
22 | --prefix "$VKD3D_PROTON_DST_DIR" \
|
---|
23 | --strip \
|
---|
24 | --bindir "x${arch}" \
|
---|
25 | --libdir "x${arch}" \
|
---|
26 | "$VKD3D_PROTON_BUILD_DIR/build.${arch}"
|
---|
27 |
|
---|
28 | ninja -C "$VKD3D_PROTON_BUILD_DIR/build.${arch}" install
|
---|
29 |
|
---|
30 | install -D -m755 -t "${VKD3D_PROTON_DST_DIR}/x${arch}/bin" "$VKD3D_PROTON_BUILD_DIR/build.${arch}/tests/d3d12"
|
---|
31 | }
|
---|
32 |
|
---|
33 | git clone https://github.com/HansKristian-Work/vkd3d-proton.git --single-branch -b master --no-checkout "$VKD3D_PROTON_SRC_DIR"
|
---|
34 | pushd "$VKD3D_PROTON_SRC_DIR"
|
---|
35 | git checkout "$VKD3D_PROTON_COMMIT"
|
---|
36 | git submodule update --init --recursive
|
---|
37 | git submodule update --recursive
|
---|
38 | build_arch 64
|
---|
39 | build_arch 86
|
---|
40 | popd
|
---|
41 |
|
---|
42 | rm -rf "$VKD3D_PROTON_BUILD_DIR"
|
---|
43 | rm -rf "$VKD3D_PROTON_SRC_DIR"
|
---|
Note:
See
TracBrowser
for help on using the repository browser.