| commit | 61e3fc9ac7aa7a0a907af291e97ef12f43ca9a3e | [log] [tgz] |
|---|---|---|
| author | Lukacs Berki <lberki@google.com> | Mon Apr 04 09:35:16 2016 +0000 |
| committer | Kristina Chodorow <kchodorow@google.com> | Mon Apr 04 14:01:31 2016 +0000 |
| tree | 2568b621f1338c67a1253b31c0ba8351d6b90e7e | |
| parent | 002615cd738a7d63daba06cd1fcaf1d97037f299 [diff] |
Dig out the builtin include file from the filegroup of libc_top instead of special-casing it in CppConfiguration. This seems to be the most reasonable solution. I was toying with the idea of adding a field to CROSSTOOL but that would fail if you set libc_top to something other than what was specified in that file. If I had a infinite amount of time, I'd create a custom rule called cc_libc where libc_top would point so that this file can be referenced by an attribute, but since I don't, this seems to be workable compromise. Also note that contrary to what you'd glean from the code, we don't actually have "compile" and "link" filegroups for libc. -- MOS_MIGRATED_REVID=118921101
{Fast, Correct} - Choose two
Bazel is a build tool that builds code quickly and reliably. It is used to build the majority of Google‘s software, and thus it has been designed to handle build problems present in Google’s development environment, including:
A massive, shared code repository, in which all software is built from source. Bazel has been built for speed, using both caching and parallelism to achieve this. Bazel is critical to Google's ability to continue to scale its software development practices as the company grows.
An emphasis on automated testing and releases. Bazel has been built for correctness and reproducibility, meaning that a build performed on a continuous build machine or in a release pipeline will generate bitwise-identical outputs to those generated on a developer's machine.
Language and platform diversity. Bazel's architecture is general enough to support many different programming languages within Google, and can be used to build both client and server software targeting multiple architectures from the same underlying codebase.
Find more background about Bazel in our FAQ.