radeonsi/ci: import piglit & cts build scripts

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36382>
This commit is contained in:
Marek Olšák
2025-07-25 12:15:20 -04:00
committed by Marge Bot
parent 05cc38bb68
commit 2294dcb25d
3 changed files with 54 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
#!/bin/bash
#
# Copyright 2025 Advanced Micro Devices, Inc.
# SPDX-License-Identifier: MIT
set -e
python3 external/fetch_sources.py
rm -rf build
mkdir build
cmake -B build . -G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DGLCTS_GTF_TARGET=gl -DDEQP_TARGET=x11_egl
rm -rf build_es
mkdir build_es
cmake -B build_es . -G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DGLCTS_GTF_TARGET=gles32 -DDEQP_TARGET=x11_egl
echo
echo !!! GLCTS is not supposed to be installed !!!
echo Type:
echo ' ninja -Cbuild && ninja -Cbuild_es'
+18
View File
@@ -0,0 +1,18 @@
#!/bin/bash
#
# Copyright 2025 Advanced Micro Devices, Inc.
# SPDX-License-Identifier: MIT
set -e
cmake . -G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DPIGLIT_BUILD_DMA_BUF_TESTS=ON \
-DPIGLIT_BUILD_GLES1_TESTS=ON \
-DPIGLIT_BUILD_GLES2_TESTS=ON \
-DPIGLIT_BUILD_GLES3_TESTS=ON \
-DPIGLIT_BUILD_GLX_TESTS=ON \
-DPIGLIT_BUILD_GL_TESTS=ON \
-DPIGLIT_USE_WAFFLE=ON
echo
echo !!! Piglit is not supposed to be installed !!!
+16
View File
@@ -0,0 +1,16 @@
#!/bin/bash
#
# Copyright 2025 Advanced Micro Devices, Inc.
# SPDX-License-Identifier: MIT
set -e
prefix=${PREFIX:-/usr}
buildtype=${BUILD_TYPE:-debugoptimized}
rm -r build
mkdir build
meson build --prefix $prefix --libdir $prefix/lib/$arch --datadir $prefix/share --buildtype $buildtype
echo
echo !!! Make sure this output contains: Supported platforms: ... gbm !!!