| [ |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/cipd", |
| "-ensure-file", |
| "fuchsia/third_party/clang/${platform} integration\nfuchsia/third_party/autoconf/${platform} version:2.69\nfuchsia/third_party/automake/${platform} version:1.16.2\nfuchsia/third_party/bison/${platform} version:3.7\nfuchsia/third_party/libtool/${platform} version:2.4.6\nfuchsia/third_party/m4/${platform} version:1.4.18\nfuchsia/third_party/make/${platform} version:4.3", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "ensure_installed", |
| "~followup_annotations": [ |
| "@@@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:2.69----\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/third_party/autoconf/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.16.2--\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/third_party/automake/resolved-platform\"@@@", |
| "@@@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.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@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/jq" |
| ], |
| "infra_step": true, |
| "name": "checkout.makedirs", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "init" |
| ], |
| "cwd": "[START_DIR]/jq", |
| "infra_step": true, |
| "name": "checkout.git init", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "remote", |
| "add", |
| "origin", |
| "https://fuchsia.googlesource.com/third_party/github.com/stedolan/jq" |
| ], |
| "cwd": "[START_DIR]/jq", |
| "infra_step": true, |
| "name": "checkout.git remote", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "fetch.uriprotocols", |
| "https" |
| ], |
| "cwd": "[START_DIR]/jq", |
| "infra_step": true, |
| "name": "checkout.set fetch.uriprotocols", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout.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/fuchsia.googlesource.com-third_party-github.com-stedolan-jq" |
| ], |
| "cwd": "[START_DIR]/jq", |
| "infra_step": true, |
| "name": "checkout.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/fuchsia.googlesource.com-third_party-github.com-stedolan-jq", |
| "infra_step": true, |
| "name": "checkout.cache.write guard file", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_END@.GUARD_FILE@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "init", |
| "--bare" |
| ], |
| "cwd": "[CACHE]/git/fuchsia.googlesource.com-third_party-github.com-stedolan-jq", |
| "infra_step": true, |
| "name": "checkout.cache.git init", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "remote.origin.url", |
| "https://fuchsia.googlesource.com/third_party/github.com/stedolan/jq" |
| ], |
| "cwd": "[CACHE]/git/fuchsia.googlesource.com-third_party-github.com-stedolan-jq", |
| "infra_step": true, |
| "name": "checkout.cache.remote set-url", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "fetch.uriprotocols", |
| "https" |
| ], |
| "cwd": "[CACHE]/git/fuchsia.googlesource.com-third_party-github.com-stedolan-jq", |
| "infra_step": true, |
| "name": "checkout.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/fuchsia.googlesource.com-third_party-github.com-stedolan-jq", |
| "infra_step": true, |
| "name": "checkout.cache.replace fetch configs", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "--prune", |
| "--tags", |
| "origin" |
| ], |
| "cwd": "[CACHE]/git/fuchsia.googlesource.com-third_party-github.com-stedolan-jq", |
| "infra_step": true, |
| "name": "checkout.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/fuchsia.googlesource.com-third_party-github.com-stedolan-jq", |
| "infra_step": true, |
| "name": "checkout.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]/jq/.git/objects/info" |
| ], |
| "cwd": "[START_DIR]/jq", |
| "infra_step": true, |
| "name": "checkout.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/fuchsia.googlesource.com-third_party-github.com-stedolan-jq/objects\n", |
| "[START_DIR]/jq/.git/objects/info/alternates" |
| ], |
| "cwd": "[START_DIR]/jq", |
| "infra_step": true, |
| "name": "checkout.cache.alternates", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@alternates@[CACHE]/git/fuchsia.googlesource.com-third_party-github.com-stedolan-jq/objects@@@", |
| "@@@STEP_LOG_END@alternates@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "--tags", |
| "origin", |
| "--recurse-submodules" |
| ], |
| "cwd": "[START_DIR]/jq", |
| "infra_step": true, |
| "name": "checkout.git fetch", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "checkout", |
| "-f", |
| "a17dd3248a666d01be75f6b16be37e80e20b0954" |
| ], |
| "cwd": "[START_DIR]/jq", |
| "infra_step": true, |
| "name": "checkout.git checkout", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rev-parse", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]/jq", |
| "infra_step": true, |
| "name": "checkout.git rev-parse", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "clean", |
| "-f", |
| "-d", |
| "-x" |
| ], |
| "cwd": "[START_DIR]/jq", |
| "infra_step": true, |
| "name": "checkout.git clean", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout.submodule", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "sync" |
| ], |
| "cwd": "[START_DIR]/jq", |
| "infra_step": true, |
| "name": "checkout.submodule.git submodule sync", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "update", |
| "--init", |
| "--recursive" |
| ], |
| "cwd": "[START_DIR]/jq", |
| "infra_step": true, |
| "name": "checkout.submodule.git submodule update", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "autoreconf", |
| "--verbose", |
| "--install", |
| "--force" |
| ], |
| "cwd": "[START_DIR]/jq", |
| "env": { |
| "M4": "[START_DIR]/cipd/bin/m4" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/cipd/bin" |
| ] |
| }, |
| "name": "autoreconf" |
| }, |
| { |
| "cmd": [ |
| "xcrun", |
| "--sdk", |
| "macosx", |
| "--show-sdk-path" |
| ], |
| "cwd": "[START_DIR]/jq", |
| "env": { |
| "M4": "[START_DIR]/cipd/bin/m4" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/cipd/bin" |
| ] |
| }, |
| "name": "xcrun", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@raw_io.output[sdk-path]@/some/xcode/path@@@", |
| "@@@STEP_LOG_END@raw_io.output[sdk-path]@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "./configure", |
| "--with-oniguruma=builtin", |
| "--prefix=", |
| "--disable-dependency-tracking", |
| "--disable-shared", |
| "--enable-all-static", |
| "CC=clang", |
| "CFLAGS=--sysroot=/some/xcode/path -O3", |
| "CPPFLAGS=--sysroot=/some/xcode/path -O3", |
| "CXX=clang++", |
| "CXXFLAGS=--sysroot=/some/xcode/path -O3", |
| "LDFLAGS=--sysroot=/some/xcode/path -O3" |
| ], |
| "cwd": "[START_DIR]/jq", |
| "env": { |
| "M4": "[START_DIR]/cipd/bin/m4" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/cipd/bin" |
| ] |
| }, |
| "name": "configure" |
| }, |
| { |
| "cmd": [ |
| "make", |
| "-j8" |
| ], |
| "cwd": "[START_DIR]/jq", |
| "env": { |
| "M4": "[START_DIR]/cipd/bin/m4" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/cipd/bin" |
| ] |
| }, |
| "name": "make" |
| }, |
| { |
| "cmd": [ |
| "make", |
| "check" |
| ], |
| "cwd": "[START_DIR]/jq", |
| "env": { |
| "M4": "[START_DIR]/cipd/bin/m4" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/cipd/bin" |
| ] |
| }, |
| "name": "make check" |
| }, |
| { |
| "cmd": [ |
| "make", |
| "install", |
| "DESTDIR=[START_DIR]/install" |
| ], |
| "cwd": "[START_DIR]/jq", |
| "env": { |
| "M4": "[START_DIR]/cipd/bin/m4" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/cipd/bin" |
| ] |
| }, |
| "name": "make install" |
| }, |
| { |
| "cmd": [], |
| "name": "cipd" |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "pkg-build", |
| "-pkg-def", |
| "{\"data\": [{\"dir\": \".\", \"exclude\": []}, {\"version_file\": \".versions/jq.cipd_version\"}], \"install_mode\": \"copy\", \"package\": \"fuchsia/third_party/jq/mac-amd64\", \"root\": \"[START_DIR]/install\"}", |
| "-out", |
| "[CLEANUP]/jq.cipd", |
| "-hash-algo", |
| "sha256", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "cipd.build fuchsia/third_party/jq/mac-amd64", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/third_party/jq/mac-amd64\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "search", |
| "fuchsia/third_party/jq/mac-amd64", |
| "-tag", |
| "git_revision:a17dd3248a666d01be75f6b16be37e80e20b0954", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "cipd.cipd search fuchsia/third_party/jq/mac-amd64 git_revision:a17dd3248a666d01be75f6b16be37e80e20b0954", |
| "~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@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/third_party/jq/mac-amd64\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "cipd.Package is up-to-date", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "name": "$result" |
| } |
| ] |