From e6d980631d8e03f5f32d3c8def510362f28dc2ef Mon Sep 17 00:00:00 2001 From: David James Date: Thu, 10 May 2012 14:39:21 -0700 Subject: [PATCH] Switch off --nousepkg flag for tegra2 to save on build speed. Now that the new compiler has been published, there is no need to use nousepkg anymore. So we can remove this to speed up builds for folks who are upgrading. BUG=none TEST=Remote trybot run to verify tegra2 toolchain is still upgraded to hardfp. Change-Id: Iad08114f971c6a9e1a84b1101b25ae60e8822751 Reviewed-on: https://gerrit.chromium.org/gerrit/22406 Reviewed-by: Mike Frysinger Reviewed-by: Brian Harring Commit-Ready: David James Tested-by: David James --- .../34_arm_softfp_to_hardfp | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/chroot_version_hooks.d/34_arm_softfp_to_hardfp b/chroot_version_hooks.d/34_arm_softfp_to_hardfp index 1896ec868d..e3a2db61cf 100644 --- a/chroot_version_hooks.d/34_arm_softfp_to_hardfp +++ b/chroot_version_hooks.d/34_arm_softfp_to_hardfp @@ -19,27 +19,8 @@ for ldso in /build/*/lib/ld-linux.so.3; do info "sudo rm -rf ${build}.softfp" sudo mv ${build}{,.softfp} info "Running setup_board --board=${board}" - # We run with nousepkg for people who have an old toolchain - # and haven't upgraded to the hardfp one yet. This might - # add a little overhead once, but we need this to recover - # the builders because they can't produce toolchain binpkgs - # until they've upgraded themselves. - # Once people's toolchain is up-to-date, this won't cause - # any real overhead. ~/trunk/src/scripts/setup_board \ - --nousepkg \ --board=${board} \ --skip_chroot_upgrade fi done - -# Make sure we have a gcc version that was built with USE=hardfp. -if ! portageq has_version / 'cross-armv7a-cros-linux-gnueabi/gcc[hardfp]'; then - info "Making sure your arm toolchain is up-to-date" - info "by installing an arm-generic board" - ~/trunk/src/scripts/setup_board \ - --nousepkg \ - --force \ - --board=arm-generic \ - --skip_chroot_upgrade -fi