From 923943f7d3e2a2b9c4362d77bc0ed5e1421bf7bc Mon Sep 17 00:00:00 2001 From: Harshit Dagar <159629217+Evo690@users.noreply.github.com> Date: Sat, 22 Mar 2025 11:39:43 +0530 Subject: [PATCH] Update ladybird.sh --- Meta/ladybird.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Meta/ladybird.sh b/Meta/ladybird.sh index 741dcbe1935..8482eea6582 100755 --- a/Meta/ladybird.sh +++ b/Meta/ladybird.sh @@ -120,11 +120,16 @@ run_tests() { } build_target() { + # Disable Vulkan and force software rendering + export LIBGL_ALWAYS_SOFTWARE=1 + export MESA_LOADER_DRIVER_OVERRIDE=llvmpipe + export QT_QPA_PLATFORM=offscreen # Prevents GUI from launching + export QT_QPA_PLATFORMTHEME=qt5ct # Avoids some Qt6 theme issues + # Get either the environment MAKEJOBS or all processors via CMake [ -z "$MAKEJOBS" ] && MAKEJOBS=$(cmake -P "$LADYBIRD_SOURCE_DIR/Meta/CMake/processor-count.cmake") - # With zero args, we are doing a standard "build" - # With multiple args, we are doing an install/run + # Build with Ninja if [ $# -eq 0 ]; then CMAKE_BUILD_PARALLEL_LEVEL="$MAKEJOBS" cmake --build "$BUILD_DIR" else