aboutsummaryrefslogtreecommitdiff
path: root/compiler_wrapper
diff options
context:
space:
mode:
authorDenis Nikitin <denik@chromium.org>2021-02-24 12:51:14 -0800
committerCommit Bot <commit-bot@chromium.org>2021-02-27 01:13:02 +0000
commitefdffcc3acfc2acb02cd5fe6c268692c0ebd8b8f (patch)
tree3de0d838776d2350e74eed6a7fa52a865359cc98 /compiler_wrapper
parente3a5ad941ed0d9114f0a518ce62f5b33cc9f37a3 (diff)
downloadtoolchain-utils-efdffcc3acfc2acb02cd5fe6c268692c0ebd8b8f.tar.gz
toolchain-utils: compiler_wrapper: Update instructions
Update steps with gcc. BUG=None TEST=None Change-Id: I41a0f22d1c161aa81bbb47c1a9eec7a3436457a0 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2718654 Reviewed-by: Caroline Tice <cmtice@chromium.org> Reviewed-by: Jian Cai <jiancai@google.com> Tested-by: Denis Nikitin <denik@chromium.org> Commit-Queue: Denis Nikitin <denik@chromium.org>
Diffstat (limited to 'compiler_wrapper')
-rw-r--r--compiler_wrapper/README.md18
1 files changed, 5 insertions, 13 deletions
diff --git a/compiler_wrapper/README.md b/compiler_wrapper/README.md
index e55bb669..12ae3131 100644
--- a/compiler_wrapper/README.md
+++ b/compiler_wrapper/README.md
@@ -44,18 +44,10 @@ revision number. For example, if the current version is
```
Rename chromiumos-overlay/sys-devel/gcc/gcc-${VERSION}.ebuild to the next
-revision number. For example, if the current version is 4.9.2-r254:
+revision number. For example, if the current version is 10.2.0-r3:
```
(chroot) cd ~/trunk/src/third_party/chromiumos-overlay
-(chroot) git mv sys-devel/gcc/gcc-4.9.2-r254.ebuild sys-devel/gcc/gcc-4.9.2-r255.ebuild
-```
-
-Edit the new ebuild file and change the number at the end to match the new revision:
-```
--# If you need to force a cros_workon uprev, change this number (you can use next
--# uprev): 254
-+# If you need to force a cros_workon uprev, change this number (you can use next
-+# uprev): 255
+(chroot) git mv sys-devel/gcc/gcc-10.2.0-r3.ebuild sys-devel/gcc/gcc-10.2.0-r4.ebuild
```
Commit those changes together with the changes made by
@@ -74,10 +66,10 @@ The changes can then be reviewed and submitted through the normal process.
Generated wrappers are stored here:
- Sysroot wrapper with ccache:
- `/usr/x86_64-pc-linux-gnu/<arch>/gcc-bin/4.9.x/sysroot_wrapper.hardened.ccache`
+ `/usr/x86_64-pc-linux-gnu/<arch>/gcc-bin/10.2.0/sysroot_wrapper.hardened.ccache`
- Sysroot wrapper without ccache:
- `/usr/x86_64-pc-linux-gnu/<arch>/gcc-bin/4.9.x/sysroot_wrapper.hardened.noccache`
+ `/usr/x86_64-pc-linux-gnu/<arch>/gcc-bin/10.2.0/sysroot_wrapper.hardened.noccache`
- Clang host wrapper:
`/usr/bin/clang_host_wrapper`
- Gcc host wrapper:
- `/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.x/host_wrapper`
+ `/usr/x86_64-pc-linux-gnu/gcc-bin/10.2.0/host_wrapper`