From: Eric Engestrom Date: Fri, 9 Aug 2019 22:46:50 +0000 (+0100) Subject: gitlab-ci: simplify $CROSS option X-Git-Tag: upstream/19.3.0~3064 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1c82fa0a92538e7673a6ea4bb6088c39059b3390;p=platform%2Fupstream%2Fmesa.git gitlab-ci: simplify $CROSS option Signed-off-by: Eric Engestrom Reviewed-by: Jordan Justen --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 69dd3fa..b986d43 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -257,7 +257,7 @@ meson-vulkan: meson-armhf: extends: .meson-cross variables: - CROSS: --cross /cross_file-armhf.txt + CROSS: armhf VULKAN_DRIVERS: freedreno GALLIUM_DRIVERS: "etnaviv,freedreno,kmsro,lima,nouveau,panfrost,tegra,v3d,vc4" # Disable the tests since we're cross compiling. @@ -269,7 +269,7 @@ meson-armhf: meson-arm64: extends: .meson-cross variables: - CROSS: --cross /cross_file-arm64.txt + CROSS: arm64 VULKAN_DRIVERS: freedreno GALLIUM_DRIVERS: "etnaviv,freedreno,kmsro,lima,nouveau,panfrost,tegra,v3d,vc4" # Disable the tests since we're cross compiling. @@ -281,7 +281,7 @@ meson-arm64: meson-i386: extends: .meson-cross variables: - CROSS: --cross /cross_file-i386.txt + CROSS: i386 VULKAN_DRIVERS: intel GALLIUM_DRIVERS: "swrast" # Disable i386 tests, because u_format_tests gets precision diff --git a/.gitlab-ci/meson-build.sh b/.gitlab-ci/meson-build.sh index c7fef6f..d0df91f 100755 --- a/.gitlab-ci/meson-build.sh +++ b/.gitlab-ci/meson-build.sh @@ -16,7 +16,7 @@ fi rm -rf _build meson _build --native-file=native.file \ - ${CROSS} \ + ${CROSS+--cross /cross_file-$CROSS.txt} \ -D libdir=lib \ -D buildtype=debug \ -D build-tests=true \