compiler: add shader_info.vs.blit_sgprs_amd
[mesa.git] / .gitlab-ci / meson-build.sh
index e6f0b8004686d397e822aa567bdea3960dd65bef..d0df91fa3949988ba85c54629fa0de8335c46b93 100755 (executable)
@@ -16,6 +16,8 @@ fi
 
 rm -rf _build
 meson _build --native-file=native.file \
+      ${CROSS+--cross /cross_file-$CROSS.txt} \
+      -D libdir=lib \
       -D buildtype=debug \
       -D build-tests=true \
       -D libunwind=${UNWIND} \
@@ -24,8 +26,15 @@ meson _build --native-file=native.file \
       ${GALLIUM_ST} \
       -D gallium-drivers=${GALLIUM_DRIVERS:-[]} \
       -D vulkan-drivers=${VULKAN_DRIVERS:-[]} \
-      -D I-love-half-baked-turnips=true
+      -D I-love-half-baked-turnips=true \
+      ${EXTRA_OPTION}
 cd _build
 meson configure
 ninja -j4
 LC_ALL=C.UTF-8 ninja test
+DESTDIR=$PWD/../install ninja install
+cd ..
+
+if test -n "$MESON_SHADERDB"; then
+    ./.gitlab-ci/run-shader-db.sh;
+fi