[roll] Roll fuchsia [build][scenic] Leverage FatLTO when building tests

Since FatLTO binaries ship with both LLVM bitcode and object code, we can
avoid expensive linking operations when building tests by not using
LTO linking for test binaries.

This patch opts C/C++ tests out of a full relink/reoptimization by
telling the linker to choose the object code part of the object file
to when linking. This reduced the Toolchain build time for tests
by around 20% in LTO builds, and we expect similar improvements in
Fuchsia.

Original-Bug: 364615885
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1113163
Original-Revision: 582d2face3ee7be9742e59515728266b47b183ba
GitOrigin-RevId: 0cd4aca9e4d3e13a26da7b7c300767c9f5ef1de2
Change-Id: Iab6c0fc8ef15e89b4a6fd4c0f712c6a0fcdd2afa
1 file changed
tree: e1d1dbad89423a6ad253dc8dd1e134a46381d69f
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cts
  6. firmware
  7. flower
  8. jiri.lock
  9. MILESTONE
  10. minimal
  11. prebuilts
  12. README.md
  13. stem
  14. test_durations
  15. toolchain
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance in one of the communication channels documented at get involved.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.