From: Eric Anholt Date: Thu, 1 Aug 2019 19:14:15 +0000 (-0700) Subject: gitlab-ci: Switch the meson-main build type to debugoptimized. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ab49873b4422eb087b6257265e30799ce8d4728d;p=mesa.git gitlab-ci: Switch the meson-main build type to debugoptimized. Now that we're running the drivers we build, building with optimization is important for keeping our runtime down. Shaves about 4 minutes of runtime off of GLES2 CTS of llvmpipe at 64x64. v2: Only switch meson-main until we enable CTS for other builds on request by Michel. Reviewed-by: Eric Engestrom --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9861f7590f4..aca5d7624d0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -175,6 +175,7 @@ meson-main: -D osmesa=gallium -D tools=all MESON_SHADERDB: "true" + BUILDTYPE: "debugoptimized" meson-clover: extends: .meson-build diff --git a/.gitlab-ci/meson-build.sh b/.gitlab-ci/meson-build.sh index 42aed0e91c5..c2efd2aeedf 100755 --- a/.gitlab-ci/meson-build.sh +++ b/.gitlab-ci/meson-build.sh @@ -19,7 +19,7 @@ meson _build --native-file=native.file \ ${CROSS+--cross /cross_file-$CROSS.txt} \ -D prefix=`pwd`/install \ -D libdir=lib \ - -D buildtype=debug \ + -D buildtype=${BUILDTYPE:-debug} \ -D build-tests=true \ -D libunwind=${UNWIND} \ ${DRI_LOADERS} \