| [ |
| { |
| "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": [ |
| "git", |
| "config", |
| "fetch.uriprotocols", |
| "https" |
| ], |
| "cwd": "[START_DIR]/binutils-gdb", |
| "infra_step": true, |
| "name": "binutils-gdb.set fetch.uriprotocols", |
| "~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": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "", |
| "[CACHE]/git/.GUARD_FILE" |
| ], |
| "cwd": "[CACHE]/git/gnu.googlesource.com-binutils--gdb", |
| "infra_step": true, |
| "name": "binutils-gdb.cache.write guard file", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_END@.GUARD_FILE@@@" |
| ] |
| }, |
| { |
| "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", |
| "fetch.uriprotocols", |
| "https" |
| ], |
| "cwd": "[CACHE]/git/gnu.googlesource.com-binutils--gdb", |
| "infra_step": true, |
| "name": "binutils-gdb.cache.set fetch.uriprotocols", |
| "~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.replace fetch configs", |
| "~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", |
| "remove", |
| "[CACHE]/git/.GUARD_FILE" |
| ], |
| "cwd": "[CACHE]/git/gnu.googlesource.com-binutils--gdb", |
| "infra_step": true, |
| "name": "binutils-gdb.cache.remove guard file", |
| "~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" |
| ], |
| "cwd": "[START_DIR]/binutils-gdb", |
| "infra_step": true, |
| "name": "binutils-gdb.git fetch", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "checkout", |
| "-f", |
| "3d861fdb826c2f5cf270dd5f585d0e6057e1bf4f" |
| ], |
| "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": [ |
| "git", |
| "config", |
| "fetch.uriprotocols", |
| "https" |
| ], |
| "cwd": "[START_DIR]/gcc", |
| "infra_step": true, |
| "name": "gcc.set fetch.uriprotocols", |
| "~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": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "", |
| "[CACHE]/git/.GUARD_FILE" |
| ], |
| "cwd": "[CACHE]/git/gnu.googlesource.com-gcc", |
| "infra_step": true, |
| "name": "gcc.cache.write guard file", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_END@.GUARD_FILE@@@" |
| ] |
| }, |
| { |
| "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", |
| "fetch.uriprotocols", |
| "https" |
| ], |
| "cwd": "[CACHE]/git/gnu.googlesource.com-gcc", |
| "infra_step": true, |
| "name": "gcc.cache.set fetch.uriprotocols", |
| "~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.replace fetch configs", |
| "~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", |
| "remove", |
| "[CACHE]/git/.GUARD_FILE" |
| ], |
| "cwd": "[CACHE]/git/gnu.googlesource.com-gcc", |
| "infra_step": true, |
| "name": "gcc.cache.remove guard file", |
| "~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", |
| "releases/gcc-10" |
| ], |
| "cwd": "[START_DIR]/gcc", |
| "infra_step": true, |
| "name": "gcc.git fetch", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "checkout", |
| "-f", |
| "FETCH_HEAD" |
| ], |
| "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} integration\nfuchsia/third_party/make/${platform} version:4.3\nfuchsia/third_party/libtool/${platform} version:2.4.6\nfuchsia/third_party/pkg-config/${platform} version:0.29.2\nfuchsia/third_party/bison/${platform} version:3.7\nfuchsia/third_party/flex/${platform} version:2.6.4\nfuchsia/third_party/m4/${platform} version:1.4.18", |
| "-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-version:3.7-----\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/third_party/bison/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-integration-----\", @@@", |
| "@@@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@ \"instance_id\": \"resolved-instance_id-of-version:2.6.4---\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/third_party/flex/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-version:2.4.6---\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/third_party/libtool/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-version:1.4.18--\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/third_party/m4/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-version:4.3-----\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/third_party/make/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-version:0.29.2--\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/third_party/pkg-config/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": "ensure XCode 12b5025f" |
| }, |
| { |
| "cmd": [], |
| "name": "ensure XCode 12b5025f.install infra/tools/mac_toolchain", |
| "~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/mac_toolchain/git_revision%3Ae9b1fe29fe21a1cd36428c43ea2aba244bd31280" |
| ], |
| "infra_step": true, |
| "name": "ensure XCode 12b5025f.install infra/tools/mac_toolchain.ensure package directory", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[CACHE]/cipd/infra/tools/mac_toolchain/git_revision%3Ae9b1fe29fe21a1cd36428c43ea2aba244bd31280", |
| "-ensure-file", |
| "infra/tools/mac_toolchain/${platform} git_revision:e9b1fe29fe21a1cd36428c43ea2aba244bd31280", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "ensure XCode 12b5025f.install infra/tools/mac_toolchain.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:e9b\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/mac_toolchain/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/mac_toolchain/git_revision%3Ae9b1fe29fe21a1cd36428c43ea2aba244bd31280/mac_toolchain", |
| "install", |
| "-kind", |
| "mac", |
| "-xcode-version", |
| "12b5025f", |
| "-output-dir", |
| "[CACHE]/macos_sdk/XCode.app" |
| ], |
| "infra_step": true, |
| "name": "ensure XCode 12b5025f.install XCode 12b5025f", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "sudo", |
| "xcode-select", |
| "--switch", |
| "[CACHE]/macos_sdk/XCode.app" |
| ], |
| "infra_step": true, |
| "name": "ensure XCode 12b5025f.select XCode 12b5025f", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "xcrun", |
| "--sdk", |
| "macosx", |
| "--show-sdk-path" |
| ], |
| "name": "xcrun", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@raw_io.output[sdk-path]@/some/xcode/path@@@", |
| "@@@STEP_LOG_END@raw_io.output[sdk-path]@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "/usr/bin/ld", |
| "-v" |
| ], |
| "name": "/usr/bin/ld -v" |
| }, |
| { |
| "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", |
| "[START_DIR]/staging/gcc-darwin" |
| ], |
| "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\n [START_DIR]/cipd/bin/clang -no-canonical-prefixes --sysroot=/some/xcode/path \"$@\"\n", |
| "[START_DIR]/staging/host-cc" |
| ], |
| "infra_step": true, |
| "name": "write host-cc script", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@host-cc@#!/bin/sh@@@", |
| "@@@STEP_LOG_LINE@host-cc@ [START_DIR]/cipd/bin/clang -no-canonical-prefixes --sysroot=/some/xcode/path \"$@\"@@@", |
| "@@@STEP_LOG_END@host-cc@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "chmod", |
| "+x", |
| "[START_DIR]/staging/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\nextra=(-nostdlib++ [START_DIR]/cipd/lib/libc++.a)\nfor arg; do\n case \"$arg\" in\n -[cE])\n extra=()\n break\n ;;\n esac\ndone\nexec [START_DIR]/cipd/bin/clang++ -no-canonical-prefixes --sysroot=/some/xcode/path \"$@\" \"${extra[@]}\"\n", |
| "[START_DIR]/staging/host-cxx" |
| ], |
| "infra_step": true, |
| "name": "write host-cxx script", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@host-cxx@#!/bin/sh@@@", |
| "@@@STEP_LOG_LINE@host-cxx@extra=(-nostdlib++ [START_DIR]/cipd/lib/libc++.a)@@@", |
| "@@@STEP_LOG_LINE@host-cxx@for arg; do@@@", |
| "@@@STEP_LOG_LINE@host-cxx@ case \"$arg\" in@@@", |
| "@@@STEP_LOG_LINE@host-cxx@ -[cE])@@@", |
| "@@@STEP_LOG_LINE@host-cxx@ extra=()@@@", |
| "@@@STEP_LOG_LINE@host-cxx@ break@@@", |
| "@@@STEP_LOG_LINE@host-cxx@ ;;@@@", |
| "@@@STEP_LOG_LINE@host-cxx@ esac@@@", |
| "@@@STEP_LOG_LINE@host-cxx@done@@@", |
| "@@@STEP_LOG_LINE@host-cxx@exec [START_DIR]/cipd/bin/clang++ -no-canonical-prefixes --sysroot=/some/xcode/path \"$@\" \"${extra[@]}\"@@@", |
| "@@@STEP_LOG_END@host-cxx@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "chmod", |
| "+x", |
| "[START_DIR]/staging/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", |
| "[START_DIR]/staging/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 */", |
| "[START_DIR]/staging/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": "aarch64 binutils" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/staging/binutils_aarch64_build_dir" |
| ], |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/cipd/bin" |
| ] |
| }, |
| "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 deadbeef", |
| "--enable-deterministic-archives", |
| "--enable-targets=arm-eabi", |
| "CC=[START_DIR]/staging/host-cc", |
| "CFLAGS=-O3", |
| "CXX=[START_DIR]/staging/host-cxx", |
| "CXXFLAGS=-O3", |
| "M4=[START_DIR]/cipd/bin/m4", |
| "--prefix=", |
| "--target=aarch64-elf", |
| "--enable-initfini-array", |
| "--enable-gold", |
| "--enable-plugins", |
| "--enable-threads", |
| "--disable-werror", |
| "--disable-nls", |
| "--with-included-gettext" |
| ], |
| "cwd": "[START_DIR]/staging/binutils_aarch64_build_dir", |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/cipd/bin" |
| ] |
| }, |
| "name": "aarch64 binutils.configure", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "make", |
| "-j8", |
| "MAKEOVERRIDES=editcc=-eb", |
| "all-binutils", |
| "all-gas", |
| "all-ld", |
| "all-gold" |
| ], |
| "cwd": "[START_DIR]/staging/binutils_aarch64_build_dir", |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/cipd/bin" |
| ] |
| }, |
| "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": "[START_DIR]/staging/binutils_aarch64_build_dir", |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/cipd/bin" |
| ] |
| }, |
| "name": "aarch64 binutils.test", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "make", |
| "-j1", |
| "DESTDIR=[START_DIR]/staging/gcc-darwin", |
| "MAKEOVERRIDES=editcc=-eb", |
| "install-strip-binutils", |
| "install-strip-gas", |
| "install-strip-ld", |
| "install-strip-gold" |
| ], |
| "cwd": "[START_DIR]/staging/binutils_aarch64_build_dir", |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/cipd/bin" |
| ] |
| }, |
| "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", |
| "[START_DIR]/staging/gcc_aarch64_build_dir" |
| ], |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/cipd/bin" |
| ] |
| }, |
| "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=[START_DIR]/staging/host-cc", |
| "CFLAGS=-O3", |
| "CXX=[START_DIR]/staging/host-cxx", |
| "CXXFLAGS=-O3", |
| "M4=[START_DIR]/cipd/bin/m4", |
| "--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": "[START_DIR]/staging/gcc_aarch64_build_dir", |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/staging/gcc-darwin/bin", |
| "[START_DIR]/cipd/bin" |
| ] |
| }, |
| "name": "aarch64 gcc.configure", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "/bin/sh", |
| "-c", |
| "make -j8 'MAKEOVERRIDES=USE_GCC_STDINT=provide LIMITS_H_TEST=true' 'CPPFLAGS_FOR_TARGET=-idirafter [START_DIR]/staging/mock-include' all-gcc all-target-libgcc 2>&1" |
| ], |
| "cwd": "[START_DIR]/staging/gcc_aarch64_build_dir", |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/staging/gcc-darwin/bin", |
| "[START_DIR]/cipd/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 -j1 'MAKEOVERRIDES=USE_GCC_STDINT=provide LIMITS_H_TEST=true' 'CPPFLAGS_FOR_TARGET=-idirafter [START_DIR]/staging/mock-include' 'DESTDIR=[START_DIR]/staging/gcc-darwin' install-strip-gcc install-strip-target-libgcc 2>&1" |
| ], |
| "cwd": "[START_DIR]/staging/gcc_aarch64_build_dir", |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/staging/gcc-darwin/bin", |
| "[START_DIR]/cipd/bin" |
| ] |
| }, |
| "name": "aarch64 gcc.install", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "x86_64 binutils", |
| "~followup_annotations": [ |
| "@@@STEP_FAILURE@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/staging/binutils_x86_64_build_dir" |
| ], |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/cipd/bin" |
| ] |
| }, |
| "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 deadbeef", |
| "--enable-deterministic-archives", |
| "--enable-targets=x86_64-pep", |
| "CC=[START_DIR]/staging/host-cc", |
| "CFLAGS=-O3", |
| "CXX=[START_DIR]/staging/host-cxx", |
| "CXXFLAGS=-O3", |
| "M4=[START_DIR]/cipd/bin/m4", |
| "--prefix=", |
| "--target=x86_64-elf", |
| "--enable-initfini-array", |
| "--enable-gold", |
| "--enable-plugins", |
| "--enable-threads", |
| "--disable-werror", |
| "--disable-nls", |
| "--with-included-gettext" |
| ], |
| "cwd": "[START_DIR]/staging/binutils_x86_64_build_dir", |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/cipd/bin" |
| ] |
| }, |
| "name": "x86_64 binutils.configure", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "make", |
| "-j8", |
| "MAKEOVERRIDES=editcc=-eb", |
| "all-binutils", |
| "all-gas", |
| "all-ld", |
| "all-gold" |
| ], |
| "cwd": "[START_DIR]/staging/binutils_x86_64_build_dir", |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/cipd/bin" |
| ] |
| }, |
| "name": "x86_64 binutils.build", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_FAILURE@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/staging/binutils_x86_64_build_dir/gas/config.log", |
| "/path/to/tmp/" |
| ], |
| "cwd": "[START_DIR]/staging/binutils_x86_64_build_dir", |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/cipd/bin" |
| ] |
| }, |
| "infra_step": true, |
| "name": "x86_64 binutils.gas/config.log", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_END@config.log@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/staging/binutils_x86_64_build_dir/binutils/config.log", |
| "/path/to/tmp/" |
| ], |
| "cwd": "[START_DIR]/staging/binutils_x86_64_build_dir", |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/cipd/bin" |
| ] |
| }, |
| "infra_step": true, |
| "name": "x86_64 binutils.binutils/config.log", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_END@config.log@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/staging/binutils_x86_64_build_dir/ld/config.log", |
| "/path/to/tmp/" |
| ], |
| "cwd": "[START_DIR]/staging/binutils_x86_64_build_dir", |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/cipd/bin" |
| ] |
| }, |
| "infra_step": true, |
| "name": "x86_64 binutils.ld/config.log", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_END@config.log@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/staging/binutils_x86_64_build_dir/gold/config.log", |
| "/path/to/tmp/" |
| ], |
| "cwd": "[START_DIR]/staging/binutils_x86_64_build_dir", |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/cipd/bin" |
| ] |
| }, |
| "infra_step": true, |
| "name": "x86_64 binutils.gold/config.log", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_END@config.log@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "x86_64 binutils.binutils build failure", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_END@ld@@@", |
| "@@@STEP_LOG_END@gas@@@", |
| "@@@STEP_LOG_END@gold@@@", |
| "@@@STEP_LOG_END@binutils@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "sudo", |
| "xcode-select", |
| "--reset" |
| ], |
| "infra_step": true, |
| "name": "reset XCode" |
| }, |
| { |
| "failure": { |
| "failure": {}, |
| "humanReason": "Step('x86_64 binutils.build') (retcode: 1)" |
| }, |
| "name": "$result" |
| } |
| ] |