ci: Build-test Panfrost tools
authorTomeu Vizoso <tomeu.vizoso@collabora.com>
Mon, 3 Aug 2020 14:19:38 +0000 (16:19 +0200)
committerTomeu Vizoso <tomeu.vizoso@collabora.com>
Mon, 3 Aug 2020 15:43:51 +0000 (17:43 +0200)
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3348
Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6157>

.gitlab-ci.yml
.gitlab-ci/arm64.config
.gitlab-ci/container/lava_build.sh

index 144b541bf6bec3f530202d895c8ecde33f5addba..203d4e4d2e17efd0a4127572de42cab2e5c2d301 100644 (file)
@@ -642,6 +642,8 @@ meson-arm64-build-test:
     - .ci-deqp-artifacts
   variables:
     VULKAN_DRIVERS: "amd"
+    EXTRA_OPTION: >
+      -Dtools=panfrost
   script:
     - .gitlab-ci/meson-build.sh
 
index 42aad36ef17f3439cf434f505701f8ca2b7d0e58..23f766541e542ce8d6494ca5531c11757a27d0e1 100644 (file)
@@ -115,7 +115,6 @@ CONFIG_DETECT_HUNG_TASK=y
 
 CONFIG_FW_LOADER_COMPRESS=y
 CONFIG_FW_LOADER_USER_HELPER=n
-CONFIG_SUNRPC_DEBUG=y
 
 CONFIG_USB_USBNET=y
 CONFIG_NETDEVICES=y
index 7a7e997a31cfc955a471625f11a29b495c530360..f55b9a5e22782ac02448893c627b97440ce2b9fd 100755 (executable)
@@ -136,7 +136,7 @@ mkdir -p kernel
 wget -qO- ${KERNEL_URL} | tar -xz --strip-components=1 -C kernel
 pushd kernel
 ./scripts/kconfig/merge_config.sh ${DEFCONFIG} ../.gitlab-ci/${KERNEL_ARCH}.config
-make ${KERNEL_IMAGE_NAME}
+make ${KERNEL_IMAGE_NAME} modules
 for image in ${KERNEL_IMAGE_NAME}; do
     cp arch/${KERNEL_ARCH}/boot/${image} /lava-files/.
 done
@@ -145,6 +145,9 @@ if [[ -n ${DEVICE_TREES} ]]; then
     cp ${DEVICE_TREES} /lava-files/.
 fi
 
+make -j12 modules
+INSTALL_MOD_PATH=/lava-files/rootfs-${DEBIAN_ARCH}/ make modules_install
+
 if [[ ${DEBIAN_ARCH} = "arm64" ]] && which mkimage > /dev/null; then
     make Image.lzma
     mkimage \