Skip to content

Commit

Permalink
Add linux-riscv64.
Browse files Browse the repository at this point in the history
Bug: https://bugs.chromium.org/p/chromium/issues/detail?id=1138584
Bug: dart-lang/sdk#48545
Change-Id: I8a5091e95a3c92e2ac0e136b4413b4f79656889b
Reviewed-on: https://gn-review.googlesource.com/c/gn/+/16300
Commit-Queue: Petr Hosek <[email protected]>
Reviewed-by: Petr Hosek <[email protected]>
  • Loading branch information
rmacnak-google authored and GN LUCI committed Dec 13, 2023
1 parent 7367b0d commit 85944eb
Show file tree
Hide file tree
Showing 13 changed files with 1,148 additions and 124 deletions.
51 changes: 22 additions & 29 deletions infra/README.recipes.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,21 @@
## Table of Contents

**[Recipe Modules](#Recipe-Modules)**
* [macos_sdk](#recipe_modules-macos_sdk) (Python3 ✅) &mdash; The `macos_sdk` module provides safe functions to access a semi-hermetic XCode installation.
* [target](#recipe_modules-target) (Python3 ✅)
* [windows_sdk](#recipe_modules-windows_sdk) (Python3 ✅)
* [macos_sdk](#recipe_modules-macos_sdk) &mdash; The `macos_sdk` module provides safe functions to access a semi-hermetic XCode installation.
* [target](#recipe_modules-target)
* [windows_sdk](#recipe_modules-windows_sdk)

**[Recipes](#Recipes)**
* [gn](#recipes-gn) (Python3 ✅) &mdash; Recipe for building GN.
* [macos_sdk:examples/full](#recipes-macos_sdk_examples_full) (Python3 ✅)
* [target:examples/full](#recipes-target_examples_full) (Python3 ✅)
* [windows_sdk:examples/full](#recipes-windows_sdk_examples_full) (Python3 ✅)
* [gn](#recipes-gn) &mdash; Recipe for building GN.
* [macos_sdk:examples/full](#recipes-macos_sdk_examples_full)
* [target:examples/full](#recipes-target_examples_full)
* [windows_sdk:examples/full](#recipes-windows_sdk_examples_full)
## Recipe Modules

### *recipe_modules* / [macos\_sdk](/infra/recipe_modules/macos_sdk)

[DEPS](/infra/recipe_modules/macos_sdk/__init__.py#5): [recipe\_engine/cipd][recipe_engine/recipe_modules/cipd], [recipe\_engine/context][recipe_engine/recipe_modules/context], [recipe\_engine/json][recipe_engine/recipe_modules/json], [recipe\_engine/path][recipe_engine/recipe_modules/path], [recipe\_engine/platform][recipe_engine/recipe_modules/platform], [recipe\_engine/step][recipe_engine/recipe_modules/step]

PYTHON_VERSION_COMPATIBILITY: PY3

The `macos_sdk` module provides safe functions to access a semi-hermetic
XCode installation.
Expand Down Expand Up @@ -68,16 +67,14 @@ Raises:

[DEPS](/infra/recipe_modules/target/__init__.py#5): [recipe\_engine/platform][recipe_engine/recipe_modules/platform]

PYTHON_VERSION_COMPATIBILITY: PY3

#### **class [TargetApi](/infra/recipe_modules/target/api.py#82)([RecipeApi][recipe_engine/wkt/RecipeApi]):**
#### **class [TargetApi](/infra/recipe_modules/target/api.py#83)([RecipeApi][recipe_engine/wkt/RecipeApi]):**

&emsp; **@property**<br>&mdash; **def [host](/infra/recipe_modules/target/api.py#87)(self):**
&emsp; **@property**<br>&mdash; **def [host](/infra/recipe_modules/target/api.py#88)(self):**
### *recipe_modules* / [windows\_sdk](/infra/recipe_modules/windows_sdk)

[DEPS](/infra/recipe_modules/windows_sdk/__init__.py#5): [recipe\_engine/cipd][recipe_engine/recipe_modules/cipd], [recipe\_engine/context][recipe_engine/recipe_modules/context], [recipe\_engine/json][recipe_engine/recipe_modules/json], [recipe\_engine/path][recipe_engine/recipe_modules/path], [recipe\_engine/platform][recipe_engine/recipe_modules/platform], [recipe\_engine/step][recipe_engine/recipe_modules/step]

PYTHON_VERSION_COMPATIBILITY: PY3

#### **class [WindowsSDKApi](/infra/recipe_modules/windows_sdk/api.py#10)([RecipeApi][recipe_engine/wkt/RecipeApi]):**

Expand All @@ -97,42 +94,38 @@ Raises:

[DEPS](/infra/recipes/gn.py#8): [macos\_sdk](#recipe_modules-macos_sdk), [target](#recipe_modules-target), [windows\_sdk](#recipe_modules-windows_sdk), [recipe\_engine/buildbucket][recipe_engine/recipe_modules/buildbucket], [recipe\_engine/cas][recipe_engine/recipe_modules/cas], [recipe\_engine/cipd][recipe_engine/recipe_modules/cipd], [recipe\_engine/context][recipe_engine/recipe_modules/context], [recipe\_engine/file][recipe_engine/recipe_modules/file], [recipe\_engine/json][recipe_engine/recipe_modules/json], [recipe\_engine/path][recipe_engine/recipe_modules/path], [recipe\_engine/platform][recipe_engine/recipe_modules/platform], [recipe\_engine/properties][recipe_engine/recipe_modules/properties], [recipe\_engine/raw\_io][recipe_engine/recipe_modules/raw_io], [recipe\_engine/step][recipe_engine/recipe_modules/step]

PYTHON_VERSION_COMPATIBILITY: PY3

Recipe for building GN.

&mdash; **def [RunSteps](/infra/recipes/gn.py#95)(api, repository):**
&mdash; **def [RunSteps](/infra/recipes/gn.py#98)(api, repository):**
### *recipes* / [macos\_sdk:examples/full](/infra/recipe_modules/macos_sdk/examples/full.py)

[DEPS](/infra/recipe_modules/macos_sdk/examples/full.py#5): [macos\_sdk](#recipe_modules-macos_sdk), [recipe\_engine/platform][recipe_engine/recipe_modules/platform], [recipe\_engine/properties][recipe_engine/recipe_modules/properties], [recipe\_engine/step][recipe_engine/recipe_modules/step]

PYTHON_VERSION_COMPATIBILITY: PY3

&mdash; **def [RunSteps](/infra/recipe_modules/macos_sdk/examples/full.py#13)(api):**
### *recipes* / [target:examples/full](/infra/recipe_modules/target/examples/full.py)

[DEPS](/infra/recipe_modules/target/examples/full.py#5): [target](#recipe_modules-target), [recipe\_engine/platform][recipe_engine/recipe_modules/platform], [recipe\_engine/properties][recipe_engine/recipe_modules/properties], [recipe\_engine/step][recipe_engine/recipe_modules/step]

PYTHON_VERSION_COMPATIBILITY: PY3

&mdash; **def [RunSteps](/infra/recipe_modules/target/examples/full.py#13)(api):**
### *recipes* / [windows\_sdk:examples/full](/infra/recipe_modules/windows_sdk/examples/full.py)

[DEPS](/infra/recipe_modules/windows_sdk/examples/full.py#5): [windows\_sdk](#recipe_modules-windows_sdk), [recipe\_engine/platform][recipe_engine/recipe_modules/platform], [recipe\_engine/properties][recipe_engine/recipe_modules/properties], [recipe\_engine/step][recipe_engine/recipe_modules/step]

PYTHON_VERSION_COMPATIBILITY: PY3

&mdash; **def [RunSteps](/infra/recipe_modules/windows_sdk/examples/full.py#13)(api):**

[recipe_engine/recipe_modules/buildbucket]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/ff5ce51ceaaa7a62275bb766831a3ce1e88de37d/README.recipes.md#recipe_modules-buildbucket
[recipe_engine/recipe_modules/cas]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/ff5ce51ceaaa7a62275bb766831a3ce1e88de37d/README.recipes.md#recipe_modules-cas
[recipe_engine/recipe_modules/cipd]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/ff5ce51ceaaa7a62275bb766831a3ce1e88de37d/README.recipes.md#recipe_modules-cipd
[recipe_engine/recipe_modules/context]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/ff5ce51ceaaa7a62275bb766831a3ce1e88de37d/README.recipes.md#recipe_modules-context
[recipe_engine/recipe_modules/file]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/ff5ce51ceaaa7a62275bb766831a3ce1e88de37d/README.recipes.md#recipe_modules-file
[recipe_engine/recipe_modules/json]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/ff5ce51ceaaa7a62275bb766831a3ce1e88de37d/README.recipes.md#recipe_modules-json
[recipe_engine/recipe_modules/path]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/ff5ce51ceaaa7a62275bb766831a3ce1e88de37d/README.recipes.md#recipe_modules-path
[recipe_engine/recipe_modules/platform]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/ff5ce51ceaaa7a62275bb766831a3ce1e88de37d/README.recipes.md#recipe_modules-platform
[recipe_engine/recipe_modules/properties]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/ff5ce51ceaaa7a62275bb766831a3ce1e88de37d/README.recipes.md#recipe_modules-properties
[recipe_engine/recipe_modules/raw_io]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/ff5ce51ceaaa7a62275bb766831a3ce1e88de37d/README.recipes.md#recipe_modules-raw_io
[recipe_engine/recipe_modules/step]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/ff5ce51ceaaa7a62275bb766831a3ce1e88de37d/README.recipes.md#recipe_modules-step
[recipe_engine/wkt/RecipeApi]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/ff5ce51ceaaa7a62275bb766831a3ce1e88de37d/recipe_engine/recipe_api.py#886
[recipe_engine/recipe_modules/buildbucket]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/9dea1246fd8548d96decbcc0718e1c95fa1d985f/README.recipes.md#recipe_modules-buildbucket
[recipe_engine/recipe_modules/cas]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/9dea1246fd8548d96decbcc0718e1c95fa1d985f/README.recipes.md#recipe_modules-cas
[recipe_engine/recipe_modules/cipd]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/9dea1246fd8548d96decbcc0718e1c95fa1d985f/README.recipes.md#recipe_modules-cipd
[recipe_engine/recipe_modules/context]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/9dea1246fd8548d96decbcc0718e1c95fa1d985f/README.recipes.md#recipe_modules-context
[recipe_engine/recipe_modules/file]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/9dea1246fd8548d96decbcc0718e1c95fa1d985f/README.recipes.md#recipe_modules-file
[recipe_engine/recipe_modules/json]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/9dea1246fd8548d96decbcc0718e1c95fa1d985f/README.recipes.md#recipe_modules-json
[recipe_engine/recipe_modules/path]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/9dea1246fd8548d96decbcc0718e1c95fa1d985f/README.recipes.md#recipe_modules-path
[recipe_engine/recipe_modules/platform]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/9dea1246fd8548d96decbcc0718e1c95fa1d985f/README.recipes.md#recipe_modules-platform
[recipe_engine/recipe_modules/properties]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/9dea1246fd8548d96decbcc0718e1c95fa1d985f/README.recipes.md#recipe_modules-properties
[recipe_engine/recipe_modules/raw_io]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/9dea1246fd8548d96decbcc0718e1c95fa1d985f/README.recipes.md#recipe_modules-raw_io
[recipe_engine/recipe_modules/step]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/9dea1246fd8548d96decbcc0718e1c95fa1d985f/README.recipes.md#recipe_modules-step
[recipe_engine/wkt/RecipeApi]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/9dea1246fd8548d96decbcc0718e1c95fa1d985f/recipe_engine/recipe_api.py#473
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"@@@[email protected]@ \"result\": {@@@",
"@@@[email protected]@ \"\": [@@@",
"@@@[email protected]@ {@@@",
"@@@[email protected]@ \"instance_id\": \"resolved-instance_id-of-git_revision:e9b\", @@@",
"@@@[email protected]@ \"instance_id\": \"resolved-instance_id-of-git_revision:e9b\",@@@",
"@@@[email protected]@ \"package\": \"infra/tools/mac_toolchain/resolved-platform\"@@@",
"@@@[email protected]@ }@@@",
"@@@[email protected]@ ]@@@",
Expand Down
1 change: 1 addition & 0 deletions infra/recipe_modules/target/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
'fuchsia-arm64': 'aarch64-fuchsia',
'linux-amd64': 'x86_64-linux-gnu',
'linux-arm64': 'aarch64-linux-gnu',
'linux-riscv64': 'riscv64-linux-gnu',
'mac-amd64': 'x86_64-apple-darwin',
'mac-arm64': 'arm64-apple-darwin',
}
Expand Down
14 changes: 7 additions & 7 deletions infra/recipe_modules/windows_sdk/examples/full.expected/win.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"@@@[email protected]@ \"result\": {@@@",
"@@@[email protected]@ \"\": [@@@",
"@@@[email protected]@ {@@@",
"@@@[email protected]@ \"instance_id\": \"resolved-instance_id-of-uploaded:2019-09\", @@@",
"@@@[email protected]@ \"instance_id\": \"resolved-instance_id-of-uploaded:2019-09\",@@@",
"@@@[email protected]@ \"package\": \"chrome_internal/third_party/sdk/windows\"@@@",
"@@@[email protected]@ }@@@",
"@@@[email protected]@ ]@@@",
Expand All @@ -42,16 +42,16 @@
"@@@[email protected]@ \"env\": {@@@",
"@@@[email protected]@ \"PATH\": [@@@",
"@@@[email protected]@ [@@@",
"@@@[email protected]@ \"..\", @@@",
"@@@[email protected]@ \"..\", @@@",
"@@@[email protected]@ \"win_sdk\", @@@",
"@@@[email protected]@ \"bin\", @@@",
"@@@[email protected]@ \"..\",@@@",
"@@@[email protected]@ \"..\",@@@",
"@@@[email protected]@ \"win_sdk\",@@@",
"@@@[email protected]@ \"bin\",@@@",
"@@@[email protected]@ \"x64\"@@@",
"@@@[email protected]@ ]@@@",
"@@@[email protected]@ ], @@@",
"@@@[email protected]@ ],@@@",
"@@@[email protected]@ \"VSINSTALLDIR\": [@@@",
"@@@[email protected]@ [@@@",
"@@@[email protected]@ \"..\", @@@",
"@@@[email protected]@ \"..\",@@@",
"@@@[email protected]@ \"..\\\\\"@@@",
"@@@[email protected]@ ]@@@",
"@@@[email protected]@ ]@@@",
Expand Down
Loading

0 comments on commit 85944eb

Please sign in to comment.