blob: 0138b8f54d0773bd66853725e32fba1e10c87f3c [file] [log] [blame]
[
{
"cmd": [],
"name": "ensure goma"
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[CACHE]/goma/client",
"-ensure-file",
"fuchsia/third_party/goma/client/${platform} release",
"-max-threads",
"0",
"-json-output",
"/path/to/tmp/json"
],
"infra_step": true,
"name": "ensure goma.ensure_installed",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"result\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"\": [@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-release---------\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/third_party/goma/client/resolved-platform\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ ]@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [],
"name": "binutils-gdb"
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[START_DIR]/binutils-gdb"
],
"infra_step": true,
"name": "binutils-gdb.makedirs",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"init"
],
"cwd": "[START_DIR]/binutils-gdb",
"infra_step": true,
"name": "binutils-gdb.git init",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"remote",
"add",
"origin",
"https://gnu.googlesource.com/binutils-gdb"
],
"cwd": "[START_DIR]/binutils-gdb",
"infra_step": true,
"name": "binutils-gdb.git remote",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "binutils-gdb.cache",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[CACHE]/git/gnu.googlesource.com-binutils--gdb"
],
"cwd": "[START_DIR]/binutils-gdb",
"infra_step": true,
"name": "binutils-gdb.cache.makedirs",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"init",
"--bare"
],
"cwd": "[CACHE]/git/gnu.googlesource.com-binutils--gdb",
"infra_step": true,
"name": "binutils-gdb.cache.git init",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"config",
"remote.origin.url",
"https://gnu.googlesource.com/binutils-gdb"
],
"cwd": "[CACHE]/git/gnu.googlesource.com-binutils--gdb",
"infra_step": true,
"name": "binutils-gdb.cache.remote set-url",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"config",
"--replace-all",
"remote.origin.fetch",
"+refs/heads/*:refs/heads/*",
"\\+refs/heads/\\*:.*"
],
"cwd": "[CACHE]/git/gnu.googlesource.com-binutils--gdb",
"infra_step": true,
"name": "binutils-gdb.cache.git config",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"fetch",
"--prune",
"--tags",
"origin"
],
"cwd": "[CACHE]/git/gnu.googlesource.com-binutils--gdb",
"infra_step": true,
"name": "binutils-gdb.cache.git fetch",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[START_DIR]/binutils-gdb/.git/objects/info"
],
"cwd": "[START_DIR]/binutils-gdb",
"infra_step": true,
"name": "binutils-gdb.cache.makedirs object/info",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[CACHE]/git/gnu.googlesource.com-binutils--gdb/objects\n",
"[START_DIR]/binutils-gdb/.git/objects/info/alternates"
],
"cwd": "[START_DIR]/binutils-gdb",
"infra_step": true,
"name": "binutils-gdb.cache.alternates",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@alternates@[CACHE]/git/gnu.googlesource.com-binutils--gdb/objects@@@",
"@@@STEP_LOG_END@alternates@@@"
]
},
{
"cmd": [
"git",
"fetch",
"--tags",
"origin",
"master"
],
"cwd": "[START_DIR]/binutils-gdb",
"infra_step": true,
"name": "binutils-gdb.git fetch",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"checkout",
"-f",
"FETCH_HEAD"
],
"cwd": "[START_DIR]/binutils-gdb",
"infra_step": true,
"name": "binutils-gdb.git checkout",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"rev-parse",
"HEAD"
],
"cwd": "[START_DIR]/binutils-gdb",
"infra_step": true,
"name": "binutils-gdb.git rev-parse",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"clean",
"-f",
"-d",
"-x"
],
"cwd": "[START_DIR]/binutils-gdb",
"infra_step": true,
"name": "binutils-gdb.git clean",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "binutils-gdb.submodule",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"submodule",
"sync"
],
"cwd": "[START_DIR]/binutils-gdb",
"infra_step": true,
"name": "binutils-gdb.submodule.git submodule sync",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"submodule",
"update",
"--init"
],
"cwd": "[START_DIR]/binutils-gdb",
"infra_step": true,
"name": "binutils-gdb.submodule.git submodule update",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [],
"name": "gcc"
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[START_DIR]/gcc"
],
"infra_step": true,
"name": "gcc.makedirs",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"init"
],
"cwd": "[START_DIR]/gcc",
"infra_step": true,
"name": "gcc.git init",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"remote",
"add",
"origin",
"https://gnu.googlesource.com/gcc"
],
"cwd": "[START_DIR]/gcc",
"infra_step": true,
"name": "gcc.git remote",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "gcc.cache",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[CACHE]/git/gnu.googlesource.com-gcc"
],
"cwd": "[START_DIR]/gcc",
"infra_step": true,
"name": "gcc.cache.makedirs",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"init",
"--bare"
],
"cwd": "[CACHE]/git/gnu.googlesource.com-gcc",
"infra_step": true,
"name": "gcc.cache.git init",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"config",
"remote.origin.url",
"https://gnu.googlesource.com/gcc"
],
"cwd": "[CACHE]/git/gnu.googlesource.com-gcc",
"infra_step": true,
"name": "gcc.cache.remote set-url",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"config",
"--replace-all",
"remote.origin.fetch",
"+refs/heads/*:refs/heads/*",
"\\+refs/heads/\\*:.*"
],
"cwd": "[CACHE]/git/gnu.googlesource.com-gcc",
"infra_step": true,
"name": "gcc.cache.git config",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"fetch",
"--prune",
"--tags",
"origin"
],
"cwd": "[CACHE]/git/gnu.googlesource.com-gcc",
"infra_step": true,
"name": "gcc.cache.git fetch",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[START_DIR]/gcc/.git/objects/info"
],
"cwd": "[START_DIR]/gcc",
"infra_step": true,
"name": "gcc.cache.makedirs object/info",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[CACHE]/git/gnu.googlesource.com-gcc/objects\n",
"[START_DIR]/gcc/.git/objects/info/alternates"
],
"cwd": "[START_DIR]/gcc",
"infra_step": true,
"name": "gcc.cache.alternates",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@alternates@[CACHE]/git/gnu.googlesource.com-gcc/objects@@@",
"@@@STEP_LOG_END@alternates@@@"
]
},
{
"cmd": [
"git",
"fetch",
"--tags",
"origin"
],
"cwd": "[START_DIR]/gcc",
"infra_step": true,
"name": "gcc.git fetch",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"checkout",
"-f",
"4b5e15daff8b54440e3fda451c318ad31e532fab"
],
"cwd": "[START_DIR]/gcc",
"infra_step": true,
"name": "gcc.git checkout",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"rev-parse",
"HEAD"
],
"cwd": "[START_DIR]/gcc",
"infra_step": true,
"name": "gcc.git rev-parse",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"clean",
"-f",
"-d",
"-x"
],
"cwd": "[START_DIR]/gcc",
"infra_step": true,
"name": "gcc.git clean",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "gcc.submodule",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"submodule",
"sync"
],
"cwd": "[START_DIR]/gcc",
"infra_step": true,
"name": "gcc.submodule.git submodule sync",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"submodule",
"update",
"--init"
],
"cwd": "[START_DIR]/gcc",
"infra_step": true,
"name": "gcc.submodule.git submodule update",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [],
"name": "ensure_packages"
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[START_DIR]/cipd",
"-ensure-file",
"fuchsia/third_party/clang/${platform} goma\nfuchsia/sysroot/${platform} latest",
"-max-threads",
"0",
"-json-output",
"/path/to/tmp/json"
],
"infra_step": true,
"name": "ensure_packages.ensure_installed",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"result\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"\": [@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-latest----------\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/sysroot/resolved-platform\"@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-goma------------\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/third_party/clang/resolved-platform\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ ]@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [
"[START_DIR]/gcc/contrib/download_prerequisites"
],
"cwd": "[START_DIR]/gcc",
"name": "download prerequisites"
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[CLEANUP]/gcc_tmp_1/gcc-linux"
],
"infra_step": true,
"name": "create pkg dir"
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"#!/bin/sh\nexec [CACHE]/goma/client/gomacc [START_DIR]/cipd/bin/clang --sysroot=[START_DIR]/cipd \"$@\"\n",
"[CLEANUP]/gcc_tmp_1/host-cc"
],
"infra_step": true,
"name": "write host-cc script",
"~followup_annotations": [
"@@@STEP_LOG_LINE@host-cc@#!/bin/sh@@@",
"@@@STEP_LOG_LINE@host-cc@exec [CACHE]/goma/client/gomacc [START_DIR]/cipd/bin/clang --sysroot=[START_DIR]/cipd \"$@\"@@@",
"@@@STEP_LOG_END@host-cc@@@"
]
},
{
"cmd": [
"chmod",
"+x",
"[CLEANUP]/gcc_tmp_1/host-cc"
],
"name": "make host-cc executable"
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"#!/bin/sh\nexec [CACHE]/goma/client/gomacc [START_DIR]/cipd/bin/clang++ --sysroot=[START_DIR]/cipd \"$@\"\n",
"[CLEANUP]/gcc_tmp_1/host-cxx"
],
"infra_step": true,
"name": "write host-cxx script",
"~followup_annotations": [
"@@@STEP_LOG_LINE@host-cxx@#!/bin/sh@@@",
"@@@STEP_LOG_LINE@host-cxx@exec [CACHE]/goma/client/gomacc [START_DIR]/cipd/bin/clang++ --sysroot=[START_DIR]/cipd \"$@\"@@@",
"@@@STEP_LOG_END@host-cxx@@@"
]
},
{
"cmd": [
"chmod",
"+x",
"[CLEANUP]/gcc_tmp_1/host-cxx"
],
"name": "make host-cxx executable"
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[CLEANUP]/gcc_tmp_1/mock-include"
],
"infra_step": true,
"name": "create mock include dir"
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"/* dummy */",
"[CLEANUP]/gcc_tmp_1/mock-include/limits.h"
],
"infra_step": true,
"name": "write dummy <limits.h>",
"~followup_annotations": [
"@@@STEP_LOG_LINE@limits.h@/* dummy */@@@",
"@@@STEP_LOG_END@limits.h@@@"
]
},
{
"cmd": [],
"name": "pre_goma"
},
{
"cmd": [
"python",
"-u",
"[CACHE]/goma/client/goma_ctl.py",
"restart"
],
"env": {
"GLOG_log_dir": "[CLEANUP]",
"GOMA_CACHE_DIR": "[CACHE]/goma",
"GOMA_DEPS_CACHE_FILE": "goma_deps_cache",
"GOMA_DUMP_STATS_FILE": "[CACHE]/goma/client/goma_stats.json",
"GOMA_LOCAL_OUTPUT_CACHE_DIR": "[CACHE]/goma/localoutputcache",
"GOMA_SERVER_HOST": "rbe-prod1.endpoints.fuchsia-infra-goma-prod.cloud.goog",
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"infra_step": true,
"name": "pre_goma.start_goma",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "aarch64 binutils"
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[CLEANUP]/gcc_tmp_1/binutils_aarch64_build_dir"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"infra_step": true,
"name": "aarch64 binutils.create build dir",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[START_DIR]/binutils-gdb/configure",
"--with-pkgversion=https://gnu.googlesource.com/binutils-gdb 3d861fdb826c2f5cf270dd5f585d0e6057e1bf4f",
"--enable-deterministic-archives",
"--enable-targets=arm-eabi",
"CC=[CLEANUP]/gcc_tmp_1/host-cc",
"CFLAGS=-O3 -flto",
"CXX=[CLEANUP]/gcc_tmp_1/host-cxx",
"CXXFLAGS=-O3 -flto -static-libstdc++",
"--prefix=",
"--target=aarch64-elf",
"--enable-initfini-array",
"--enable-gold",
"--enable-plugins",
"--enable-threads",
"--disable-werror",
"--disable-nls",
"--with-included-gettext"
],
"cwd": "[CLEANUP]/gcc_tmp_1/binutils_aarch64_build_dir",
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"name": "aarch64 binutils.configure",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"make",
"-j80",
"MAKEOVERRIDES=editcc=-eb",
"all-binutils",
"all-gas",
"all-ld",
"all-gold"
],
"cwd": "[CLEANUP]/gcc_tmp_1/binutils_aarch64_build_dir",
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"name": "aarch64 binutils.build",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"make",
"-j8",
"-k",
"MAKEOVERRIDES=editcc=-eb",
"check-binutils",
"check-gas",
"check-ld",
"check-gold"
],
"cwd": "[CLEANUP]/gcc_tmp_1/binutils_aarch64_build_dir",
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"name": "aarch64 binutils.test",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"make",
"-j1",
"DESTDIR=[CLEANUP]/gcc_tmp_1/gcc-linux",
"MAKEOVERRIDES=editcc=-eb",
"install-strip-binutils",
"install-strip-gas",
"install-strip-ld",
"install-strip-gold"
],
"cwd": "[CLEANUP]/gcc_tmp_1/binutils_aarch64_build_dir",
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"name": "aarch64 binutils.install",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "aarch64 gcc"
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[CLEANUP]/gcc_tmp_1/gcc_aarch64_build_dir"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"infra_step": true,
"name": "aarch64 gcc.create build dir",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[START_DIR]/gcc/configure",
"--with-pkgversion=https://gnu.googlesource.com/gcc 4b5e15daff8b54440e3fda451c318ad31e532fab",
"--enable-languages=c,c++",
"--disable-libstdcxx",
"--disable-libssp",
"--disable-libquadmath",
"CC=[CLEANUP]/gcc_tmp_1/host-cc",
"CFLAGS=-O3 -flto",
"CXX=[CLEANUP]/gcc_tmp_1/host-cxx",
"CXXFLAGS=-O3 -flto -static-libstdc++",
"--prefix=",
"--target=aarch64-elf",
"--enable-initfini-array",
"--enable-gold",
"--enable-plugins",
"--enable-threads",
"--disable-werror",
"--disable-nls",
"--with-included-gettext",
"CFLAGS_FOR_TARGET=-g -O2 -ffixed-x18"
],
"cwd": "[CLEANUP]/gcc_tmp_1/gcc_aarch64_build_dir",
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"env_prefixes": {
"PATH": [
"[CLEANUP]/gcc_tmp_1/gcc-linux/bin"
]
},
"name": "aarch64 gcc.configure",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"/bin/sh",
"-c",
"make -j80 'MAKEOVERRIDES=USE_GCC_STDINT=provide LIMITS_H_TEST=true' 'CPPFLAGS_FOR_TARGET=-idirafter [CLEANUP]/gcc_tmp_1/mock-include' all-gcc all-target-libgcc 2>&1"
],
"cwd": "[CLEANUP]/gcc_tmp_1/gcc_aarch64_build_dir",
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"env_prefixes": {
"PATH": [
"[CLEANUP]/gcc_tmp_1/gcc-linux/bin"
]
},
"name": "aarch64 gcc.build",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_END@raw_io.output[aarch64 gcc build log]@@@"
]
},
{
"cmd": [
"/bin/sh",
"-c",
"make -j8 'MAKEOVERRIDES=USE_GCC_STDINT=provide LIMITS_H_TEST=true' 'CPPFLAGS_FOR_TARGET=-idirafter [CLEANUP]/gcc_tmp_1/mock-include' check-gcc 2>&1"
],
"cwd": "[CLEANUP]/gcc_tmp_1/gcc_aarch64_build_dir",
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"env_prefixes": {
"PATH": [
"[CLEANUP]/gcc_tmp_1/gcc-linux/bin"
]
},
"name": "aarch64 gcc.test",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[CLEANUP]/gcc_tmp_1/gcc_aarch64_build_dir/gcc/testsuite/gcc/gcc.log",
"/path/to/tmp/"
],
"cwd": "[CLEANUP]/gcc_tmp_1/gcc_aarch64_build_dir",
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"env_prefixes": {
"PATH": [
"[CLEANUP]/gcc_tmp_1/gcc-linux/bin"
]
},
"infra_step": true,
"name": "aarch64 gcc.gcc aarch64 gcc/testsuite/gcc/gcc.log",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_END@gcc.log@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[CLEANUP]/gcc_tmp_1/gcc_aarch64_build_dir/gcc/testsuite/g++/g++.log",
"/path/to/tmp/"
],
"cwd": "[CLEANUP]/gcc_tmp_1/gcc_aarch64_build_dir",
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"env_prefixes": {
"PATH": [
"[CLEANUP]/gcc_tmp_1/gcc-linux/bin"
]
},
"infra_step": true,
"name": "aarch64 gcc.gcc aarch64 gcc/testsuite/g++/g++.log",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_END@g++.log@@@"
]
},
{
"cmd": [],
"name": "aarch64 gcc.test logs",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_END@gcc.log@@@",
"@@@STEP_LOG_END@g++.log@@@"
]
},
{
"cmd": [
"/bin/sh",
"-c",
"make -j1 'MAKEOVERRIDES=USE_GCC_STDINT=provide LIMITS_H_TEST=true' 'CPPFLAGS_FOR_TARGET=-idirafter [CLEANUP]/gcc_tmp_1/mock-include' 'DESTDIR=[CLEANUP]/gcc_tmp_1/gcc-linux' install-strip-gcc install-strip-target-libgcc 2>&1"
],
"cwd": "[CLEANUP]/gcc_tmp_1/gcc_aarch64_build_dir",
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"env_prefixes": {
"PATH": [
"[CLEANUP]/gcc_tmp_1/gcc-linux/bin"
]
},
"name": "aarch64 gcc.install",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "x86_64 binutils"
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[CLEANUP]/gcc_tmp_1/binutils_x86_64_build_dir"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"infra_step": true,
"name": "x86_64 binutils.create build dir",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[START_DIR]/binutils-gdb/configure",
"--with-pkgversion=https://gnu.googlesource.com/binutils-gdb 3d861fdb826c2f5cf270dd5f585d0e6057e1bf4f",
"--enable-deterministic-archives",
"--enable-targets=x86_64-pep",
"CC=[CLEANUP]/gcc_tmp_1/host-cc",
"CFLAGS=-O3 -flto",
"CXX=[CLEANUP]/gcc_tmp_1/host-cxx",
"CXXFLAGS=-O3 -flto -static-libstdc++",
"--prefix=",
"--target=x86_64-elf",
"--enable-initfini-array",
"--enable-gold",
"--enable-plugins",
"--enable-threads",
"--disable-werror",
"--disable-nls",
"--with-included-gettext"
],
"cwd": "[CLEANUP]/gcc_tmp_1/binutils_x86_64_build_dir",
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"name": "x86_64 binutils.configure",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"make",
"-j80",
"MAKEOVERRIDES=editcc=-eb",
"all-binutils",
"all-gas",
"all-ld",
"all-gold"
],
"cwd": "[CLEANUP]/gcc_tmp_1/binutils_x86_64_build_dir",
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"name": "x86_64 binutils.build",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"make",
"-j8",
"-k",
"MAKEOVERRIDES=editcc=-eb",
"check-binutils",
"check-gas",
"check-ld",
"check-gold"
],
"cwd": "[CLEANUP]/gcc_tmp_1/binutils_x86_64_build_dir",
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"name": "x86_64 binutils.test",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"make",
"-j1",
"DESTDIR=[CLEANUP]/gcc_tmp_1/gcc-linux",
"MAKEOVERRIDES=editcc=-eb",
"install-strip-binutils",
"install-strip-gas",
"install-strip-ld",
"install-strip-gold"
],
"cwd": "[CLEANUP]/gcc_tmp_1/binutils_x86_64_build_dir",
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"name": "x86_64 binutils.install",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "x86_64 gcc"
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[CLEANUP]/gcc_tmp_1/gcc_x86_64_build_dir"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"infra_step": true,
"name": "x86_64 gcc.create build dir",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[START_DIR]/gcc/configure",
"--with-pkgversion=https://gnu.googlesource.com/gcc 4b5e15daff8b54440e3fda451c318ad31e532fab",
"--enable-languages=c,c++",
"--disable-libstdcxx",
"--disable-libssp",
"--disable-libquadmath",
"CC=[CLEANUP]/gcc_tmp_1/host-cc",
"CFLAGS=-O3 -flto",
"CXX=[CLEANUP]/gcc_tmp_1/host-cxx",
"CXXFLAGS=-O3 -flto -static-libstdc++",
"--prefix=",
"--target=x86_64-elf",
"--enable-initfini-array",
"--enable-gold",
"--enable-plugins",
"--enable-threads",
"--disable-werror",
"--disable-nls",
"--with-included-gettext"
],
"cwd": "[CLEANUP]/gcc_tmp_1/gcc_x86_64_build_dir",
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"env_prefixes": {
"PATH": [
"[CLEANUP]/gcc_tmp_1/gcc-linux/bin"
]
},
"name": "x86_64 gcc.configure",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"/bin/sh",
"-c",
"make -j80 'MAKEOVERRIDES=USE_GCC_STDINT=provide LIMITS_H_TEST=true' 'CPPFLAGS_FOR_TARGET=-idirafter [CLEANUP]/gcc_tmp_1/mock-include' all-gcc all-target-libgcc 2>&1"
],
"cwd": "[CLEANUP]/gcc_tmp_1/gcc_x86_64_build_dir",
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"env_prefixes": {
"PATH": [
"[CLEANUP]/gcc_tmp_1/gcc-linux/bin"
]
},
"name": "x86_64 gcc.build",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_END@raw_io.output[x86_64 gcc build log]@@@"
]
},
{
"cmd": [
"/bin/sh",
"-c",
"make -j8 'MAKEOVERRIDES=USE_GCC_STDINT=provide LIMITS_H_TEST=true' 'CPPFLAGS_FOR_TARGET=-idirafter [CLEANUP]/gcc_tmp_1/mock-include' check-gcc 2>&1"
],
"cwd": "[CLEANUP]/gcc_tmp_1/gcc_x86_64_build_dir",
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"env_prefixes": {
"PATH": [
"[CLEANUP]/gcc_tmp_1/gcc-linux/bin"
]
},
"name": "x86_64 gcc.test",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[CLEANUP]/gcc_tmp_1/gcc_x86_64_build_dir/gcc/testsuite/gcc/gcc.log",
"/path/to/tmp/"
],
"cwd": "[CLEANUP]/gcc_tmp_1/gcc_x86_64_build_dir",
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"env_prefixes": {
"PATH": [
"[CLEANUP]/gcc_tmp_1/gcc-linux/bin"
]
},
"infra_step": true,
"name": "x86_64 gcc.gcc x86_64 gcc/testsuite/gcc/gcc.log",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_END@gcc.log@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[CLEANUP]/gcc_tmp_1/gcc_x86_64_build_dir/gcc/testsuite/g++/g++.log",
"/path/to/tmp/"
],
"cwd": "[CLEANUP]/gcc_tmp_1/gcc_x86_64_build_dir",
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"env_prefixes": {
"PATH": [
"[CLEANUP]/gcc_tmp_1/gcc-linux/bin"
]
},
"infra_step": true,
"name": "x86_64 gcc.gcc x86_64 gcc/testsuite/g++/g++.log",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_END@g++.log@@@"
]
},
{
"cmd": [],
"name": "x86_64 gcc.test logs",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_END@gcc.log@@@",
"@@@STEP_LOG_END@g++.log@@@"
]
},
{
"cmd": [
"/bin/sh",
"-c",
"make -j1 'MAKEOVERRIDES=USE_GCC_STDINT=provide LIMITS_H_TEST=true' 'CPPFLAGS_FOR_TARGET=-idirafter [CLEANUP]/gcc_tmp_1/mock-include' 'DESTDIR=[CLEANUP]/gcc_tmp_1/gcc-linux' install-strip-gcc install-strip-target-libgcc 2>&1"
],
"cwd": "[CLEANUP]/gcc_tmp_1/gcc_x86_64_build_dir",
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"env_prefixes": {
"PATH": [
"[CLEANUP]/gcc_tmp_1/gcc-linux/bin"
]
},
"name": "x86_64 gcc.install",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "post_goma"
},
{
"cmd": [
"python",
"-u",
"[CACHE]/goma/client/goma_ctl.py",
"jsonstatus",
"[CACHE]/goma/client/jsonstatus"
],
"env": {
"GLOG_log_dir": "[CLEANUP]",
"GOMA_CACHE_DIR": "[CACHE]/goma",
"GOMA_DEPS_CACHE_FILE": "goma_deps_cache",
"GOMA_DUMP_STATS_FILE": "[CACHE]/goma/client/goma_stats.json",
"GOMA_LOCAL_OUTPUT_CACHE_DIR": "[CACHE]/goma/localoutputcache",
"GOMA_SERVER_HOST": "rbe-prod1.endpoints.fuchsia-infra-goma-prod.cloud.goog",
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"name": "post_goma.goma_jsonstatus",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"notice\": [@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"infra_status\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"num_user_error\": 0, @@@",
"@@@STEP_LOG_LINE@json.output@ \"ping_status_code\": 200@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ ]@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [
"python",
"-u",
"[CACHE]/goma/client/goma_ctl.py",
"stat"
],
"env": {
"GLOG_log_dir": "[CLEANUP]",
"GOMA_CACHE_DIR": "[CACHE]/goma",
"GOMA_DEPS_CACHE_FILE": "goma_deps_cache",
"GOMA_DUMP_STATS_FILE": "[CACHE]/goma/client/goma_stats.json",
"GOMA_LOCAL_OUTPUT_CACHE_DIR": "[CACHE]/goma/localoutputcache",
"GOMA_SERVER_HOST": "rbe-prod1.endpoints.fuchsia-infra-goma-prod.cloud.goog",
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"name": "post_goma.goma_stats",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"python",
"-u",
"[CACHE]/goma/client/goma_ctl.py",
"stop"
],
"env": {
"GLOG_log_dir": "[CLEANUP]",
"GOMA_CACHE_DIR": "[CACHE]/goma",
"GOMA_DEPS_CACHE_FILE": "goma_deps_cache",
"GOMA_DUMP_STATS_FILE": "[CACHE]/goma/client/goma_stats.json",
"GOMA_LOCAL_OUTPUT_CACHE_DIR": "[CACHE]/goma/localoutputcache",
"GOMA_SERVER_HOST": "rbe-prod1.endpoints.fuchsia-infra-goma-prod.cloud.goog",
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"name": "post_goma.stop_goma",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[CLEANUP]/compiler_proxy.WARNING",
"/path/to/tmp/"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"infra_step": true,
"name": "post_goma.read goma_client warning log",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@compiler_proxy.WARNING@test log@@@",
"@@@STEP_LOG_END@compiler_proxy.WARNING@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[CACHE]/goma/client/goma_stats.json",
"/path/to/tmp/"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"infra_step": true,
"name": "post_goma.read goma_stats.json",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@goma_stats.json@{}@@@",
"@@@STEP_LOG_END@goma_stats.json@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"{\"build_info\": {\"build_id\": 8945511751514863184, \"builder\": \"builder\", \"time_stamp\": \"2012-05-14 12:53:21.500000\", \"time_stamp_int\": 1337000003000}}",
"[CACHE]/goma/client/goma_stats.json"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"infra_step": true,
"name": "post_goma.write goma_stats.json",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@goma_stats.json@{\"build_info\": {\"build_id\": 8945511751514863184, \"builder\": \"builder\", \"time_stamp\": \"2012-05-14 12:53:21.500000\", \"time_stamp_int\": 1337000003000}}@@@",
"@@@STEP_LOG_END@goma_stats.json@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"build_info\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"build_id\": 8945511751514863184, @@@",
"@@@STEP_LOG_LINE@json.output@ \"builder\": \"builder\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"time_stamp\": \"2012-05-14 12:53:21.500000\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"time_stamp_int\": 1337000003000@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [],
"name": "post_goma.ensure bqupload",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[START_DIR]/cipd/bqupload",
"-ensure-file",
"infra/tools/bqupload/${platform} git_revision:d85fe78f303c3e969f815121e17c8b08868039ef",
"-max-threads",
"0",
"-json-output",
"/path/to/tmp/json"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"infra_step": true,
"name": "post_goma.ensure bqupload.ensure_installed",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"result\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"\": [@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-git_revision:d85\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/bqupload/resolved-platform\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ ]@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [
"[START_DIR]/cipd/bqupload/bqupload",
"fuchsia-infra.artifacts.builds_beta_goma",
"[CACHE]/goma/client/goma_stats.json"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"name": "post_goma.upload goma_stats_to BQ: fuchsia-infra/artifacts/builds_beta_goma",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[START_DIR]/binutils-gdb/bfd/version.m4",
"/path/to/tmp/"
],
"infra_step": true,
"name": "binutils version",
"~followup_annotations": [
"@@@STEP_LOG_LINE@version.m4@m4_define([BFD_VERSION], [2.27.0])@@@",
"@@@STEP_LOG_END@version.m4@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[START_DIR]/gcc/gcc/BASE-VER",
"/path/to/tmp/"
],
"infra_step": true,
"name": "gcc version",
"~followup_annotations": [
"@@@STEP_LOG_END@BASE-VER@@@"
]
},
{
"cmd": [],
"name": "isolated",
"~followup_annotations": [
"@@@SET_BUILD_PROPERTY@isolated@\"[dummy hash]\"@@@"
]
},
{
"cmd": [],
"name": "isolated.install infra/tools/luci/isolated",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[CACHE]/cipd/infra/tools/luci/isolated/isolated_module_pin"
],
"infra_step": true,
"name": "isolated.install infra/tools/luci/isolated.ensure package directory",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[CACHE]/cipd/infra/tools/luci/isolated/isolated_module_pin",
"-ensure-file",
"infra/tools/luci/isolated/${platform} isolated_module_pin",
"-max-threads",
"0",
"-json-output",
"/path/to/tmp/json"
],
"infra_step": true,
"name": "isolated.install infra/tools/luci/isolated.ensure_installed",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"result\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"\": [@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-isolated_module_\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/luci/isolated/resolved-platform\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ ]@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [
"[CACHE]/cipd/infra/tools/luci/isolated/isolated_module_pin/isolated",
"archive",
"-verbose",
"-isolate-server",
"https://example.isolateserver.appspot.com",
"-namespace",
"default-gzip",
"-dump-hash",
"/path/to/tmp/",
"-dirs",
"[CLEANUP]/gcc_tmp_1/gcc-linux:."
],
"infra_step": true,
"name": "isolated.isolate",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LINK@isolated UI@https://example.isolateserver.appspot.com/browse?namespace=default-gzip&hash=%5Bdummy+hash%5D@@@"
]
},
{
"cmd": [],
"name": "install infra/tools/luci/gitiles"
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[CACHE]/cipd/infra/tools/luci/gitiles/latest"
],
"infra_step": true,
"name": "install infra/tools/luci/gitiles.ensure package directory",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[CACHE]/cipd/infra/tools/luci/gitiles/latest",
"-ensure-file",
"infra/tools/luci/gitiles/${platform} latest",
"-max-threads",
"0",
"-json-output",
"/path/to/tmp/json"
],
"infra_step": true,
"name": "install infra/tools/luci/gitiles.ensure_installed",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"result\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"\": [@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-latest----------\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/luci/gitiles/resolved-platform\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ ]@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [
"[CACHE]/cipd/infra/tools/luci/gitiles/latest/gitiles",
"refs",
"-json-output",
"/path/to/tmp/json",
"https://fuchsia.googlesource.com/fuchsia",
"refs"
],
"name": "refs",
"~followup_annotations": [
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"refs/heads/master\": \"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\"@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [
"prpc",
"call",
"-format=json",
"luci-scheduler.appspot.com",
"scheduler.Scheduler.EmitTriggers"
],
"infra_step": true,
"name": "luci-scheduler.EmitTriggers",
"stdin": "{\"batches\": [{\"jobs\": [{\"job\": \"gcc_toolchain.bringup.arm64-gcc-qemu_kvm\", \"project\": \"fuchsia\"}, {\"job\": \"gcc_toolchain.bringup.x64-gcc-qemu_kvm\", \"project\": \"fuchsia\"}, {\"job\": \"gcc_toolchain.zbi_tests-arm64-gcc\", \"project\": \"fuchsia\"}, {\"job\": \"gcc_toolchain.zbi_tests-x64-gcc\", \"project\": \"fuchsia\"}], \"trigger\": {\"buildbucket\": {\"properties\": {\"build.gcc_toolchain\": {\"instance\": \"[dummy hash]\", \"type\": \"isolated\"}, \"checkout.buildset\": \"commit/gitiles/fuchsia.googlesource.com/fuchsia/+/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\", \"gcc_toolchain\": {\"git_repository\": \"https://gnu.googlesource.com/gcc,https://gnu.googlesource.com/binutils-gdb\", \"git_revision\": \"4b5e15daff8b54440e3fda451c318ad31e532fab,3d861fdb826c2f5cf270dd5f585d0e6057e1bf4f\"}}, \"tags\": [\"buildset:commit/gitiles/gnu.googlesource.com/gcc/+/4b5e15daff8b54440e3fda451c318ad31e532fab\", \"gitiles_ref:refs/heads/master\", \"parent_buildername:builder\", \"user_agent:recipe\"]}, \"id\": \"6a0a73b0-070b-492b-9135-9f26a2a00001\", \"title\": \"builder/0\"}}], \"timestamp\": 1337000004500000}",
"~followup_annotations": [
"@@@STEP_LOG_LINE@input@{@@@",
"@@@STEP_LOG_LINE@input@ \"batches\": [@@@",
"@@@STEP_LOG_LINE@input@ {@@@",
"@@@STEP_LOG_LINE@input@ \"jobs\": [@@@",
"@@@STEP_LOG_LINE@input@ {@@@",
"@@@STEP_LOG_LINE@input@ \"job\": \"gcc_toolchain.bringup.arm64-gcc-qemu_kvm\", @@@",
"@@@STEP_LOG_LINE@input@ \"project\": \"fuchsia\"@@@",
"@@@STEP_LOG_LINE@input@ }, @@@",
"@@@STEP_LOG_LINE@input@ {@@@",
"@@@STEP_LOG_LINE@input@ \"job\": \"gcc_toolchain.bringup.x64-gcc-qemu_kvm\", @@@",
"@@@STEP_LOG_LINE@input@ \"project\": \"fuchsia\"@@@",
"@@@STEP_LOG_LINE@input@ }, @@@",
"@@@STEP_LOG_LINE@input@ {@@@",
"@@@STEP_LOG_LINE@input@ \"job\": \"gcc_toolchain.zbi_tests-arm64-gcc\", @@@",
"@@@STEP_LOG_LINE@input@ \"project\": \"fuchsia\"@@@",
"@@@STEP_LOG_LINE@input@ }, @@@",
"@@@STEP_LOG_LINE@input@ {@@@",
"@@@STEP_LOG_LINE@input@ \"job\": \"gcc_toolchain.zbi_tests-x64-gcc\", @@@",
"@@@STEP_LOG_LINE@input@ \"project\": \"fuchsia\"@@@",
"@@@STEP_LOG_LINE@input@ }@@@",
"@@@STEP_LOG_LINE@input@ ], @@@",
"@@@STEP_LOG_LINE@input@ \"trigger\": {@@@",
"@@@STEP_LOG_LINE@input@ \"buildbucket\": {@@@",
"@@@STEP_LOG_LINE@input@ \"properties\": {@@@",
"@@@STEP_LOG_LINE@input@ \"build.gcc_toolchain\": {@@@",
"@@@STEP_LOG_LINE@input@ \"instance\": \"[dummy hash]\", @@@",
"@@@STEP_LOG_LINE@input@ \"type\": \"isolated\"@@@",
"@@@STEP_LOG_LINE@input@ }, @@@",
"@@@STEP_LOG_LINE@input@ \"checkout.buildset\": \"commit/gitiles/fuchsia.googlesource.com/fuchsia/+/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\", @@@",
"@@@STEP_LOG_LINE@input@ \"gcc_toolchain\": {@@@",
"@@@STEP_LOG_LINE@input@ \"git_repository\": \"https://gnu.googlesource.com/gcc,https://gnu.googlesource.com/binutils-gdb\", @@@",
"@@@STEP_LOG_LINE@input@ \"git_revision\": \"4b5e15daff8b54440e3fda451c318ad31e532fab,3d861fdb826c2f5cf270dd5f585d0e6057e1bf4f\"@@@",
"@@@STEP_LOG_LINE@input@ }@@@",
"@@@STEP_LOG_LINE@input@ }, @@@",
"@@@STEP_LOG_LINE@input@ \"tags\": [@@@",
"@@@STEP_LOG_LINE@input@ \"buildset:commit/gitiles/gnu.googlesource.com/gcc/+/4b5e15daff8b54440e3fda451c318ad31e532fab\", @@@",
"@@@STEP_LOG_LINE@input@ \"gitiles_ref:refs/heads/master\", @@@",
"@@@STEP_LOG_LINE@input@ \"parent_buildername:builder\", @@@",
"@@@STEP_LOG_LINE@input@ \"user_agent:recipe\"@@@",
"@@@STEP_LOG_LINE@input@ ]@@@",
"@@@STEP_LOG_LINE@input@ }, @@@",
"@@@STEP_LOG_LINE@input@ \"id\": \"6a0a73b0-070b-492b-9135-9f26a2a00001\", @@@",
"@@@STEP_LOG_LINE@input@ \"title\": \"builder/0\"@@@",
"@@@STEP_LOG_LINE@input@ }@@@",
"@@@STEP_LOG_LINE@input@ }@@@",
"@@@STEP_LOG_LINE@input@ ], @@@",
"@@@STEP_LOG_LINE@input@ \"timestamp\": 1337000004500000@@@",
"@@@STEP_LOG_LINE@input@}@@@",
"@@@STEP_LOG_END@input@@@"
]
},
{
"name": "$result"
}
]