1 git config
--global user.email
"mesa@example.com"
2 git config
--global user.name
"Mesa CI"
3 # XXX: Use --depth 1 once we can drop the cherry-picks.
5 https
://github.com
/KhronosGroup
/VK-GL-CTS.git \
6 -b opengl-es-cts-3.2
.5.1 \
9 # Fix surfaceless build
10 git cherry-pick
-x 22f41e5e321c6dcd8569c4dad91bce89f06b3670
11 git cherry-pick
-x 1daa8dff73161ea60ead965bd6c9f2a0a2165648
13 # surfaceless links against libkms and such despite not using it.
14 sed -i '/gbm/d' targets
/surfaceless
/surfaceless.cmake
15 sed -i '/libkms/d' targets
/surfaceless
/surfaceless.cmake
16 sed -i '/libgbm/d' targets
/surfaceless
/surfaceless.cmake
18 # --insecure is due to SSL cert failures hitting sourceforge for zlib and
19 # libpng (sigh). The archives get their checksums checked anyway, and git
20 # always goes through ssh or https.
21 python3 external
/fetch_sources.py
--insecure
26 -DDEQP_TARGET=surfaceless \
27 -DCMAKE_BUILD_TYPE=Release \
31 # Copy out the mustpass lists we want from a bunch of other junk.
33 for gles
in gles2 gles3 gles31
; do
35 /deqp
/external
/openglcts
/modules
/gl_cts
/data
/mustpass
/gles
/aosp_mustpass
/3.2.5.x
/$gles-master.txt \
36 /deqp
/mustpass
/$gles-master.txt
40 rm -rf /deqp
/modules
/internal
42 rm -rf /deqp
/execserver
43 rm -rf /deqp
/modules
/egl
44 rm -rf /deqp
/framework
45 find -iname '*cmake*' -o -name '*ninja*' -o -name '*.o' -o -name '*.a' |
xargs rm -rf
46 strip modules
/*/deqp-
*