Use RBE in mac builds in presubmit but not postsubmit (flutter/engine#52018)

This also disables goma in both pre- and post-submit for mac builds.
This commit is contained in:
Zachary Anderson
2024-04-10 09:25:06 -07:00
committed by GitHub
parent 0aa1a1ec26
commit 49ba863b6d
3 changed files with 515 additions and 130 deletions

View File

@@ -75,7 +75,8 @@
"cpu=x86"
],
"gclient_variables": {
"download_android_deps": false
"download_android_deps": false,
"use_rbe": true
},
"gn": [
"--target-dir",
@@ -83,7 +84,10 @@
"--runtime-mode",
"profile",
"--android",
"--android-cpu=arm64"
"--android-cpu=arm64",
"--rbe",
"--no-goma",
"--xcode-symlinks"
],
"name": "ci/android_profile_arm64",
"description": "Produces profile mode artifacts to target 64-bit arm Android from a macOS host.",
@@ -94,6 +98,18 @@
"flutter/shell/platform/android:gen_snapshot"
]
},
"postsubmit_overrides": {
"gn": [
"--target-dir",
"ci/android_profile_arm64",
"--runtime-mode",
"profile",
"--android",
"--android-cpu=arm64",
"--no-rbe",
"--no-goma"
]
},
"properties": {
"$flutter/osx_sdk": {
"sdk_version": "15a240d"
@@ -118,7 +134,8 @@
"cpu=x86"
],
"gclient_variables": {
"download_android_deps": false
"download_android_deps": false,
"use_rbe": true
},
"gn": [
"--target-dir",
@@ -126,7 +143,10 @@
"--runtime-mode",
"profile",
"--android",
"--android-cpu=x64"
"--android-cpu=x64",
"--rbe",
"--no-goma",
"--xcode-symlinks"
],
"name": "ci/android_profile_x64",
"description": "Produces profile mode artifacts to target x64 Android from a macOS host.",
@@ -137,6 +157,18 @@
"flutter/shell/platform/android:gen_snapshot"
]
},
"postsubmit_overrides": {
"gn": [
"--target-dir",
"ci/android_profile_x64",
"--runtime-mode",
"profile",
"--android",
"--android-cpu=x64",
"--no-rbe",
"--no-goma"
]
},
"properties": {
"$flutter/osx_sdk": {
"sdk_version": "15a240d"
@@ -161,14 +193,18 @@
"cpu=x86"
],
"gclient_variables": {
"download_android_deps": false
"download_android_deps": false,
"use_rbe": true
},
"gn": [
"--target-dir",
"ci/android_release",
"--runtime-mode",
"release",
"--android"
"--android",
"--rbe",
"--no-goma",
"--xcode-symlinks"
],
"name": "ci/android_release",
"description": "Produces release mode artifacts to target 32-bit arm Android from a macOS host.",
@@ -179,6 +215,17 @@
"flutter/shell/platform/android:gen_snapshot"
]
},
"postsubmit_overrides": {
"gn": [
"--target-dir",
"ci/android_release",
"--runtime-mode",
"release",
"--android",
"--no-rbe",
"--no-goma"
]
},
"properties": {
"$flutter/osx_sdk": {
"sdk_version": "15a240d"
@@ -203,7 +250,8 @@
"cpu=x86"
],
"gclient_variables": {
"download_android_deps": false
"download_android_deps": false,
"use_rbe": true
},
"gn": [
"--target-dir",
@@ -211,7 +259,10 @@
"--runtime-mode",
"release",
"--android",
"--android-cpu=arm64"
"--android-cpu=arm64",
"--rbe",
"--no-goma",
"--xcode-symlinks"
],
"name": "ci/android_release_arm64",
"description": "Produces release mode artifacts to target 64-bit arm Android from a macOS host.",
@@ -222,6 +273,18 @@
"flutter/shell/platform/android:gen_snapshot"
]
},
"postsubmit_overrides": {
"gn": [
"--target-dir",
"ci/android_release_arm64",
"--runtime-mode",
"release",
"--android",
"--android-cpu=arm64",
"--no-rbe",
"--no-goma"
]
},
"properties": {
"$flutter/osx_sdk": {
"sdk_version": "15a240d"
@@ -246,7 +309,8 @@
"cpu=x86"
],
"gclient_variables": {
"download_android_deps": false
"download_android_deps": false,
"use_rbe": true
},
"gn": [
"--target-dir",
@@ -254,7 +318,10 @@
"--runtime-mode",
"release",
"--android",
"--android-cpu=x64"
"--android-cpu=x64",
"--rbe",
"--no-goma",
"--xcode-symlinks"
],
"name": "ci/android_release_x64",
"description": "Produces release mode artifacts to target x64 Android from a macOS host.",
@@ -265,6 +332,18 @@
"flutter/shell/platform/android:gen_snapshot"
]
},
"postsubmit_overrides": {
"gn": [
"--target-dir",
"ci/android_release_x64",
"--runtime-mode",
"release",
"--android",
"--android-cpu=x64",
"--no-rbe",
"--no-goma"
]
},
"properties": {
"$flutter/osx_sdk": {
"sdk_version": "15a240d"

View File

@@ -20,7 +20,8 @@
"mac_model=Macmini8,1"
],
"gclient_variables": {
"download_android_deps": false
"download_android_deps": false,
"use_rbe": true
},
"gn": [
"--target-dir",
@@ -30,7 +31,11 @@
"--no-lto",
"--prebuilt-dart-sdk",
"--build-embedder-examples",
"--use-glfw-swiftshader"
"--use-glfw-swiftshader",
"--rbe",
"--no-goma",
"--xcode-symlinks"
],
"name": "ci/host_debug",
"description": "Produces debug mode x64 macOS host-side tooling and builds host-side unit tests for x64 macOS.",
@@ -47,6 +52,20 @@
"flutter:unittests"
]
},
"postsubmit_overrides": {
"gn": [
"--target-dir",
"ci/host_debug",
"--runtime-mode",
"debug",
"--no-lto",
"--prebuilt-dart-sdk",
"--build-embedder-examples",
"--use-glfw-swiftshader",
"--no-rbe",
"--no-goma"
]
},
"properties": {
"$flutter/osx_sdk": {
"sdk_version": "15a240d"
@@ -86,7 +105,8 @@
"mac_model=Macmini8,1"
],
"gclient_variables": {
"download_android_deps": false
"download_android_deps": false,
"use_rbe": true
},
"gn": [
"--target-dir",
@@ -95,7 +115,10 @@
"profile",
"--no-lto",
"--prebuilt-dart-sdk",
"--build-embedder-examples"
"--build-embedder-examples",
"--rbe",
"--no-goma",
"--xcode-symlinks"
],
"name": "ci/host_profile",
"description": "Produces profile mode x64 macOS host-side tooling and builds host-side unit tests for x64 macOS.",
@@ -109,6 +132,19 @@
"flutter:unittests"
]
},
"postsubmit_overrides": {
"gn": [
"--target-dir",
"ci/host_profile",
"--runtime-mode",
"profile",
"--no-lto",
"--prebuilt-dart-sdk",
"--build-embedder-examples",
"--no-rbe",
"--no-goma"
]
},
"properties": {
"$flutter/osx_sdk": {
"sdk_version": "15a240d"
@@ -155,7 +191,8 @@
}
],
"gclient_variables": {
"download_android_deps": false
"download_android_deps": false,
"use_rbe": true
},
"gn": [
"--target-dir",
@@ -165,7 +202,10 @@
"--no-lto",
"--prebuilt-dart-sdk",
"--build-embedder-examples",
"--use-glfw-swiftshader"
"--use-glfw-swiftshader",
"--rbe",
"--no-goma",
"--xcode-symlinks"
],
"name": "ci/host_release",
"description": "Produces release mode x64 macOS host-side tooling and builds host-side unit tests for x64 macOS.",
@@ -181,6 +221,20 @@
"flutter:unittests"
]
},
"postsubmit_overrides": {
"gn": [
"--target-dir",
"ci/host_release",
"--runtime-mode",
"release",
"--no-lto",
"--prebuilt-dart-sdk",
"--build-embedder-examples",
"--use-glfw-swiftshader",
"--no-rbe",
"--no-goma"
]
},
"properties": {
"$flutter/osx_sdk": {
"sdk_version": "15a240d"
@@ -219,7 +273,8 @@
"cpu=x86"
],
"gclient_variables": {
"download_android_deps": false
"download_android_deps": false,
"use_rbe": true
},
"gn": [
"--target-dir",
@@ -230,7 +285,10 @@
"--runtime-mode",
"debug",
"--no-lto",
"--prebuilt-dart-sdk"
"--prebuilt-dart-sdk",
"--rbe",
"--no-goma",
"--xcode-symlinks"
],
"name": "ci/mac_debug_arm64",
"description": "Produces debug mode arm64 macOS host-side tooling.",
@@ -245,6 +303,21 @@
"flutter/shell/platform/darwin/macos:zip_macos_flutter_framework"
]
},
"postsubmit_overrides": {
"gn": [
"--target-dir",
"ci/mac_debug_arm64",
"--mac",
"--mac-cpu",
"arm64",
"--runtime-mode",
"debug",
"--no-lto",
"--prebuilt-dart-sdk",
"--no-rbe",
"--no-goma"
]
},
"properties": {
"$flutter/osx_sdk": {
"sdk_version": "15a240d"
@@ -269,7 +342,8 @@
"cpu=x86"
],
"gclient_variables": {
"download_android_deps": false
"download_android_deps": false,
"use_rbe": true
},
"gn": [
"--target-dir",
@@ -280,7 +354,10 @@
"--runtime-mode",
"profile",
"--no-lto",
"--prebuilt-dart-sdk"
"--prebuilt-dart-sdk",
"--rbe",
"--no-goma",
"--xcode-symlinks"
],
"name": "ci/mac_profile_arm64",
"description": "Produces profile mode arm64 macOS host-side tooling.",
@@ -291,6 +368,21 @@
"flutter/shell/platform/darwin/macos:zip_macos_flutter_framework"
]
},
"postsubmit_overrides": {
"gn": [
"--target-dir",
"ci/mac_profile_arm64",
"--mac",
"--mac-cpu",
"arm64",
"--runtime-mode",
"profile",
"--no-lto",
"--prebuilt-dart-sdk",
"--no-rbe",
"--no-goma"
]
},
"properties": {
"$flutter/osx_sdk": {
"sdk_version": "15a240d"
@@ -316,7 +408,8 @@
"cpu=x86"
],
"gclient_variables": {
"download_android_deps": false
"download_android_deps": false,
"use_rbe": true
},
"gn": [
"--target-dir",
@@ -327,7 +420,10 @@
"--runtime-mode",
"release",
"--no-lto",
"--prebuilt-dart-sdk"
"--prebuilt-dart-sdk",
"--rbe",
"--no-goma",
"--xcode-symlinks"
],
"name": "ci/mac_release_arm64",
"description": "Produces release mode arm64 macOS host-side tooling.",
@@ -339,6 +435,21 @@
"flutter/shell/platform/darwin/macos:zip_macos_flutter_framework"
]
},
"postsubmit_overrides": {
"gn": [
"--target-dir",
"ci/mac_release_arm64",
"--mac",
"--mac-cpu",
"arm64",
"--runtime-mode",
"release",
"--no-lto",
"--prebuilt-dart-sdk",
"--no-rbe",
"--no-goma"
]
},
"properties": {
"$flutter/osx_sdk": {
"sdk_version": "15a240d"

View File

@@ -6,6 +6,10 @@
"os=Mac-13",
"cpu=x86"
],
"gclient_variables": {
"download_android_deps": false,
"use_rbe": true
},
"gn": [
"--target-dir",
"ci/ios_debug_sim",
@@ -13,63 +17,27 @@
"--runtime-mode",
"debug",
"--simulator",
"--no-lto"
"--no-lto",
"--rbe",
"--no-goma",
"--xcode-symlinks"
],
"name": "ci/ios_debug_sim",
"description": "Produces debug mode artifacts to target the x64 iOS simulator.",
"ninja": {
"config": "ci/ios_debug_sim"
},
"properties": {
"$flutter/osx_sdk": {
"sdk_version": "15a240d"
}
}
},
{
"drone_dimensions": [
"device_type=none",
"os=Mac-13"
],
"gn": [
"--target-dir",
"ci/ios_debug_sim_arm64",
"--ios",
"--runtime-mode",
"debug",
"--simulator",
"--simulator-cpu=arm64",
"--no-lto"
],
"name": "ci/ios_debug_sim_arm64",
"description": "Produces debug mode artifacts to target the arm64 iOS simulator.",
"ninja": {
"config": "ci/ios_debug_sim_arm64"
},
"properties": {
"$flutter/osx_sdk": {
"sdk_version": "15a240d"
}
}
},
{
"drone_dimensions": [
"device_type=none",
"os=Mac-13"
],
"gn": [
"--target-dir",
"ci/ios_debug",
"--ios",
"--runtime-mode",
"debug"
],
"name": "ci/ios_debug",
"description": "Produces debug mode artifacts to target iOS.",
"ninja": {
"config": "ci/ios_debug",
"targets": [
"flutter/shell/platform/darwin/ios:flutter_framework"
"postsubmit_overrides": {
"gn": [
"--target-dir",
"ci/ios_debug_sim",
"--ios",
"--runtime-mode",
"debug",
"--simulator",
"--no-lto",
"--no-rbe",
"--no-goma"
]
},
"properties": {
@@ -83,12 +51,110 @@
"device_type=none",
"os=Mac-13"
],
"gclient_variables": {
"download_android_deps": false,
"use_rbe": true
},
"gn": [
"--target-dir",
"ci/ios_debug_sim_arm64",
"--ios",
"--runtime-mode",
"debug",
"--simulator",
"--simulator-cpu=arm64",
"--no-lto",
"--rbe",
"--no-goma",
"--xcode-symlinks"
],
"name": "ci/ios_debug_sim_arm64",
"description": "Produces debug mode artifacts to target the arm64 iOS simulator.",
"ninja": {
"config": "ci/ios_debug_sim_arm64"
},
"postsubmit_overrides": {
"gn": [
"--target-dir",
"ci/ios_debug_sim_arm64",
"--ios",
"--runtime-mode",
"debug",
"--simulator",
"--simulator-cpu=arm64",
"--no-lto",
"--no-rbe",
"--no-goma"
]
},
"properties": {
"$flutter/osx_sdk": {
"sdk_version": "15a240d"
}
}
},
{
"drone_dimensions": [
"device_type=none",
"os=Mac-13"
],
"gclient_variables": {
"download_android_deps": false,
"use_rbe": true
},
"gn": [
"--target-dir",
"ci/ios_debug",
"--ios",
"--runtime-mode",
"debug",
"--rbe",
"--no-goma",
"--xcode-symlinks"
],
"name": "ci/ios_debug",
"description": "Produces debug mode artifacts to target iOS.",
"ninja": {
"config": "ci/ios_debug",
"targets": [
"flutter/shell/platform/darwin/ios:flutter_framework"
]
},
"postsubmit_overrides": {
"gn": [
"--target-dir",
"ci/ios_debug",
"--ios",
"--runtime-mode",
"debug",
"--no-rbe",
"--no-goma"
]
},
"properties": {
"$flutter/osx_sdk": {
"sdk_version": "15a240d"
}
}
},
{
"drone_dimensions": [
"device_type=none",
"os=Mac-13"
],
"gclient_variables": {
"download_android_deps": false,
"use_rbe": true
},
"gn": [
"--target-dir",
"ci/ios_profile",
"--ios",
"--runtime-mode",
"profile"
"profile",
"--rbe",
"--no-goma",
"--xcode-symlinks"
],
"name": "ci/ios_profile",
"description": "Produces profile mode artifacts to target iOS.",
@@ -99,6 +165,17 @@
"flutter/lib/snapshot:generate_snapshot_bin"
]
},
"postsubmit_overrides": {
"gn": [
"--target-dir",
"ci/ios_profile",
"--ios",
"--runtime-mode",
"profile",
"--no-rbe",
"--no-goma"
]
},
"properties": {
"$flutter/osx_sdk": {
"sdk_version": "15a240d"
@@ -110,12 +187,19 @@
"device_type=none",
"os=Mac-13"
],
"gclient_variables": {
"download_android_deps": false,
"use_rbe": true
},
"gn": [
"--target-dir",
"ci/ios_release",
"--ios",
"--runtime-mode",
"release"
"release",
"--rbe",
"--no-goma",
"--xcode-symlinks"
],
"name": "ci/ios_release",
"description": "Produces release mode artifacts to target iOS.",
@@ -126,6 +210,17 @@
"flutter/lib/snapshot:generate_snapshot_bin"
]
},
"postsubmit_overrides": {
"gn": [
"--target-dir",
"ci/ios_release",
"--ios",
"--runtime-mode",
"release",
"--no-rbe",
"--no-goma"
]
},
"properties": {
"$flutter/osx_sdk": {
"sdk_version": "15a240d"
@@ -138,6 +233,10 @@
"os=Mac-13",
"cpu=x86"
],
"gclient_variables": {
"download_android_deps": false,
"use_rbe": true
},
"gn": [
"--target-dir",
"ci/ios_debug_sim_extension_safe",
@@ -146,65 +245,28 @@
"debug",
"--simulator",
"--no-lto",
"--darwin-extension-safe"
"--darwin-extension-safe",
"--rbe",
"--no-goma",
"--xcode-symlinks"
],
"name": "ci/ios_debug_sim_extension_safe",
"description": "Produces extension safe debug mode artifacts to target the x64 iOS simulator.",
"ninja": {
"config": "ci/ios_debug_sim_extension_safe"
},
"properties": {
"$flutter/osx_sdk": {
"sdk_version": "15a240d"
}
}
},
{
"drone_dimensions": [
"device_type=none",
"os=Mac-13"
],
"gn": [
"--target-dir",
"ci/ios_debug_sim_arm64_extension_safe",
"--ios",
"--runtime-mode",
"debug",
"--simulator",
"--simulator-cpu=arm64",
"--no-lto",
"--darwin-extension-safe"
],
"name": "ci/ios_debug_sim_arm64_extension_safe",
"description": "Produces extension safe debug mode artifacts to target the arm64 iOS simulator.",
"ninja": {
"config": "ci/ios_debug_sim_arm64_extension_safe"
},
"properties": {
"$flutter/osx_sdk": {
"sdk_version": "15a240d"
}
}
},
{
"drone_dimensions": [
"device_type=none",
"os=Mac-13"
],
"gn": [
"--target-dir",
"ci/ios_debug_extension_safe",
"--ios",
"--runtime-mode",
"debug",
"--darwin-extension-safe"
],
"name": "ci/ios_debug_extension_safe",
"description": "Produces extension safe debug mode artifacts to target iOS.",
"ninja": {
"config": "ci/ios_debug_extension_safe",
"targets": [
"flutter/shell/platform/darwin/ios:flutter_framework"
"postsubmit_overrides": {
"gn": [
"--target-dir",
"ci/ios_debug_sim_extension_safe",
"--ios",
"--runtime-mode",
"debug",
"--simulator",
"--no-lto",
"--darwin-extension-safe",
"--no-rbe",
"--no-goma"
]
},
"properties": {
@@ -218,13 +280,115 @@
"device_type=none",
"os=Mac-13"
],
"gclient_variables": {
"download_android_deps": false,
"use_rbe": true
},
"gn": [
"--target-dir",
"ci/ios_debug_sim_arm64_extension_safe",
"--ios",
"--runtime-mode",
"debug",
"--simulator",
"--simulator-cpu=arm64",
"--no-lto",
"--darwin-extension-safe",
"--rbe",
"--no-goma",
"--xcode-symlinks"
],
"name": "ci/ios_debug_sim_arm64_extension_safe",
"description": "Produces extension safe debug mode artifacts to target the arm64 iOS simulator.",
"ninja": {
"config": "ci/ios_debug_sim_arm64_extension_safe"
},
"postsubmit_overrides": {
"gn": [
"--target-dir",
"ci/ios_debug_sim_arm64_extension_safe",
"--ios",
"--runtime-mode",
"debug",
"--simulator",
"--simulator-cpu=arm64",
"--no-lto",
"--darwin-extension-safe",
"--no-rbe",
"--no-goma"
]
},
"properties": {
"$flutter/osx_sdk": {
"sdk_version": "15a240d"
}
}
},
{
"drone_dimensions": [
"device_type=none",
"os=Mac-13"
],
"gclient_variables": {
"download_android_deps": false,
"use_rbe": true
},
"gn": [
"--target-dir",
"ci/ios_debug_extension_safe",
"--ios",
"--runtime-mode",
"debug",
"--darwin-extension-safe",
"--rbe",
"--no-goma",
"--xcode-symlinks"
],
"name": "ci/ios_debug_extension_safe",
"description": "Produces extension safe debug mode artifacts to target iOS.",
"ninja": {
"config": "ci/ios_debug_extension_safe",
"targets": [
"flutter/shell/platform/darwin/ios:flutter_framework"
]
},
"postsubmit_overrides": {
"gn": [
"--target-dir",
"ci/ios_debug_extension_safe",
"--ios",
"--runtime-mode",
"debug",
"--darwin-extension-safe",
"--no-rbe",
"--no-goma"
]
},
"properties": {
"$flutter/osx_sdk": {
"sdk_version": "15a240d"
}
}
},
{
"drone_dimensions": [
"device_type=none",
"os=Mac-13"
],
"gclient_variables": {
"download_android_deps": false,
"use_rbe": true
},
"gn": [
"--target-dir",
"ci/ios_profile_extension_safe",
"--ios",
"--runtime-mode",
"profile",
"--darwin-extension-safe"
"--darwin-extension-safe",
"--rbe",
"--no-goma",
"--xcode-symlinks"
],
"name": "ci/ios_profile_extension_safe",
"description": "Produces extension safe profile mode artifacts to target iOS.",
@@ -235,6 +399,18 @@
"flutter/lib/snapshot:generate_snapshot_bin"
]
},
"postsubmit_overrides": {
"gn": [
"--target-dir",
"ci/ios_profile_extension_safe",
"--ios",
"--runtime-mode",
"profile",
"--darwin-extension-safe",
"--no-rbe",
"--no-goma"
]
},
"properties": {
"$flutter/osx_sdk": {
"sdk_version": "15a240d"
@@ -246,13 +422,20 @@
"device_type=none",
"os=Mac-13"
],
"gclient_variables": {
"download_android_deps": false,
"use_rbe": true
},
"gn": [
"--target-dir",
"ci/ios_release_extension_safe",
"--ios",
"--runtime-mode",
"release",
"--darwin-extension-safe"
"--darwin-extension-safe",
"--rbe",
"--no-goma",
"--xcode-symlinks"
],
"name": "ci/ios_release_extension_safe",
"description": "Produces extension safe release mode artifacts to target iOS.",
@@ -263,6 +446,18 @@
"flutter/lib/snapshot:generate_snapshot_bin"
]
},
"postsubmit_overrides": {
"gn": [
"--target-dir",
"ci/ios_release_extension_safe",
"--ios",
"--runtime-mode",
"release",
"--darwin-extension-safe",
"--no-rbe",
"--no-goma"
]
},
"properties": {
"$flutter/osx_sdk": {
"sdk_version": "15a240d"