summaryrefslogtreecommitdiffstats
path: root/.gitlab-ci/meson-build.sh
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2019-08-01 12:14:15 -0700
committerEric Anholt <[email protected]>2019-08-13 10:30:01 -0700
commitab49873b4422eb087b6257265e30799ce8d4728d (patch)
treee2162a29f74047975721ad153e7efb0391edb6a8 /.gitlab-ci/meson-build.sh
parent9605749f995b3a7b1d94d71994cdc57b9d0bfdff (diff)
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 <[email protected]>
Diffstat (limited to '.gitlab-ci/meson-build.sh')
-rwxr-xr-x.gitlab-ci/meson-build.sh2
1 files changed, 1 insertions, 1 deletions
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} \