Toolchains, system roots, and other binaries used by the build system

Clone this repo:


  1. 9702083 Update Linux sysroot to Debian stretch/9 by Petr Hosek · 2 days ago master
  2. de246a0 Update Linux sysroot by Petr Hosek · 7 days ago
  3. 2d39d52 Add Linux sysroot prebuilt by Petr Hosek · 11 days ago
  4. ae01847 Add download_zipfile to download utilities, fix extra 'cat' calls by James Robinson · 4 weeks ago
  5. 1059d70 Extract download functions into reusable shell script by James Robinson · 4 weeks ago

Fuchsia Build Tools

This repository contains the hashes of a number of prebuilt tools that are used to build Fuchsia-related projects. The actual tools themselves are located in Google Storage.

In most cases, the jiri tool will download the build tools automatically during its update step. To download the tools manually, run

Uploading a tool

NOTE: These instructions are for Googlers only.

Installing gsutil

The tarballs are uploaded with the “gsutil” program. See

There's a link there to download and install the Google Cloud SDK:

After installing the SDK you need to initialize/authenticate:

One of the steps will ask you for a cloud project. Choose loas-fuchsia-team.

At this point you can use gsutil to upload/download tarballs, view cloud directory contents, and so on.


Tarballs must have the tool name as the top level directory. E.g.,

bash$ tar tvf qemu.tar.bz2
drwxr-xr-x ... qemu/
drwxr-xr-x ... qemu/libexec/

The uploaded file name is the sha1 hash of the tarball. It could also be a sha1 hash of the tarball contents, avoiding unnecessary spurious differences in uploads.

To compute the latter, one can do something like:

bash$ LC_ALL=POSIX cat $(find qemu/ -type f | sort) | shasum -a1

The sha1 hash is checked into the buildtools repo and supports adding new tarballs or rolling back to a previous one. See the *.sha1 files in buildtools/{mac,linux64}.

There are separate directories for mac and linux tarballs. E.g.,

bash$ ./bin/gsutil ls gs://fuchsia-build/fuchsia/qemu/mac
bash$ ./bin/gsutil ls gs://fuchsia-build/fuchsia/qemu/linux64