Skip to content

Consider if allowed: [ ... ] for et build help is too noisy #156355

@matanlurey

Description

@matanlurey

At HEAD, --config takes up a lot of a real estate:

% et help build
Builds the engine
et build //flutter/fml/...             # Build all targets in `//flutter/fml` and its
subdirectories.
et build //flutter/fml:all             # Build all targets in `//flutter/fml`.
et build //flutter/fml:fml_benchmarks  # Build a specific target in `//flutter/fml`.


Usage: et build [arguments]
-h, --help                               Print this usage information.
-c, --config                             Specify the build config to use. Run "et help build
                                         --verbose" to see the full list of runnable configurations.

          [android_debug_arm64]          Builds a debug mode engine that targets 64-bit arm Android
                                         from a macOS host.
          [android_debug_unopt_arm64]    Builds a debug mode unopt engine that targets 64-bit arm
                                         Android from a macOS host.
          [android_profile_arm64]        Builds a profile mode engine that targets 64-bit arm
                                         Android from a macOS host.
          [android_release_arm64]        Builds a release mode engine that targets 64-bit arm
                                         Android from a macOS host.
          [host_debug] (default)         Builds a debug mode engine for a macOS host.
          [host_debug_unopt_arm64]       Builds a debug mode engine for a macOS host on arm64.
          [host_profile]                 Builds a profile mode engine for a macOS host.
          [host_profile_arm64]           Builds a profile mode engine for a macOS host on arm64.
          [host_release]                 Builds a release mode engine for a macOS host.
          [host_release_arm64]           Builds a release mode engine for a macOS host on arm64.
          [ios_debug]                    Builds a debug mode engine that targets iOS from a macOS
                                         host.
          [ios_debug_sim]                Builds a debug mode engine that targets the x64 iOS
                                         simulator from a macOS host.
          [ios_debug_sim_unopt_arm64]    Builds an unoptimized debug mode engine that targets the
                                         arm64 iOS simulator from a macOS host.
          [ios_debug_unopt]              Builds an unoptimized debug mode engine that targets iOS
                                         from a macOS host.
          [ios_profile]                  Builds a profile mode engine that targets iOS from a macOS
                                         host.
          [ios_release]                  Builds a release mode engine that targets iOS from a macOS
                                         host.

-j, --concurrency                        Specify the concurrency level to use for the ninja build.
                                         (defaults to "0")
    --[no-]rbe                           RBE is enabled by default when available.
                                         (defaults to on)
    --build-strategy                     
          [auto] (default)               If RBE is enabled, use remote builds, otherwise fallback to
                                         local builds.
          [local]                        Use local builds regardless of RBE being enabled.
          [remote]                       Use RBE builds, and fail if they are not available instead
                                         of falling back.

    --[no-]lto                           Whether LTO should be enabled for a build. Default is
                                         disabled

This is legitimately useful information though, so I'm conflicted on what to do.

Metadata

Metadata

Assignees

Labels

P3Issues that are less important to the Flutter projecte: engine-toolEngine-specific tooling (i.e. `tools/engine_tool`).team-engineOwned by Engine teamtriaged-engineTriaged by Engine team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions