summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com>2024-02-22 18:56:15 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2024-02-22 18:56:15 +0000
commit60dcbab7c29f3551cb7a07a2773f32c18fc7e5ac (patch)
tree94f39b59c7c6d8358e538cc9457c74abaaddc464
parent3beb9fe7e6d967a57402ebcc3cab88acda0c115e (diff)
parentf55aef5be59b837768cc8dddee766c127fb1567e (diff)
downloadruntime-60dcbab7c29f3551cb7a07a2773f32c18fc7e5ac.tar.gz
Merge "Make the instructions more efficient." into main am: f55aef5be5
Original change: https://android-review.googlesource.com/c/platform/prebuilts/runtime/+/2955538 Change-Id: I40887f6f27ae4e95cfacdad96e8cfd7f11bc1e33 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--mainline/README_riscv64.md77
1 files changed, 36 insertions, 41 deletions
diff --git a/mainline/README_riscv64.md b/mainline/README_riscv64.md
index 62316ed9..37080b71 100644
--- a/mainline/README_riscv64.md
+++ b/mainline/README_riscv64.md
@@ -19,51 +19,46 @@ To update:
1. On aosp/main (full manifest):
-- Build apexes:
- ```
- $ banchan \
- com.android.runtime \
- com.android.tzdata \
- com.android.os.statsd \
- com.android.conscrypt \
- com.android.i18n \
- riscv64 \
- && DIST_DIR=out/dist/mainline_modules_riscv64 m dist
- ```
+ 1. Cherry pick https://r.android.com/2647900 (this is necessary for the SDK
+ build in step 4).
-- Build implementation libs:
- ```
- $ lunch aosp_riscv64-trunk_staging-userdebug
- $ m dist
- ```
+ 2. Build implementation libs:
+ ```
+ $ lunch aosp_riscv64-trunk_staging-userdebug
+ $ m dist
+ ```
-- Build module SDKs:
+ 3. Build apexes:
+ ```
+ $ banchan \
+ com.android.runtime \
+ com.android.tzdata \
+ com.android.os.statsd \
+ com.android.conscrypt \
+ com.android.i18n \
+ riscv64
+ $ m DIST_DIR=out/dist/mainline_modules_riscv64 dist
+ ```
- First, cherry-pick https://r.android.com/2647900.
- ```
- $ TARGET_BUILD_APPS="\
- com.android.os.statsd \
- com.android.runtime \
- com.android.i18n \
- com.android.conscrypt \
- com.android.tzdata" \
- packages/modules/common/build/mainline_modules_sdks.sh \
- --build-release latest \
- --build-platform-sdks-for-mainline
- ```
+ 4. Build module SDKs:
+ ```
+ $ packages/modules/common/build/mainline_modules_sdks.sh \
+ --build-release latest \
+ --build-platform-sdks-for-mainline
+ ```
-2. On master-art branch (reduced manifest):
+2. On aosp/master-art branch (reduced manifest):
-- Run:
- ```
- $ prebuilts/runtime/mainline/update.py \
- --local-dist-riscv64 <root-of-aosp-tree>/out/dist
- ```
+ 1. Run:
+ ```
+ $ prebuilts/runtime/mainline/update.py \
+ --local-dist-riscv64 <root-of-aosp-tree>/out/dist
+ ```
-- Manually inspect the updated Android.bp files and revert any sections not
- related to riscv64 (it may be necessary to revert the entire file). Then try
- to build with `lunch riscv64 && art/tools/buildbot-build.sh`, you may find
- that further tweaking is needed. Make sure that the build succeeds.
+ 2. Manually inspect the updated Android.bp files and revert any sections not
+ related to riscv64 (it may be necessary to revert the entire file). Then try
+ to build with `lunch riscv64 && art/tools/buildbot-build.sh`, you may find
+ that further tweaking is needed. Make sure that the build succeeds.
-- Update the commit (use `lunch riscv64 && art/tools/buildbot-build.sh` as a
- validation step in commit message). Be sure to set mast@ as reviewer.
+ 3. Update the commit (use `lunch riscv64 && art/tools/buildbot-build.sh` as a
+ validation step in commit message). Be sure to set mast@ as reviewer.