mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 18:31:08 +01:00
This takes the installation layout and replicates it using `rules_pkg` to build either a tarball or a zip file of the toolchain. Correctly manages file permissions and symlinks, etc. There are some big remaining things here: - Figure out how we want to test this. We can add shell tests maybe? A bit awkward. Nicer would be to make the `//examples` tree build using this rather than the more native-bazel install data, however building these is quite slow and it seems bad to pay that cost constantly so dedicated testing is probably better. For now, I've tested these manually. - Need to add versions to the toolchain and then thread them through here so they install properly as a versioned release. But my primary goal for now is just to be able to validate that the install tree is working outside of Bazel and this does enough for that. The above will be longer-term things.
Toolchain
A design is currently maintained in Google Drive. It'll be migrated to markdown once we are confident in its stability.