commit | ec1cc8fa6cbdbba6e2689d3a814e095bb068e15e | [log] [tgz] |
---|---|---|
author | Klaus Aehlig <aehlig@google.com> | Thu Dec 01 12:36:33 2016 +0000 |
committer | Irina Iancu <elenairina@google.com> | Thu Dec 01 13:31:31 2016 +0000 |
tree | 7d8ab838d697a151ebb31f9630b12e204d2ede13 | |
parent | b0cc87feb4bd490458185d62feca2a9b96f4c498 [diff] |
Gracefully handle unset JAVA_HOME getenv("JAVA_HOME") may return a null pointer; in this case, the corresponding string is in a state where calling .empty() segfaults. However, there is a legimitate use case for JAVA_HOME not being set; in fact, the default "/usr/local/openjdk8" is usually fine on FreeBSD. -- Change-Id: I4a2ad7d19ef38c79e9f1c62b0f8041e434203c7f Reviewed-on: https://cr.bazel.build/7590 MOS_MIGRATED_REVID=140716748
{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.