From 4a5be4934fce528508670d48df26b0e70f6b4e37 Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Wed, 3 Aug 2022 11:56:48 -0700 Subject: [PATCH] devops: fix Firefox beta on Ubuntu 22.04 arm64 compilation (#16220) --- browser_patches/docker_build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/browser_patches/docker_build.sh b/browser_patches/docker_build.sh index 519ccb6294..919dae7d4e 100755 --- a/browser_patches/docker_build.sh +++ b/browser_patches/docker_build.sh @@ -137,7 +137,7 @@ function ensure_docker_container { gcc \ unzip - if [[ "${BUILD_FLAVOR}" == "firefox-ubuntu-22.04-arm64" ]]; then + if [[ "${BUILD_FLAVOR}" == "firefox-ubuntu-22.04-arm64" || "${BUILD_FLAVOR}" == "firefox-beta-ubuntu-22.04-arm64" ]]; then apt-get install -y clang-14 elif [[ "${BUILD_FLAVOR}" == *"-arm64" ]]; then apt-get install -y clang-12 @@ -209,7 +209,7 @@ elif [[ "$2" == "compile" ]]; then if [[ "${BUILD_FLAVOR}" == "webkit-ubuntu-18.04" ]]; then export CC=/usr/bin/gcc-8 export CXX=/usr/bin/g++-8 - elif [[ "${BUILD_FLAVOR}" == "firefox-ubuntu-22.04-arm64" ]]; then + elif [[ "${BUILD_FLAVOR}" == "firefox-ubuntu-22.04-arm64" || "${BUILD_FLAVOR}" == "firefox-beta-ubuntu-22.04-arm64" ]]; then export CC=/usr/bin/clang-14 export CXX=/usr/bin/clang++-14 elif [[ "${BUILD_FLAVOR}" == *"-arm64" ]]; then