gitlab-ci: Build i386 and ARM drivers in surfaceless mode.
[mesa.git] / .gitlab-ci / meson-build.sh
index e6f0b8004686d397e822aa567bdea3960dd65bef..2bf51de1cd69214ab1aab09ab75d63e11934f294 100755 (executable)
@@ -16,6 +16,7 @@ fi
 
 rm -rf _build
 meson _build --native-file=native.file \
+      ${CROSS} \
       -D buildtype=debug \
       -D build-tests=true \
       -D libunwind=${UNWIND} \
@@ -24,8 +25,10 @@ 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