gitlab-ci: add meson gallium ST "Other" build
[mesa.git] / .travis.yml
1 language: c
2
3 dist: xenial
4
5 cache:
6 apt: true
7 ccache: true
8
9 env:
10 global:
11 - XORG_RELEASES=https://xorg.freedesktop.org/releases/individual
12 - XCB_RELEASES=https://xcb.freedesktop.org/dist
13 - WAYLAND_RELEASES=https://wayland.freedesktop.org/releases
14 - XORGMACROS_VERSION=util-macros-1.19.0
15 - GLPROTO_VERSION=glproto-1.4.17
16 - DRI2PROTO_VERSION=dri2proto-2.8
17 - LIBPCIACCESS_VERSION=libpciaccess-0.13.4
18 - LIBDRM_VERSION=libdrm-2.4.97
19 - XCBPROTO_VERSION=xcb-proto-1.13
20 - RANDRPROTO_VERSION=randrproto-1.3.0
21 - LIBXRANDR_VERSION=libXrandr-1.3.0
22 - LIBXCB_VERSION=libxcb-1.13
23 - LIBXSHMFENCE_VERSION=libxshmfence-1.2
24 - LIBVDPAU_VERSION=libvdpau-1.1
25 - LIBVA_VERSION=libva-1.7.0
26 - LIBWAYLAND_VERSION=wayland-1.15.0
27 - WAYLAND_PROTOCOLS_VERSION=wayland-protocols-1.8
28 - PKG_CONFIG_PATH=$HOME/prefix/lib/pkgconfig:$HOME/prefix/share/pkgconfig
29 - LD_LIBRARY_PATH="$HOME/prefix/lib:$LD_LIBRARY_PATH"
30 - PATH="$HOME/prefix/bin:$PATH"
31
32 matrix:
33 include:
34 - env:
35 - LABEL="make loaders/classic DRI"
36 - BUILD=make
37 - MAKEFLAGS="-j4"
38 - MAKE_CHECK_COMMAND="make check"
39 - DRI_LOADERS="--enable-glx --enable-gbm --enable-egl --with-platforms=x11,drm,surfaceless,wayland --enable-osmesa"
40 - DRI_DRIVERS="i915,i965,radeon,r200,swrast,nouveau"
41 - GALLIUM_ST="--enable-dri --disable-opencl --disable-xa --disable-nine --disable-xvmc --disable-vdpau --disable-va --disable-omx-bellagio --disable-gallium-osmesa"
42 - GALLIUM_DRIVERS=""
43 - VULKAN_DRIVERS=""
44 - LIBUNWIND_FLAGS="--disable-libunwind"
45 addons:
46 apt:
47 packages:
48 - xz-utils
49 - x11proto-xf86vidmode-dev
50 - libxxf86vm-dev
51 - libexpat1-dev
52 - libx11-xcb-dev
53 - libxdamage-dev
54 - libxfixes-dev
55 - python3-pip
56 - python3-setuptools
57 - env:
58 # NOTE: Building SWR is 2x (yes two) times slower than all the other
59 # gallium drivers combined.
60 # Start this early so that it doesn't hunder the run time.
61 - LABEL="make Gallium Drivers SWR"
62 - BUILD=make
63 - MAKEFLAGS="-j4"
64 - MAKE_CHECK_COMMAND="true"
65 - LLVM_VERSION=6.0
66 - LLVM_CONFIG="llvm-config-${LLVM_VERSION}"
67 - DRI_LOADERS="--disable-glx --disable-gbm --disable-egl"
68 - DRI_DRIVERS=""
69 - GALLIUM_ST="--enable-dri --disable-opencl --disable-xa --disable-nine --disable-xvmc --disable-vdpau --disable-va --disable-omx-bellagio --disable-gallium-osmesa"
70 - GALLIUM_DRIVERS="swr"
71 - VULKAN_DRIVERS=""
72 - LIBUNWIND_FLAGS="--enable-libunwind"
73 addons:
74 apt:
75 packages:
76 - llvm-6.0-dev
77 # Common
78 - xz-utils
79 - libexpat1-dev
80 - libx11-xcb-dev
81 - libelf-dev
82 - libunwind8-dev
83 - python3-pip
84 - python3-setuptools
85 - env:
86 - LABEL="make Gallium Drivers RadeonSI"
87 - BUILD=make
88 - MAKEFLAGS="-j4"
89 - MAKE_CHECK_COMMAND="true"
90 - LLVM_VERSION=7
91 - LLVM_CONFIG="llvm-config-${LLVM_VERSION}"
92 - DRI_LOADERS="--disable-glx --disable-gbm --disable-egl"
93 - DRI_DRIVERS=""
94 - GALLIUM_ST="--enable-dri --disable-opencl --disable-xa --disable-nine --disable-xvmc --disable-vdpau --disable-va --disable-omx-bellagio --disable-gallium-osmesa"
95 - GALLIUM_DRIVERS="radeonsi"
96 - VULKAN_DRIVERS=""
97 - LIBUNWIND_FLAGS="--enable-libunwind"
98 addons:
99 apt:
100 sources:
101 - sourceline: 'deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-7 main'
102 key_url: https://apt.llvm.org/llvm-snapshot.gpg.key
103 packages:
104 # From sources above
105 - llvm-7-dev
106 # Common
107 - xz-utils
108 - libexpat1-dev
109 - libx11-xcb-dev
110 - libelf-dev
111 - libunwind8-dev
112 - python3-pip
113 - python3-setuptools
114 - env:
115 - LABEL="make Gallium Drivers Other"
116 - BUILD=make
117 - MAKEFLAGS="-j4"
118 - MAKE_CHECK_COMMAND="true"
119 - LLVM_VERSION=3.9
120 - LLVM_CONFIG="llvm-config-${LLVM_VERSION}"
121 - DRI_LOADERS="--disable-glx --disable-gbm --disable-egl"
122 - DRI_DRIVERS=""
123 - GALLIUM_ST="--enable-dri --disable-opencl --disable-xa --disable-nine --disable-xvmc --disable-vdpau --disable-va --disable-omx-bellagio --disable-gallium-osmesa"
124 - GALLIUM_DRIVERS="i915,nouveau,kmsro,r300,r600,freedreno,svga,swrast,v3d,vc4,virgl,etnaviv"
125 - VULKAN_DRIVERS=""
126 - LIBUNWIND_FLAGS="--enable-libunwind"
127 addons:
128 apt:
129 packages:
130 # LLVM packaging is broken and misses these dependencies
131 - libedit-dev
132 - llvm-3.9-dev
133 # Common
134 - xz-utils
135 - libexpat1-dev
136 - libx11-xcb-dev
137 - libelf-dev
138 - libunwind8-dev
139 - python3-pip
140 - python3-setuptools
141 - env:
142 - LABEL="make Gallium ST Clover LLVM-3.9"
143 - BUILD=make
144 - MAKEFLAGS="-j4"
145 - MAKE_CHECK_COMMAND="true"
146 - LLVM_VERSION=3.9
147 - LLVM_CONFIG="llvm-config-${LLVM_VERSION}"
148 - DRI_LOADERS="--disable-glx --disable-gbm --disable-egl"
149 - DRI_DRIVERS=""
150 - GALLIUM_ST="--disable-dri --enable-opencl --enable-opencl-icd --enable-llvm --disable-xa --disable-nine --disable-xvmc --disable-vdpau --disable-va --disable-omx-bellagio --disable-gallium-osmesa"
151 - GALLIUM_DRIVERS="r600"
152 - VULKAN_DRIVERS=""
153 - LIBUNWIND_FLAGS="--enable-libunwind"
154 addons:
155 apt:
156 packages:
157 - libclc-dev
158 # LLVM packaging is broken and misses these dependencies
159 - libedit-dev
160 - llvm-3.9-dev
161 - clang-3.9
162 - libclang-3.9-dev
163 # Common
164 - xz-utils
165 - libexpat1-dev
166 - libx11-xcb-dev
167 - libelf-dev
168 - libunwind8-dev
169 - python3-pip
170 - python3-setuptools
171 - env:
172 - LABEL="make Gallium ST Clover LLVM-4.0"
173 - BUILD=make
174 - MAKEFLAGS="-j4"
175 - MAKE_CHECK_COMMAND="true"
176 - LLVM_VERSION=4.0
177 - LLVM_CONFIG="llvm-config-${LLVM_VERSION}"
178 - DRI_LOADERS="--disable-glx --disable-gbm --disable-egl"
179 - DRI_DRIVERS=""
180 - GALLIUM_ST="--disable-dri --enable-opencl --enable-opencl-icd --enable-llvm --disable-xa --disable-nine --disable-xvmc --disable-vdpau --disable-va --disable-omx-bellagio --disable-gallium-osmesa"
181 - GALLIUM_DRIVERS="r600"
182 - VULKAN_DRIVERS=""
183 - LIBUNWIND_FLAGS="--enable-libunwind"
184 addons:
185 apt:
186 packages:
187 - libclc-dev
188 # LLVM packaging is broken and misses these dependencies
189 - libedit-dev
190 - llvm-4.0-dev
191 - clang-4.0
192 - libclang-4.0-dev
193 # Common
194 - xz-utils
195 - libexpat1-dev
196 - libx11-xcb-dev
197 - libelf-dev
198 - libunwind8-dev
199 - python3-pip
200 - python3-setuptools
201 - env:
202 - LABEL="make Gallium ST Clover LLVM-5.0"
203 - BUILD=make
204 - MAKEFLAGS="-j4"
205 - MAKE_CHECK_COMMAND="true"
206 - LLVM_VERSION=5.0
207 - LLVM_CONFIG="llvm-config-${LLVM_VERSION}"
208 - DRI_LOADERS="--disable-glx --disable-gbm --disable-egl"
209 - DRI_DRIVERS=""
210 - GALLIUM_ST="--disable-dri --enable-opencl --enable-opencl-icd --enable-llvm --disable-xa --disable-nine --disable-xvmc --disable-vdpau --disable-va --disable-omx-bellagio --disable-gallium-osmesa"
211 - GALLIUM_DRIVERS="r600"
212 - VULKAN_DRIVERS=""
213 - LIBUNWIND_FLAGS="--enable-libunwind"
214 addons:
215 apt:
216 packages:
217 - libclc-dev
218 # LLVM packaging is broken and misses these dependencies
219 - libedit-dev
220 - llvm-5.0-dev
221 - clang-5.0
222 - libclang-5.0-dev
223 # Common
224 - xz-utils
225 - libexpat1-dev
226 - libx11-xcb-dev
227 - libelf-dev
228 - libunwind8-dev
229 - python3-pip
230 - python3-setuptools
231 - env:
232 - LABEL="make Gallium ST Clover LLVM-6.0"
233 - BUILD=make
234 - MAKEFLAGS="-j4"
235 - MAKE_CHECK_COMMAND="true"
236 - LLVM_VERSION=6.0
237 - LLVM_CONFIG="llvm-config-${LLVM_VERSION}"
238 - DRI_LOADERS="--disable-glx --disable-gbm --disable-egl"
239 - DRI_DRIVERS=""
240 - GALLIUM_ST="--disable-dri --enable-opencl --enable-opencl-icd --enable-llvm --disable-xa --disable-nine --disable-xvmc --disable-vdpau --disable-va --disable-omx-bellagio --disable-gallium-osmesa"
241 - GALLIUM_DRIVERS="r600"
242 - VULKAN_DRIVERS=""
243 - LIBUNWIND_FLAGS="--enable-libunwind"
244 addons:
245 apt:
246 packages:
247 - libclc-dev
248 - llvm-6.0-dev
249 - clang-6.0
250 - libclang-6.0-dev
251 # Common
252 - xz-utils
253 - libexpat1-dev
254 - libx11-xcb-dev
255 - libelf-dev
256 - libunwind8-dev
257 - python3-pip
258 - python3-setuptools
259 - env:
260 - LABEL="make Gallium ST Clover LLVM-7"
261 - BUILD=make
262 - MAKEFLAGS="-j4"
263 - MAKE_CHECK_COMMAND="true"
264 - LLVM_VERSION=7
265 - LLVM_CONFIG="llvm-config-${LLVM_VERSION}"
266 - DRI_LOADERS="--disable-glx --disable-gbm --disable-egl"
267 - DRI_DRIVERS=""
268 - GALLIUM_ST="--disable-dri --enable-opencl --enable-opencl-icd --enable-llvm --disable-xa --disable-nine --disable-xvmc --disable-vdpau --disable-va --disable-omx-bellagio --disable-gallium-osmesa"
269 - GALLIUM_DRIVERS="r600,radeonsi"
270 - VULKAN_DRIVERS=""
271 - LIBUNWIND_FLAGS="--enable-libunwind"
272 addons:
273 apt:
274 sources:
275 - sourceline: 'deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-7 main'
276 key_url: https://apt.llvm.org/llvm-snapshot.gpg.key
277 packages:
278 - libclc-dev
279 # From sources above
280 - llvm-7-dev
281 - clang-7
282 - libclang-7-dev
283 # Common
284 - xz-utils
285 - libexpat1-dev
286 - libx11-xcb-dev
287 - libelf-dev
288 - libunwind8-dev
289 - env:
290 - LABEL="make Gallium ST Other"
291 - BUILD=make
292 - MAKEFLAGS="-j4"
293 - MAKE_CHECK_COMMAND="true"
294 - LLVM_VERSION=3.5
295 - LLVM_CONFIG="llvm-config-${LLVM_VERSION}"
296 - DRI_LOADERS="--disable-glx --disable-gbm --disable-egl"
297 - DRI_DRIVERS=""
298 - GALLIUM_ST="--enable-dri --disable-opencl --enable-xa --enable-nine --enable-xvmc --enable-vdpau --enable-va --enable-omx-bellagio --enable-gallium-osmesa"
299 # We need swrast for osmesa and nine.
300 # i915 most likely doesn't work with most ST.
301 # Regardless - we're doing a quick build test here.
302 - GALLIUM_DRIVERS="i915,swrast"
303 - VULKAN_DRIVERS=""
304 - LIBUNWIND_FLAGS="--enable-libunwind"
305 addons:
306 apt:
307 packages:
308 # We actually want to test against llvm-3.3, yet 3.5 is available
309 - llvm-3.5-dev
310 # Nine requires gcc 4.6... which is the one we have right ?
311 - libxvmc-dev
312 # Build locally, for now.
313 #- libvdpau-dev
314 #- libva-dev
315 - libomxil-bellagio-dev
316 # LLVM packaging is broken and misses these dependencies
317 - libedit-dev
318 # Common
319 - xz-utils
320 - libexpat1-dev
321 - libx11-xcb-dev
322 - libelf-dev
323 - libunwind8-dev
324 - python3-pip
325 - python3-setuptools
326 - env:
327 - LABEL="macOS make"
328 - BUILD=make
329 - MAKEFLAGS="-j4"
330 - MAKE_CHECK_COMMAND="make check"
331 - DRI_LOADERS="--with-platforms=x11 --disable-egl"
332 os: osx
333 - env:
334 - LABEL="macOS meson"
335 - BUILD=meson
336 - UNWIND="false"
337 - DRI_LOADERS="-Dglx=dri -Dgbm=false -Degl=false -Dplatforms=x11 -Dosmesa=none"
338 - GALLIUM_ST="-Ddri3=true -Dgallium-vdpau=false -Dgallium-xvmc=false -Dgallium-omx=disabled -Dgallium-va=false -Dgallium-xa=false -Dgallium-nine=false -Dgallium-opencl=disabled"
339 os: osx
340
341 before_install:
342 - |
343 if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
344 HOMEBREW_NO_AUTO_UPDATE=1 brew install python3 ninja expat gettext
345 # Set PATH for homebrew pip3 installs
346 PATH="$HOME/Library/Python/3.6/bin:${PATH}"
347 # Set PKG_CONFIG_PATH for keg-only expat
348 PKG_CONFIG_PATH="/usr/local/opt/expat/lib/pkgconfig:${PKG_CONFIG_PATH}"
349 # Set PATH for keg-only gettext
350 PATH="/usr/local/opt/gettext/bin:${PATH}"
351
352 # Install xquartz for prereqs ...
353 XQUARTZ_VERSION="2.7.11"
354 wget -nv https://dl.bintray.com/xquartz/downloads/XQuartz-${XQUARTZ_VERSION}.dmg
355 hdiutil attach XQuartz-${XQUARTZ_VERSION}.dmg
356 sudo installer -pkg /Volumes/XQuartz-${XQUARTZ_VERSION}/XQuartz.pkg -target /
357 hdiutil detach /Volumes/XQuartz-${XQUARTZ_VERSION}
358 # ... and set paths
359 PATH="/opt/X11/bin:${PATH}"
360 PKG_CONFIG_PATH="/opt/X11/share/pkgconfig:/opt/X11/lib/pkgconfig:${PKG_CONFIG_PATH}"
361 ACLOCAL="aclocal -I /opt/X11/share/aclocal -I /usr/local/share/aclocal"
362 fi
363
364 install:
365 # Install a more modern meson from pip, since the version in the
366 # ubuntu repos is often quite old.
367 - if test "x$BUILD" = xmeson; then
368 pip3 install --user meson;
369 pip3 install --user mako;
370 fi
371
372 # Install autotools build dependencies
373 - if test "x$BUILD" = xmake; then
374 pip2 install --user mako;
375 fi
376
377 # Install a more modern scons from pip.
378 - if test "x$BUILD" = xscons; then
379 pip2 install --user "scons>=2.4";
380 pip2 install --user mako;
381 fi
382
383 # Install dependencies where we require specific versions (or where
384 # disallowed by Travis CI's package whitelisting).
385
386 - |
387 if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
388 wget $XORG_RELEASES/util/$XORGMACROS_VERSION.tar.bz2
389 tar -jxvf $XORGMACROS_VERSION.tar.bz2
390 (cd $XORGMACROS_VERSION && ./configure --prefix=$HOME/prefix && make install)
391
392 wget $XORG_RELEASES/proto/$GLPROTO_VERSION.tar.bz2
393 tar -jxvf $GLPROTO_VERSION.tar.bz2
394 (cd $GLPROTO_VERSION && ./configure --prefix=$HOME/prefix && make install)
395
396 wget $XORG_RELEASES/proto/$DRI2PROTO_VERSION.tar.bz2
397 tar -jxvf $DRI2PROTO_VERSION.tar.bz2
398 (cd $DRI2PROTO_VERSION && ./configure --prefix=$HOME/prefix && make install)
399
400 wget $XCB_RELEASES/$XCBPROTO_VERSION.tar.bz2
401 tar -jxvf $XCBPROTO_VERSION.tar.bz2
402 (cd $XCBPROTO_VERSION && ./configure --prefix=$HOME/prefix && make install)
403
404 wget $XCB_RELEASES/$LIBXCB_VERSION.tar.bz2
405 tar -jxvf $LIBXCB_VERSION.tar.bz2
406 (cd $LIBXCB_VERSION && ./configure --prefix=$HOME/prefix && make install)
407
408 wget $XORG_RELEASES/lib/$LIBPCIACCESS_VERSION.tar.bz2
409 tar -jxvf $LIBPCIACCESS_VERSION.tar.bz2
410 (cd $LIBPCIACCESS_VERSION && ./configure --prefix=$HOME/prefix && make install)
411
412 wget https://dri.freedesktop.org/libdrm/$LIBDRM_VERSION.tar.bz2
413 tar -jxvf $LIBDRM_VERSION.tar.bz2
414 (cd $LIBDRM_VERSION && ./configure --prefix=$HOME/prefix --enable-vc4 --enable-freedreno --enable-etnaviv-experimental-api && make install)
415
416 wget $XORG_RELEASES/proto/$RANDRPROTO_VERSION.tar.bz2
417 tar -jxvf $RANDRPROTO_VERSION.tar.bz2
418 (cd $RANDRPROTO_VERSION && ./configure --prefix=$HOME/prefix && make install)
419
420 wget $XORG_RELEASES/lib/$LIBXRANDR_VERSION.tar.bz2
421 tar -jxvf $LIBXRANDR_VERSION.tar.bz2
422 (cd $LIBXRANDR_VERSION && ./configure --prefix=$HOME/prefix && make install)
423
424 wget $XORG_RELEASES/lib/$LIBXSHMFENCE_VERSION.tar.bz2
425 tar -jxvf $LIBXSHMFENCE_VERSION.tar.bz2
426 (cd $LIBXSHMFENCE_VERSION && ./configure --prefix=$HOME/prefix && make install)
427
428 wget https://people.freedesktop.org/~aplattner/vdpau/$LIBVDPAU_VERSION.tar.bz2
429 tar -jxvf $LIBVDPAU_VERSION.tar.bz2
430 (cd $LIBVDPAU_VERSION && ./configure --prefix=$HOME/prefix && make install)
431
432 wget https://www.freedesktop.org/software/vaapi/releases/libva/$LIBVA_VERSION.tar.bz2
433 tar -jxvf $LIBVA_VERSION.tar.bz2
434 (cd $LIBVA_VERSION && ./configure --prefix=$HOME/prefix --disable-wayland --disable-dummy-driver && make install)
435
436 wget $WAYLAND_RELEASES/$LIBWAYLAND_VERSION.tar.xz
437 tar -axvf $LIBWAYLAND_VERSION.tar.xz
438 (cd $LIBWAYLAND_VERSION && ./configure --prefix=$HOME/prefix --enable-libraries --without-host-scanner --disable-documentation --disable-dtd-validation && make install)
439
440 wget $WAYLAND_RELEASES/$WAYLAND_PROTOCOLS_VERSION.tar.xz
441 tar -axvf $WAYLAND_PROTOCOLS_VERSION.tar.xz
442 (cd $WAYLAND_PROTOCOLS_VERSION && ./configure --prefix=$HOME/prefix && make install)
443
444 # Meson requires ninja >= 1.6, but xenial has 1.3.x
445 wget https://github.com/ninja-build/ninja/releases/download/v1.6.0/ninja-linux.zip
446 unzip ninja-linux.zip
447 mv ninja $HOME/prefix/bin/
448
449 # Generate this header since one is missing on the Travis instance
450 mkdir -p linux
451 printf "%s\n" \
452 "#ifndef _LINUX_MEMFD_H" \
453 "#define _LINUX_MEMFD_H" \
454 "" \
455 "#define MFD_CLOEXEC 0x0001U" \
456 "#define MFD_ALLOW_SEALING 0x0002U" \
457 "" \
458 "#endif /* _LINUX_MEMFD_H */" > linux/memfd.h
459
460 # Generate this header, including the missing SYS_memfd_create
461 # macro, which is not provided by the header in the Travis
462 # instance
463 mkdir -p sys
464 printf "%s\n" \
465 "#ifndef _SYSCALL_H" \
466 "#define _SYSCALL_H 1" \
467 "" \
468 "#include <asm/unistd.h>" \
469 "" \
470 "#ifndef _LIBC" \
471 "# include <bits/syscall.h>" \
472 "#endif" \
473 "" \
474 "#ifndef __NR_memfd_create" \
475 "# define __NR_memfd_create 319 /* Taken from <asm/unistd_64.h> */" \
476 "#endif" \
477 "" \
478 "#ifndef SYS_memfd_create" \
479 "# define SYS_memfd_create __NR_memfd_create" \
480 "#endif" \
481 "" \
482 "#endif" > sys/syscall.h
483 fi
484
485 script:
486 - if test "x$BUILD" = xmake; then
487 export CFLAGS="$CFLAGS -isystem`pwd`";
488
489 mkdir build &&
490 cd build &&
491 ../autogen.sh
492 --enable-autotools
493 --enable-debug
494 $LIBUNWIND_FLAGS
495 $DRI_LOADERS
496 --with-dri-drivers=$DRI_DRIVERS
497 $GALLIUM_ST
498 --with-gallium-drivers=$GALLIUM_DRIVERS
499 --with-vulkan-drivers=$VULKAN_DRIVERS
500 --disable-llvm-shared-libs
501 &&
502 make && eval $MAKE_CHECK_COMMAND;
503 fi
504
505 - if test "x$BUILD" = xscons; then
506 scons $SCONS_TARGET && eval $SCONS_CHECK_COMMAND;
507 fi
508
509 - |
510 if test "x$BUILD" = xmeson; then
511 if test -n "$LLVM_CONFIG"; then
512 # We need to control the version of llvm-config we're using, so we'll
513 # generate a native file to do so. This requires meson >=0.49
514 #
515 echo -e "[binaries]\nllvm-config = '`which $LLVM_CONFIG`'" > native.file
516
517 $LLVM_CONFIG --version
518 else
519 : > native.file
520 fi
521
522 export CFLAGS="$CFLAGS -isystem`pwd`"
523 meson _build \
524 --native-file=native.file \
525 -Dbuild-tests=true \
526 -Dlibunwind=${UNWIND} \
527 ${DRI_LOADERS} \
528 -Ddri-drivers=${DRI_DRIVERS:-[]} \
529 ${GALLIUM_ST} \
530 -Dgallium-drivers=${GALLIUM_DRIVERS:-[]} \
531 -Dvulkan-drivers=${VULKAN_DRIVERS:-[]}
532 meson configure _build
533 ninja -C _build
534 ninja -C _build test
535 fi