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:
+20
@@ -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
@@ -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
@@ -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 !!!
|
||||
Reference in New Issue
Block a user