diff options
author | Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> | 2024-02-22 17:46:42 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2024-02-22 17:46:42 +0000 |
commit | f55aef5be59b837768cc8dddee766c127fb1567e (patch) | |
tree | 94f39b59c7c6d8358e538cc9457c74abaaddc464 | |
parent | bd91b34d942bad7175ce69343651d9b51acfc1c6 (diff) | |
parent | 044d03ec811089e02e4a01b9ed9d0ea19dbdbf90 (diff) | |
download | runtime-f55aef5be59b837768cc8dddee766c127fb1567e.tar.gz |
Merge "Make the instructions more efficient." into main
-rw-r--r-- | mainline/README_riscv64.md | 77 |
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. |