blob: 0afef75fed7a1aafe1ea83e9e26c0501b0af31f9 [file] [log] [blame]
[
{
"cmd": [
"cipd",
"ensure",
"-root",
"[START_DIR]/cipd",
"-ensure-file",
"fuchsia/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/clang/${platform} integration\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": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0o777",
"[START_DIR]/fuchsia-third_party-github.com-jqlang-jq"
],
"infra_step": true,
"name": "checkout.makedirs",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"init"
],
"cwd": "[START_DIR]/fuchsia-third_party-github.com-jqlang-jq",
"infra_step": true,
"name": "checkout.git init",
"timeout": 300.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"remote",
"add",
"origin",
"https://fuchsia.googlesource.com/third_party/github.com/jqlang/jq"
],
"cwd": "[START_DIR]/fuchsia-third_party-github.com-jqlang-jq",
"infra_step": true,
"name": "checkout.git remote",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"config",
"core.longpaths",
"true"
],
"cwd": "[START_DIR]/fuchsia-third_party-github.com-jqlang-jq",
"infra_step": true,
"name": "checkout.set core.longpaths",
"timeout": 300.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"config",
"fetch.uriprotocols",
"https"
],
"cwd": "[START_DIR]/fuchsia-third_party-github.com-jqlang-jq",
"infra_step": true,
"name": "checkout.set fetch.uriprotocols",
"timeout": 300.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "checkout.cache",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0o777",
"[CACHE]/git"
],
"cwd": "[START_DIR]/fuchsia-third_party-github.com-jqlang-jq",
"infra_step": true,
"name": "checkout.cache.ensure git cache dir",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"",
"[CACHE]/git/.GUARD_FILE"
],
"cwd": "[START_DIR]/fuchsia-third_party-github.com-jqlang-jq",
"infra_step": true,
"name": "checkout.cache.write git cache guard file",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0o777",
"[CACHE]/git/fuchsia.googlesource.com-third_party-github.com-jqlang-jq"
],
"cwd": "[START_DIR]/fuchsia-third_party-github.com-jqlang-jq",
"infra_step": true,
"name": "checkout.cache.makedirs",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"init",
"--bare"
],
"cwd": "[CACHE]/git/fuchsia.googlesource.com-third_party-github.com-jqlang-jq",
"infra_step": true,
"name": "checkout.cache.git init",
"timeout": 300.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"config",
"remote.origin.url",
"https://fuchsia.googlesource.com/third_party/github.com/jqlang/jq"
],
"cwd": "[CACHE]/git/fuchsia.googlesource.com-third_party-github.com-jqlang-jq",
"infra_step": true,
"name": "checkout.cache.remote set-url",
"timeout": 300.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"config",
"core.longpaths",
"true"
],
"cwd": "[CACHE]/git/fuchsia.googlesource.com-third_party-github.com-jqlang-jq",
"infra_step": true,
"name": "checkout.cache.set core.longpaths",
"timeout": 300.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"config",
"fetch.uriprotocols",
"https"
],
"cwd": "[CACHE]/git/fuchsia.googlesource.com-third_party-github.com-jqlang-jq",
"infra_step": true,
"name": "checkout.cache.set fetch.uriprotocols",
"timeout": 300.0,
"~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-jqlang-jq",
"infra_step": true,
"name": "checkout.cache.replace fetch configs",
"timeout": 300.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"fetch",
"--prune",
"--tags",
"--jobs",
"4",
"origin"
],
"cwd": "[CACHE]/git/fuchsia.googlesource.com-third_party-github.com-jqlang-jq",
"infra_step": true,
"name": "checkout.cache.git fetch",
"timeout": 1200.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0o777",
"[START_DIR]/fuchsia-third_party-github.com-jqlang-jq/.git/objects/info"
],
"cwd": "[START_DIR]/fuchsia-third_party-github.com-jqlang-jq",
"infra_step": true,
"name": "checkout.cache.makedirs object/info",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython3",
"-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-jqlang-jq/objects\n",
"[START_DIR]/fuchsia-third_party-github.com-jqlang-jq/.git/objects/info/alternates"
],
"cwd": "[START_DIR]/fuchsia-third_party-github.com-jqlang-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-jqlang-jq/objects@@@",
"@@@STEP_LOG_END@alternates@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"remove",
"[CACHE]/git/.GUARD_FILE"
],
"cwd": "[START_DIR]/fuchsia-third_party-github.com-jqlang-jq",
"infra_step": true,
"name": "checkout.cache.remove git cache guard file",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"fetch",
"--tags",
"--jobs",
"4",
"origin",
"main",
"--recurse-submodules"
],
"cwd": "[START_DIR]/fuchsia-third_party-github.com-jqlang-jq",
"infra_step": true,
"name": "checkout.git fetch",
"timeout": 1200.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"checkout",
"-f",
"FETCH_HEAD"
],
"cwd": "[START_DIR]/fuchsia-third_party-github.com-jqlang-jq",
"infra_step": true,
"name": "checkout.git checkout",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"rev-parse",
"HEAD"
],
"cwd": "[START_DIR]/fuchsia-third_party-github.com-jqlang-jq",
"infra_step": true,
"name": "checkout.git rev-parse",
"timeout": 300.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"clean",
"-f",
"-d",
"-x"
],
"cwd": "[START_DIR]/fuchsia-third_party-github.com-jqlang-jq",
"infra_step": true,
"name": "checkout.git clean",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "checkout.submodule",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"submodule",
"sync"
],
"cwd": "[START_DIR]/fuchsia-third_party-github.com-jqlang-jq",
"infra_step": true,
"name": "checkout.submodule.git submodule sync",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"submodule",
"update",
"--init",
"--recursive",
"--jobs",
"4"
],
"cwd": "[START_DIR]/fuchsia-third_party-github.com-jqlang-jq",
"infra_step": true,
"name": "checkout.submodule.git submodule update",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"sw_vers",
"-productVersion"
],
"name": "find macOS version"
},
{
"cmd": [],
"name": "ensure XCode 14e222b"
},
{
"cmd": [],
"name": "ensure XCode 14e222b.install infra/tools/mac_toolchain",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0o777",
"[START_DIR]/cipd_tool/infra/tools/mac_toolchain/be1bf3cbb34d603837500595770868faf18232f9529e0a375b9527506d4cd711"
],
"infra_step": true,
"luci_context": {
"deadline": {
"grace_period": 30.0,
"soft_deadline": 1337001201.5
}
},
"name": "ensure XCode 14e222b.install infra/tools/mac_toolchain.ensure package directory",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[START_DIR]/cipd_tool/infra/tools/mac_toolchain/be1bf3cbb34d603837500595770868faf18232f9529e0a375b9527506d4cd711",
"-ensure-file",
"infra/tools/mac_toolchain/${platform} git_revision:3e597065cb23c1fe03aeb2ebd792d83e0709c5c2",
"-max-threads",
"0",
"-json-output",
"/path/to/tmp/json"
],
"infra_step": true,
"luci_context": {
"deadline": {
"grace_period": 30.0,
"soft_deadline": 1337001201.5
}
},
"name": "ensure XCode 14e222b.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:3e5\",@@@",
"@@@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": [
"[START_DIR]/cipd_tool/infra/tools/mac_toolchain/be1bf3cbb34d603837500595770868faf18232f9529e0a375b9527506d4cd711/mac_toolchain",
"install",
"-kind",
"mac",
"-xcode-version",
"14e222b",
"-output-dir",
"[CACHE]/macos_sdk/XCode.app"
],
"infra_step": true,
"luci_context": {
"deadline": {
"grace_period": 30.0,
"soft_deadline": 1337001201.5
}
},
"name": "ensure XCode 14e222b.install XCode 14e222b",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"sudo",
"xcode-select",
"--switch",
"[CACHE]/macos_sdk/XCode.app"
],
"infra_step": true,
"luci_context": {
"deadline": {
"grace_period": 30.0,
"soft_deadline": 1337001201.5
}
},
"name": "ensure XCode 14e222b.select XCode 14e222b",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"xcrun",
"--sdk",
"macosx",
"--show-sdk-path"
],
"infra_step": true,
"luci_context": {
"deadline": {
"grace_period": 30.0,
"soft_deadline": 1337001201.5
}
},
"name": "ensure XCode 14e222b.xcrun",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@raw_io.output_text[sdk-path]@[START_DIR]/xcode@@@",
"@@@STEP_LOG_END@raw_io.output_text[sdk-path]@@@"
]
},
{
"cmd": [
"autoreconf",
"--verbose",
"--install",
"--force"
],
"cwd": "[START_DIR]/fuchsia-third_party-github.com-jqlang-jq",
"env": {
"M4": "[START_DIR]/cipd/bin/m4"
},
"env_prefixes": {
"PATH": [
"[START_DIR]/cipd/bin"
]
},
"name": "autoreconf"
},
{
"cmd": [
"./configure",
"--without-oniguruma",
"--prefix=",
"--disable-dependency-tracking",
"--disable-shared",
"--enable-all-static",
"CC=clang",
"CFLAGS=--sysroot=[START_DIR]/xcode -O3",
"CPPFLAGS=--sysroot=[START_DIR]/xcode -O3",
"CXX=clang++",
"CXXFLAGS=--sysroot=[START_DIR]/xcode -O3",
"LDFLAGS=--sysroot=[START_DIR]/xcode -O3"
],
"cwd": "[START_DIR]/fuchsia-third_party-github.com-jqlang-jq",
"env": {
"M4": "[START_DIR]/cipd/bin/m4"
},
"env_prefixes": {
"PATH": [
"[START_DIR]/cipd/bin"
]
},
"name": "configure"
},
{
"cmd": [
"make",
"-j8"
],
"cwd": "[START_DIR]/fuchsia-third_party-github.com-jqlang-jq",
"env": {
"M4": "[START_DIR]/cipd/bin/m4"
},
"env_prefixes": {
"PATH": [
"[START_DIR]/cipd/bin"
]
},
"name": "make"
},
{
"cmd": [
"make",
"install",
"DESTDIR=[START_DIR]/install"
],
"cwd": "[START_DIR]/fuchsia-third_party-github.com-jqlang-jq",
"env": {
"M4": "[START_DIR]/cipd/bin/m4"
},
"env_prefixes": {
"PATH": [
"[START_DIR]/cipd/bin"
]
},
"name": "make install"
},
{
"cmd": [
"sudo",
"xcode-select",
"--reset"
],
"infra_step": true,
"name": "reset XCode"
},
{
"cmd": [],
"name": "cipd",
"~followup_annotations": [
"@@@SET_BUILD_PROPERTY@git_revision@\"deadbeef\"@@@",
"@@@SET_BUILD_PROPERTY@instance_id@\"40-chars-fake-of-the-package-instance_id\"@@@",
"@@@SET_BUILD_PROPERTY@package@\"fuchsia/third_party/jq/mac-amd64\"@@@"
]
},
{
"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]/cipd-util-build_tmp_1/jq.pkg",
"-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:deadbeef",
"-json-output",
"/path/to/tmp/json"
],
"name": "cipd.cipd search fuchsia/third_party/jq/mac-amd64 git_revision:deadbeef",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"result\": []@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [
"cipd",
"pkg-register",
"[CLEANUP]/cipd-util-build_tmp_1/jq.pkg",
"-ref",
"latest",
"-tag",
"git_revision:deadbeef",
"-metadata",
"bbid:0",
"-json-output",
"/path/to/tmp/json"
],
"name": "cipd.register 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@@@",
"@@@STEP_LINK@fuchsia/third_party/jq/mac-amd64@https://chrome-infra-packages.appspot.com/p/fuchsia/third_party/jq/mac-amd64/+/40-chars-fake-of-the-package-instance_id@@@"
]
},
{
"name": "$result"
}
]