| 1 |
This has the clang compiler and other tools (e.g. clang-tidy and IWYU) built from source for |
| 2 |
Linux hosts. |
| 3 |
|
| 4 |
This is used both by our GN build and Bazel builds. The GN build will be updated automatically |
| 5 |
after updating this asset with the `sk` tool. |
| 6 |
|
| 7 |
To manually update the Bazel build: |
| 8 |
1) Download the latest version from CIPD as a .zip file. |
| 9 |
<https://chrome-infra-packages.appspot.com/p/skia/bots/clang_linux> |
| 10 |
2) Change the file name to be clang_linux_amd64_vNN.zip where NN is the new version in the |
| 11 |
`VERSION` file. |
| 12 |
3) Upload it to the GCS mirror bucket |
| 13 |
`go run ./bazel/gcs_mirror/gcs_mirror.go --sha256 <hash> --file /path/to/clang_linux_amd64_vNN.zip` |
| 14 |
4) Update the sha256 in `//toolchain/download_linux_amd64_toolchain.bzl`. |
| 15 |
5) Test it locally with `make -C bazel known_good_builds`. |
| 16 |
You may need to update the generated BUILD.bazel file to accommodate relocated/new files |
| 17 |
as well as `//toolchain/linux_amd64_toolchain_config.bzl` to use them correctly. |