blob: 6f1ed1ca4f0f8e2ff5aeb6c20cb0e2253096300c [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": "ensure_packages"
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[START_DIR]/cipd",
"-ensure-file",
"fuchsia/third_party/clang/${platform} goma\ninfra/3pp/tools/cmake/${platform} version:3.13.5\ninfra/3pp/tools/ninja/${platform} version:1.9.0\n@Subdir linux-amd64\nfuchsia/sysroot/linux-amd64 latest\n@Subdir linux-arm64\nfuchsia/sysroot/linux-arm64 latest\n@Subdir linux-armhf\nfuchsia/sysroot/linux-armv6l latest\n@Subdir linux-i386\nfuchsia/sysroot/linux-386 latest\n@Subdir sdk\nfuchsia/sdk/core/${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-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@ \"instance_id\": \"resolved-instance_id-of-version:3.13.5--\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/3pp/tools/cmake/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.9.0---\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/3pp/tools/ninja/resolved-platform\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ ], @@@",
"@@@STEP_LOG_LINE@json.output@ \"linux-amd64\": [@@@",
"@@@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/linux-amd64\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ ], @@@",
"@@@STEP_LOG_LINE@json.output@ \"linux-arm64\": [@@@",
"@@@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/linux-arm64\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ ], @@@",
"@@@STEP_LOG_LINE@json.output@ \"linux-armhf\": [@@@",
"@@@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/linux-armv6l\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ ], @@@",
"@@@STEP_LOG_LINE@json.output@ \"linux-i386\": [@@@",
"@@@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/linux-386\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ ], @@@",
"@@@STEP_LOG_LINE@json.output@ \"sdk\": [@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-latest----------\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/sdk/core/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": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[CLEANUP]/clang_tmp_1/llvm_install"
],
"infra_step": true,
"name": "create pkg dir"
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[START_DIR]/llvm-project"
],
"infra_step": true,
"name": "makedirs"
},
{
"cmd": [
"git",
"init"
],
"cwd": "[START_DIR]/llvm-project",
"infra_step": true,
"name": "git init"
},
{
"cmd": [
"git",
"remote",
"add",
"origin",
"https://fuchsia.googlesource.com/third_party/llvm-project"
],
"cwd": "[START_DIR]/llvm-project",
"infra_step": true,
"name": "git remote"
},
{
"cmd": [],
"name": "cache"
},
{
"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-llvm--project"
],
"cwd": "[START_DIR]/llvm-project",
"infra_step": true,
"name": "cache.makedirs",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"init",
"--bare"
],
"cwd": "[CACHE]/git/fuchsia.googlesource.com-third_party-llvm--project",
"infra_step": true,
"name": "cache.git init",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"config",
"remote.origin.url",
"https://fuchsia.googlesource.com/third_party/llvm-project"
],
"cwd": "[CACHE]/git/fuchsia.googlesource.com-third_party-llvm--project",
"infra_step": true,
"name": "cache.remote set-url",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"config",
"--replace-all",
"remote.origin.fetch",
"+refs/heads/*:refs/heads/*",
"\\+refs/heads/\\*:.*"
],
"cwd": "[CACHE]/git/fuchsia.googlesource.com-third_party-llvm--project",
"infra_step": true,
"name": "cache.git config",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"fetch",
"--prune",
"--tags",
"origin"
],
"cwd": "[CACHE]/git/fuchsia.googlesource.com-third_party-llvm--project",
"infra_step": true,
"name": "cache.git fetch",
"~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",
"[START_DIR]/llvm-project/.git/objects/info"
],
"cwd": "[START_DIR]/llvm-project",
"infra_step": true,
"name": "cache.makedirs object/info",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"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-llvm--project/objects\n",
"[START_DIR]/llvm-project/.git/objects/info/alternates"
],
"cwd": "[START_DIR]/llvm-project",
"infra_step": true,
"name": "cache.alternates",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@alternates@[CACHE]/git/fuchsia.googlesource.com-third_party-llvm--project/objects@@@",
"@@@STEP_LOG_END@alternates@@@"
]
},
{
"cmd": [
"git",
"fetch",
"--tags",
"origin"
],
"cwd": "[START_DIR]/llvm-project",
"infra_step": true,
"name": "git fetch"
},
{
"cmd": [
"git",
"checkout",
"-f",
"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
],
"cwd": "[START_DIR]/llvm-project",
"infra_step": true,
"name": "git checkout"
},
{
"cmd": [
"git",
"rev-parse",
"HEAD"
],
"cwd": "[START_DIR]/llvm-project",
"infra_step": true,
"name": "git rev-parse"
},
{
"cmd": [
"git",
"clean",
"-f",
"-d",
"-x"
],
"cwd": "[START_DIR]/llvm-project",
"infra_step": true,
"name": "git clean"
},
{
"cmd": [],
"name": "submodule"
},
{
"cmd": [
"git",
"submodule",
"sync"
],
"cwd": "[START_DIR]/llvm-project",
"infra_step": true,
"name": "submodule.git submodule sync",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"submodule",
"update",
"--init"
],
"cwd": "[START_DIR]/llvm-project",
"infra_step": true,
"name": "submodule.git submodule update",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[CACHE]/macos_sdk",
"-ensure-file",
"infra/tools/mac_toolchain/${platform} git_revision:af9d7e0e0a44285a6830784b4b848223e7b3179f",
"-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-git_revision:af9\", @@@",
"@@@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]/macos_sdk/mac_toolchain",
"install",
"-kind",
"ios",
"-xcode-version",
"11c29",
"-output-dir",
"[CACHE]/macos_sdk/XCode.app"
],
"infra_step": true,
"name": "install xcode"
},
{
"cmd": [
"sudo",
"xcode-select",
"--switch",
"[CACHE]/macos_sdk/XCode.app"
],
"infra_step": true,
"name": "select XCode"
},
{
"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": [
"xcrun",
"--sdk",
"macosx",
"--show-sdk-path"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"name": "xcrun",
"~followup_annotations": [
"@@@STEP_LOG_LINE@raw_io.output[sdk-path]@/some/xcode/path@@@",
"@@@STEP_LOG_END@raw_io.output[sdk-path]@@@"
]
},
{
"cmd": [],
"name": "zlib"
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[CLEANUP]/clang_tmp_1/zlib_install"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"infra_step": true,
"name": "zlib.create zlib_install_dir",
"~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",
"[START_DIR]/zlib/src"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"infra_step": true,
"name": "zlib.makedirs",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"init"
],
"cwd": "[START_DIR]/zlib/src",
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"name": "zlib.git init",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"remote",
"add",
"origin",
"https://fuchsia.googlesource.com/third_party/zlib"
],
"cwd": "[START_DIR]/zlib/src",
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"name": "zlib.git remote",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "zlib.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-zlib"
],
"cwd": "[START_DIR]/zlib/src",
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"infra_step": true,
"name": "zlib.cache.makedirs",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"init",
"--bare"
],
"cwd": "[CACHE]/git/fuchsia.googlesource.com-third_party-zlib",
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"name": "zlib.cache.git init",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"config",
"remote.origin.url",
"https://fuchsia.googlesource.com/third_party/zlib"
],
"cwd": "[CACHE]/git/fuchsia.googlesource.com-third_party-zlib",
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"name": "zlib.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/fuchsia.googlesource.com-third_party-zlib",
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"name": "zlib.cache.git config",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"fetch",
"--prune",
"--tags",
"origin"
],
"cwd": "[CACHE]/git/fuchsia.googlesource.com-third_party-zlib",
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"name": "zlib.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]/zlib/src/.git/objects/info"
],
"cwd": "[START_DIR]/zlib/src",
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"infra_step": true,
"name": "zlib.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-zlib/objects\n",
"[START_DIR]/zlib/src/.git/objects/info/alternates"
],
"cwd": "[START_DIR]/zlib/src",
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"infra_step": true,
"name": "zlib.cache.alternates",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@alternates@[CACHE]/git/fuchsia.googlesource.com-third_party-zlib/objects@@@",
"@@@STEP_LOG_END@alternates@@@"
]
},
{
"cmd": [
"git",
"fetch",
"--tags",
"origin",
"refs/tags/v1.2.11"
],
"cwd": "[START_DIR]/zlib/src",
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"name": "zlib.git fetch",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"checkout",
"-f",
"FETCH_HEAD"
],
"cwd": "[START_DIR]/zlib/src",
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"name": "zlib.git checkout",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"rev-parse",
"HEAD"
],
"cwd": "[START_DIR]/zlib/src",
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"name": "zlib.git rev-parse",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"clean",
"-f",
"-d",
"-x"
],
"cwd": "[START_DIR]/zlib/src",
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"name": "zlib.git clean",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "zlib.submodule",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"submodule",
"sync"
],
"cwd": "[START_DIR]/zlib/src",
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"name": "zlib.submodule.git submodule sync",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"submodule",
"update",
"--init"
],
"cwd": "[START_DIR]/zlib/src",
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"name": "zlib.submodule.git submodule update",
"~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]/zlib/obj"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"infra_step": true,
"name": "zlib.make objdir",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[START_DIR]/zlib/src/configure",
"--prefix=",
"--static"
],
"cwd": "[START_DIR]/zlib/obj",
"env": {
"AR": "[START_DIR]/cipd/bin/llvm-ar",
"CC": "[CACHE]/goma/client/gomacc [START_DIR]/cipd/bin/clang",
"CFLAGS": "-O3 -fPIC --target=x86_64-apple-darwin --sysroot=/some/xcode/path",
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"NM": "[START_DIR]/cipd/bin/llvm-nm",
"RANLIB": "[START_DIR]/cipd/bin/llvm-ranlib"
},
"name": "zlib.configure",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"make",
"-j80"
],
"cwd": "[START_DIR]/zlib/obj",
"env": {
"AR": "[START_DIR]/cipd/bin/llvm-ar",
"CC": "[CACHE]/goma/client/gomacc [START_DIR]/cipd/bin/clang",
"CFLAGS": "-O3 -fPIC --target=x86_64-apple-darwin --sysroot=/some/xcode/path",
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"NM": "[START_DIR]/cipd/bin/llvm-nm",
"RANLIB": "[START_DIR]/cipd/bin/llvm-ranlib"
},
"name": "zlib.build",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"make",
"install",
"DESTDIR=[CLEANUP]/clang_tmp_1/zlib_install"
],
"cwd": "[START_DIR]/zlib/obj",
"env": {
"AR": "[START_DIR]/cipd/bin/llvm-ar",
"CC": "[CACHE]/goma/client/gomacc [START_DIR]/cipd/bin/clang",
"CFLAGS": "-O3 -fPIC --target=x86_64-apple-darwin --sysroot=/some/xcode/path",
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"NM": "[START_DIR]/cipd/bin/llvm-nm",
"RANLIB": "[START_DIR]/cipd/bin/llvm-ranlib"
},
"name": "zlib.install",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "libxml2"
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[CLEANUP]/clang_tmp_1/libxml2_install"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"infra_step": true,
"name": "libxml2.create libxml2_install_dir",
"~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",
"[START_DIR]/libxml2/src"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"infra_step": true,
"name": "libxml2.makedirs",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"init"
],
"cwd": "[START_DIR]/libxml2/src",
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"name": "libxml2.git init",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"remote",
"add",
"origin",
"https://fuchsia.googlesource.com/third_party/libxml2"
],
"cwd": "[START_DIR]/libxml2/src",
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"name": "libxml2.git remote",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "libxml2.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-libxml2"
],
"cwd": "[START_DIR]/libxml2/src",
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"infra_step": true,
"name": "libxml2.cache.makedirs",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"init",
"--bare"
],
"cwd": "[CACHE]/git/fuchsia.googlesource.com-third_party-libxml2",
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"name": "libxml2.cache.git init",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"config",
"remote.origin.url",
"https://fuchsia.googlesource.com/third_party/libxml2"
],
"cwd": "[CACHE]/git/fuchsia.googlesource.com-third_party-libxml2",
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"name": "libxml2.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/fuchsia.googlesource.com-third_party-libxml2",
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"name": "libxml2.cache.git config",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"fetch",
"--prune",
"--tags",
"origin"
],
"cwd": "[CACHE]/git/fuchsia.googlesource.com-third_party-libxml2",
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"name": "libxml2.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]/libxml2/src/.git/objects/info"
],
"cwd": "[START_DIR]/libxml2/src",
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"infra_step": true,
"name": "libxml2.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-libxml2/objects\n",
"[START_DIR]/libxml2/src/.git/objects/info/alternates"
],
"cwd": "[START_DIR]/libxml2/src",
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"infra_step": true,
"name": "libxml2.cache.alternates",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@alternates@[CACHE]/git/fuchsia.googlesource.com-third_party-libxml2/objects@@@",
"@@@STEP_LOG_END@alternates@@@"
]
},
{
"cmd": [
"git",
"fetch",
"--tags",
"origin",
"refs/tags/v2.9.10"
],
"cwd": "[START_DIR]/libxml2/src",
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"name": "libxml2.git fetch",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"checkout",
"-f",
"FETCH_HEAD"
],
"cwd": "[START_DIR]/libxml2/src",
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"name": "libxml2.git checkout",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"rev-parse",
"HEAD"
],
"cwd": "[START_DIR]/libxml2/src",
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"name": "libxml2.git rev-parse",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"clean",
"-f",
"-d",
"-x"
],
"cwd": "[START_DIR]/libxml2/src",
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"name": "libxml2.git clean",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "libxml2.submodule",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"submodule",
"sync"
],
"cwd": "[START_DIR]/libxml2/src",
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"name": "libxml2.submodule.git submodule sync",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"submodule",
"update",
"--init"
],
"cwd": "[START_DIR]/libxml2/src",
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"name": "libxml2.submodule.git submodule update",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"autoreconf",
"-i",
"-f"
],
"cwd": "[START_DIR]/libxml2/src",
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"name": "libxml2.autoconf",
"~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",
"[START_DIR]/libxml2/obj"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"infra_step": true,
"name": "libxml2.make objdir",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[START_DIR]/libxml2/src/configure",
"--prefix=",
"--build=x86_64-apple-darwin",
"--host=x86_64-apple-darwin",
"--disable-shared",
"--enable-static",
"--with-zlib=[CLEANUP]/clang_tmp_1/libxml2_install",
"--without-icu",
"--without-lzma",
"--without-python",
"CC=[CACHE]/goma/client/gomacc [START_DIR]/cipd/bin/clang",
"AR=[START_DIR]/cipd/bin/llvm-ar",
"RANLIB=[START_DIR]/cipd/bin/llvm-ranlib",
"NM=[START_DIR]/cipd/bin/llvm-nm",
"CFLAGS=-O3 -fPIC --target=x86_64-apple-darwin --sysroot=/some/xcode/path"
],
"cwd": "[START_DIR]/libxml2/obj",
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"name": "libxml2.configure",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"make",
"-j80"
],
"cwd": "[START_DIR]/libxml2/obj",
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"name": "libxml2.build",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"make",
"install",
"DESTDIR=[CLEANUP]/clang_tmp_1/libxml2_install"
],
"cwd": "[START_DIR]/libxml2/obj",
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"name": "libxml2.install",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"{\n \"directories\": {\n \"[START_DIR]/cipd/linux-i386\": {\n \"cipd_package\": {\n \"fuchsia/sysroot/linux-386\": {\n \"instance_id\": \"resolved-instance_id-of-latest----------\"\n }\n }, \n \"cipd_server_host\": \"chrome-infra-packages.appspot.com\"\n }, \n \"[START_DIR]/cipd/sdk\": {\n \"cipd_package\": {\n \"fuchsia/sdk/core/resolved-platform\": {\n \"instance_id\": \"resolved-instance_id-of-latest----------\"\n }\n }, \n \"cipd_server_host\": \"chrome-infra-packages.appspot.com\"\n }, \n \"[START_DIR]/libxml2/src\": {\n \"git_checkout\": {\n \"fetch_ref\": \"refs/tags/v2.9.10\", \n \"repo_url\": \"https://fuchsia.googlesource.com/third_party/libxml2\", \n \"revision\": \"deadbeef\"\n }\n }, \n \"[START_DIR]/cipd/linux-amd64\": {\n \"cipd_package\": {\n \"fuchsia/sysroot/linux-amd64\": {\n \"instance_id\": \"resolved-instance_id-of-latest----------\"\n }\n }, \n \"cipd_server_host\": \"chrome-infra-packages.appspot.com\"\n }, \n \"[START_DIR]/zlib/src\": {\n \"git_checkout\": {\n \"fetch_ref\": \"refs/tags/v1.2.11\", \n \"repo_url\": \"https://fuchsia.googlesource.com/third_party/zlib\", \n \"revision\": \"deadbeef\"\n }\n }, \n \"[START_DIR]/llvm-project\": {\n \"git_checkout\": {\n \"repo_url\": \"https://fuchsia.googlesource.com/third_party/llvm-project\", \n \"revision\": \"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\"\n }\n }, \n \"[START_DIR]/cipd/linux-armhf\": {\n \"cipd_package\": {\n \"fuchsia/sysroot/linux-armv6l\": {\n \"instance_id\": \"resolved-instance_id-of-latest----------\"\n }\n }, \n \"cipd_server_host\": \"chrome-infra-packages.appspot.com\"\n }, \n \"[START_DIR]/cipd\": {\n \"cipd_package\": {\n \"fuchsia/third_party/clang/resolved-platform\": {\n \"instance_id\": \"resolved-instance_id-of-goma------------\"\n }, \n \"infra/3pp/tools/cmake/resolved-platform\": {\n \"instance_id\": \"resolved-instance_id-of-version:3.13.5--\"\n }, \n \"infra/3pp/tools/ninja/resolved-platform\": {\n \"instance_id\": \"resolved-instance_id-of-version:1.9.0---\"\n }\n }, \n \"cipd_server_host\": \"chrome-infra-packages.appspot.com\"\n }, \n \"[START_DIR]/cipd/linux-arm64\": {\n \"cipd_package\": {\n \"fuchsia/sysroot/linux-arm64\": {\n \"instance_id\": \"resolved-instance_id-of-latest----------\"\n }\n }, \n \"cipd_server_host\": \"chrome-infra-packages.appspot.com\"\n }\n }\n}",
"[CLEANUP]/clang_tmp_1/llvm_install/source_manifest.json"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"infra_step": true,
"name": "source manifest",
"~followup_annotations": [
"@@@STEP_LOG_LINE@source_manifest.json@{@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"directories\": {@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"[START_DIR]/cipd/linux-i386\": {@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"cipd_package\": {@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"fuchsia/sysroot/linux-386\": {@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"instance_id\": \"resolved-instance_id-of-latest----------\"@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ }@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ }, @@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"cipd_server_host\": \"chrome-infra-packages.appspot.com\"@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ }, @@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"[START_DIR]/cipd/sdk\": {@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"cipd_package\": {@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"fuchsia/sdk/core/resolved-platform\": {@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"instance_id\": \"resolved-instance_id-of-latest----------\"@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ }@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ }, @@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"cipd_server_host\": \"chrome-infra-packages.appspot.com\"@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ }, @@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"[START_DIR]/libxml2/src\": {@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"git_checkout\": {@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"fetch_ref\": \"refs/tags/v2.9.10\", @@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"repo_url\": \"https://fuchsia.googlesource.com/third_party/libxml2\", @@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"revision\": \"deadbeef\"@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ }@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ }, @@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"[START_DIR]/cipd/linux-amd64\": {@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"cipd_package\": {@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"fuchsia/sysroot/linux-amd64\": {@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"instance_id\": \"resolved-instance_id-of-latest----------\"@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ }@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ }, @@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"cipd_server_host\": \"chrome-infra-packages.appspot.com\"@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ }, @@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"[START_DIR]/zlib/src\": {@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"git_checkout\": {@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"fetch_ref\": \"refs/tags/v1.2.11\", @@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"repo_url\": \"https://fuchsia.googlesource.com/third_party/zlib\", @@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"revision\": \"deadbeef\"@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ }@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ }, @@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"[START_DIR]/llvm-project\": {@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"git_checkout\": {@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"repo_url\": \"https://fuchsia.googlesource.com/third_party/llvm-project\", @@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"revision\": \"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\"@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ }@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ }, @@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"[START_DIR]/cipd/linux-armhf\": {@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"cipd_package\": {@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"fuchsia/sysroot/linux-armv6l\": {@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"instance_id\": \"resolved-instance_id-of-latest----------\"@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ }@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ }, @@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"cipd_server_host\": \"chrome-infra-packages.appspot.com\"@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ }, @@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"[START_DIR]/cipd\": {@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"cipd_package\": {@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"fuchsia/third_party/clang/resolved-platform\": {@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"instance_id\": \"resolved-instance_id-of-goma------------\"@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ }, @@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"infra/3pp/tools/cmake/resolved-platform\": {@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"instance_id\": \"resolved-instance_id-of-version:3.13.5--\"@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ }, @@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"infra/3pp/tools/ninja/resolved-platform\": {@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"instance_id\": \"resolved-instance_id-of-version:1.9.0---\"@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ }@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ }, @@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"cipd_server_host\": \"chrome-infra-packages.appspot.com\"@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ }, @@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"[START_DIR]/cipd/linux-arm64\": {@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"cipd_package\": {@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"fuchsia/sysroot/linux-arm64\": {@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"instance_id\": \"resolved-instance_id-of-latest----------\"@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ }@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ }, @@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"cipd_server_host\": \"chrome-infra-packages.appspot.com\"@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ }@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ }@@@",
"@@@STEP_LOG_LINE@source_manifest.json@}@@@",
"@@@STEP_LOG_END@source_manifest.json@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[CLEANUP]/clang_tmp_1/llvm_build"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"infra_step": true,
"name": "create llvm build dir"
},
{
"cmd": [],
"name": "clang"
},
{
"cmd": [
"[START_DIR]/cipd/bin/cmake",
"-GNinja",
"-DCMAKE_MAKE_PROGRAM=[START_DIR]/cipd/ninja",
"-DCMAKE_INSTALL_PREFIX=",
"-DCMAKE_C_COMPILER=[START_DIR]/cipd/bin/clang",
"-DCMAKE_CXX_COMPILER=[START_DIR]/cipd/bin/clang++",
"-DCMAKE_ASM_COMPILER=[START_DIR]/cipd/bin/clang",
"-DCMAKE_C_COMPILER_LAUNCHER=[CACHE]/goma/client/gomacc",
"-DCMAKE_CXX_COMPILER_LAUNCHER=[CACHE]/goma/client/gomacc",
"-DCMAKE_ASM_COMPILER_LAUNCHER=[CACHE]/goma/client/gomacc",
"-DCMAKE_LIPO=[START_DIR]/cipd/bin/llvm-lipo",
"-DBOOTSTRAP_CMAKE_SYSROOT=/some/xcode/path",
"-DBOOTSTRAP_CMAKE_SHARED_LINKER_FLAGS=-nostdlib++ [CLEANUP]/clang_tmp_1/llvm_build/lib/libc++.a",
"-DBOOTSTRAP_CMAKE_MODULE_LINKER_FLAGS=-nostdlib++ [CLEANUP]/clang_tmp_1/llvm_build/lib/libc++.a",
"-DBOOTSTRAP_CMAKE_EXE_LINKER_FLAGS=-nostdlib++ [CLEANUP]/clang_tmp_1/llvm_build/lib/libc++.a",
"-DCMAKE_SHARED_LINKER_FLAGS=-nostdlib++ [START_DIR]/cipd/lib/libc++.a",
"-DCMAKE_MODULE_LINKER_FLAGS=-nostdlib++ [START_DIR]/cipd/lib/libc++.a",
"-DCMAKE_EXE_LINKER_FLAGS=-nostdlib++ [START_DIR]/cipd/lib/libc++.a",
"-DCMAKE_SYSROOT=/some/xcode/path",
"-DSTAGE2_LINUX_aarch64-unknown-linux-gnu_SYSROOT=[START_DIR]/cipd/linux-arm64",
"-DSTAGE2_LINUX_armv7-unknown-linux-gnueabihf_SYSROOT=[START_DIR]/cipd/linux-armhf",
"-DSTAGE2_LINUX_i386-unknown-linux-gnu_SYSROOT=[START_DIR]/cipd/linux-i386",
"-DSTAGE2_LINUX_x86_64-unknown-linux-gnu_SYSROOT=[START_DIR]/cipd/linux-amd64",
"-DSTAGE2_FUCHSIA_SDK=[START_DIR]/cipd/sdk",
"-C",
"[START_DIR]/llvm-project/clang/cmake/caches/Fuchsia.cmake",
"[START_DIR]/llvm-project/llvm"
],
"cwd": "[CLEANUP]/clang_tmp_1/llvm_build",
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"name": "clang.configure",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[START_DIR]/cipd/ninja",
"-j80",
"stage2-distribution"
],
"cwd": "[CLEANUP]/clang_tmp_1/llvm_build",
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"name": "clang.build",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[START_DIR]/cipd/ninja",
"-j80",
"stage2-check-llvm",
"stage2-check-clang",
"stage2-check-lld"
],
"cwd": "[CLEANUP]/clang_tmp_1/llvm_build",
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"name": "clang.test",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[START_DIR]/cipd/ninja",
"stage2-install-distribution-stripped"
],
"cwd": "[CLEANUP]/clang_tmp_1/llvm_build",
"env": {
"DESTDIR": "[CLEANUP]/clang_tmp_1/llvm_install",
"GOMA_TMP_DIR": "[CLEANUP]/goma"
},
"name": "clang.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": [
"sudo",
"xcode-select",
"--reset"
],
"infra_step": true,
"name": "reset XCode"
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[CLEANUP]/clang_tmp_1/llvm_build/tools/clang/stage2-bins/tools/clang/include/clang/Basic/Version.inc",
"/path/to/tmp/"
],
"infra_step": true,
"name": "Version.inc",
"~followup_annotations": [
"@@@STEP_LOG_LINE@Version.inc@#define CLANG_VERSION_STRING \"8.0.0\"@@@",
"@@@STEP_LOG_END@Version.inc@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[fuchsia::toolchain]/resources/runtimes.py",
"--dir",
"[CLEANUP]/clang_tmp_1/llvm_install/lib",
"--build-id-repo",
"debug/.build-id",
"--readelf",
"[START_DIR]/cipd/bin/llvm-readelf"
],
"name": "generate runtime.json",
"stdin": "[{\"cflags\": [], \"ldflags\": [], \"runtime\": [{\"dist\": \"x86_64-unknown-fuchsia/c++/libc++.so.2\", \"soname\": \"libc++.so.2\"}, {\"dist\": \"x86_64-unknown-fuchsia/c++/libc++abi.so.1\", \"soname\": \"libc++abi.so.1\"}, {\"dist\": \"x86_64-unknown-fuchsia/c++/libunwind.so.1\", \"soname\": \"libunwind.so.1\"}], \"target\": [\"x86_64-unknown-fuchsia\", \"x86_64-fuchsia\"]}, {\"cflags\": [\"-fsanitize=address\"], \"ldflags\": [], \"runtime\": [{\"dist\": \"clang/8.0.0/lib/x86_64-unknown-fuchsia/libclang_rt.asan.so\", \"soname\": \"libclang_rt.asan.so\"}, {\"dist\": \"x86_64-unknown-fuchsia/c++/asan/libc++.so.2\", \"soname\": \"libc++.so.2\"}, {\"dist\": \"x86_64-unknown-fuchsia/c++/asan/libc++abi.so.1\", \"soname\": \"libc++abi.so.1\"}, {\"dist\": \"x86_64-unknown-fuchsia/c++/asan/libunwind.so.1\", \"soname\": \"libunwind.so.1\"}], \"target\": [\"x86_64-unknown-fuchsia\", \"x86_64-fuchsia\"]}, {\"cflags\": [\"-fsanitize=undefined\"], \"ldflags\": [], \"runtime\": [{\"dist\": \"clang/8.0.0/lib/x86_64-unknown-fuchsia/libclang_rt.ubsan_standalone.so\", \"soname\": \"libclang_rt.ubsan_standalone.so\"}, {\"dist\": \"x86_64-unknown-fuchsia/c++/libc++.so.2\", \"soname\": \"libc++.so.2\"}, {\"dist\": \"x86_64-unknown-fuchsia/c++/libc++abi.so.1\", \"soname\": \"libc++abi.so.1\"}, {\"dist\": \"x86_64-unknown-fuchsia/c++/libunwind.so.1\", \"soname\": \"libunwind.so.1\"}], \"target\": [\"x86_64-unknown-fuchsia\", \"x86_64-fuchsia\"]}, {\"cflags\": [], \"ldflags\": [\"-static-libstdc++\"], \"runtime\": [], \"target\": [\"x86_64-unknown-fuchsia\", \"x86_64-fuchsia\"]}, {\"cflags\": [\"-fsanitize=address\"], \"ldflags\": [\"-static-libstdc++\"], \"runtime\": [{\"dist\": \"clang/8.0.0/lib/x86_64-unknown-fuchsia/libclang_rt.asan.so\", \"soname\": \"libclang_rt.asan.so\"}], \"target\": [\"x86_64-unknown-fuchsia\", \"x86_64-fuchsia\"]}, {\"cflags\": [\"-fsanitize=undefined\"], \"ldflags\": [\"-static-libstdc++\"], \"runtime\": [{\"dist\": \"clang/8.0.0/lib/x86_64-unknown-fuchsia/libclang_rt.ubsan_standalone.so\", \"soname\": \"libclang_rt.ubsan_standalone.so\"}], \"target\": [\"x86_64-unknown-fuchsia\", \"x86_64-fuchsia\"]}, {\"cflags\": [], \"ldflags\": [], \"runtime\": [{\"dist\": \"aarch64-unknown-fuchsia/c++/libc++.so.2\", \"soname\": \"libc++.so.2\"}, {\"dist\": \"aarch64-unknown-fuchsia/c++/libc++abi.so.1\", \"soname\": \"libc++abi.so.1\"}, {\"dist\": \"aarch64-unknown-fuchsia/c++/libunwind.so.1\", \"soname\": \"libunwind.so.1\"}], \"target\": [\"aarch64-unknown-fuchsia\", \"aarch64-fuchsia\"]}, {\"cflags\": [\"-fsanitize=address\"], \"ldflags\": [], \"runtime\": [{\"dist\": \"clang/8.0.0/lib/aarch64-unknown-fuchsia/libclang_rt.asan.so\", \"soname\": \"libclang_rt.asan.so\"}, {\"dist\": \"aarch64-unknown-fuchsia/c++/asan/libc++.so.2\", \"soname\": \"libc++.so.2\"}, {\"dist\": \"aarch64-unknown-fuchsia/c++/asan/libc++abi.so.1\", \"soname\": \"libc++abi.so.1\"}, {\"dist\": \"aarch64-unknown-fuchsia/c++/asan/libunwind.so.1\", \"soname\": \"libunwind.so.1\"}], \"target\": [\"aarch64-unknown-fuchsia\", \"aarch64-fuchsia\"]}, {\"cflags\": [\"-fsanitize=undefined\"], \"ldflags\": [], \"runtime\": [{\"dist\": \"clang/8.0.0/lib/aarch64-unknown-fuchsia/libclang_rt.ubsan_standalone.so\", \"soname\": \"libclang_rt.ubsan_standalone.so\"}, {\"dist\": \"aarch64-unknown-fuchsia/c++/libc++.so.2\", \"soname\": \"libc++.so.2\"}, {\"dist\": \"aarch64-unknown-fuchsia/c++/libc++abi.so.1\", \"soname\": \"libc++abi.so.1\"}, {\"dist\": \"aarch64-unknown-fuchsia/c++/libunwind.so.1\", \"soname\": \"libunwind.so.1\"}], \"target\": [\"aarch64-unknown-fuchsia\", \"aarch64-fuchsia\"]}, {\"cflags\": [], \"ldflags\": [\"-static-libstdc++\"], \"runtime\": [], \"target\": [\"aarch64-unknown-fuchsia\", \"aarch64-fuchsia\"]}, {\"cflags\": [\"-fsanitize=address\"], \"ldflags\": [\"-static-libstdc++\"], \"runtime\": [{\"dist\": \"clang/8.0.0/lib/aarch64-unknown-fuchsia/libclang_rt.asan.so\", \"soname\": \"libclang_rt.asan.so\"}], \"target\": [\"aarch64-unknown-fuchsia\", \"aarch64-fuchsia\"]}, {\"cflags\": [\"-fsanitize=undefined\"], \"ldflags\": [\"-static-libstdc++\"], \"runtime\": [{\"dist\": \"clang/8.0.0/lib/aarch64-unknown-fuchsia/libclang_rt.ubsan_standalone.so\", \"soname\": \"libclang_rt.ubsan_standalone.so\"}], \"target\": [\"aarch64-unknown-fuchsia\", \"aarch64-fuchsia\"]}]",
"~followup_annotations": [
"@@@STEP_LOG_LINE@json.output[runtime.json] (read error)@JSON file was missing or unreadable:@@@",
"@@@STEP_LOG_LINE@json.output[runtime.json] (read error)@ [CLEANUP]/clang_tmp_1/llvm_install/lib/runtime.json@@@",
"@@@STEP_LOG_END@json.output[runtime.json] (read error)@@@"
]
},
{
"cmd": [
"python",
"-u",
"RECIPE[fuchsia::clang_toolchain].resources/generate_license.py",
"--include",
"[START_DIR]/llvm-project/clang/LICENSE.TXT",
"[START_DIR]/llvm-project/clang-tools-extra/LICENSE.TXT",
"[START_DIR]/llvm-project/lld/LICENSE.TXT",
"[START_DIR]/llvm-project/llvm/LICENSE.TXT",
"[START_DIR]/llvm-project/compiler-rt/LICENSE.TXT",
"[START_DIR]/llvm-project/libcxx/LICENSE.TXT",
"[START_DIR]/llvm-project/libcxxabi/LICENSE.TXT",
"[START_DIR]/llvm-project/libunwind/LICENSE.TXT",
"--extract",
"[START_DIR]/libxml2/src/Copyright",
"-",
"--extract",
"[START_DIR]/zlib/src/zlib.h",
"4-22"
],
"name": "generate license"
},
{
"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]/clang_tmp_1/llvm_install:."
],
"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": "cipd"
},
{
"cmd": [
"cipd",
"pkg-build",
"-pkg-def",
"{\"data\": [{\"dir\": \".\", \"exclude\": []}, {\"version_file\": \".versions/clang.cipd_version\"}], \"install_mode\": \"copy\", \"package\": \"fuchsia/third_party/clang/mac-amd64\", \"root\": \"[CLEANUP]/clang_tmp_1/llvm_install\"}",
"-out",
"[CLEANUP]/clang.cipd",
"-hash-algo",
"sha256",
"-json-output",
"/path/to/tmp/json"
],
"name": "cipd.build fuchsia/third_party/clang/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/clang/mac-amd64\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [
"cipd",
"search",
"fuchsia/third_party/clang/mac-amd64",
"-tag",
"git_revision:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"-json-output",
"/path/to/tmp/json"
],
"name": "cipd.cipd search fuchsia/third_party/clang/mac-amd64 git_revision:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"~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/clang/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@@@"
]
},
{
"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\": \"clang_toolchain.fuchsia-host-mac\", \"project\": \"fuchsia\"}], \"trigger\": {\"buildbucket\": {\"properties\": {\"build.clang_toolchain\": {\"instance\": \"[dummy hash]\", \"type\": \"isolated\"}, \"checkout.buildset\": \"commit/gitiles/fuchsia.googlesource.com/fuchsia/+/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\", \"clang_toolchain\": {\"git_repository\": \"https://fuchsia.googlesource.com/third_party/llvm-project\", \"git_revision\": \"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\"}}, \"tags\": [\"buildset:commit/gitiles/fuchsia.googlesource.com/third_party/llvm-project/+/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\", \"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\": \"clang_toolchain.fuchsia-host-mac\", @@@",
"@@@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.clang_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@ \"clang_toolchain\": {@@@",
"@@@STEP_LOG_LINE@input@ \"git_repository\": \"https://fuchsia.googlesource.com/third_party/llvm-project\", @@@",
"@@@STEP_LOG_LINE@input@ \"git_revision\": \"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\"@@@",
"@@@STEP_LOG_LINE@input@ }@@@",
"@@@STEP_LOG_LINE@input@ }, @@@",
"@@@STEP_LOG_LINE@input@ \"tags\": [@@@",
"@@@STEP_LOG_LINE@input@ \"buildset:commit/gitiles/fuchsia.googlesource.com/third_party/llvm-project/+/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\", @@@",
"@@@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"
}
]