| commit | 00443495e002c9fc68adbcb708f223eb4b6a73c1 | [log] [tgz] |
|---|---|---|
| author | ccalvarin <ccalvarin@google.com> | Wed Aug 30 00:23:40 2017 +0200 |
| committer | Vladimir Moskva <vladmos@google.com> | Wed Aug 30 13:48:32 2017 +0200 |
| tree | ec4484fc46793ec9b671a902c42e143a3df79c91 | |
| parent | ef1424cb39a4ff77bc6579821bbc24eea70e32a3 [diff] |
Move default value & converter finding logic to the OptionDefinition class. Removes some duplicate computation by memoizing the results. Consolidates caching into a single optionDefinition object, instead of having multiple caches that go from the option name to different parts of what defines an option. Fly-by cleanup of OptionDescription's contents, all contents that are statically defined as part of an option are in OptionDefintion, while expansion data, which depends on the existence of other options, is more clearly stored separately. Will move the converter-to-option type matching sanity checks to a compile time check in a later change. RELNOTES: None. PiperOrigin-RevId: 166912716
{Fast, Correct} - Choose two
Build and test software of any size, quickly and reliably.
Speed up your builds and tests: Bazel only rebuilds what is necessary. With advanced local and distributed caching, optimized dependency analysis and parallel execution, you get fast and incremental builds.
One tool, multiple languages: Build and test Java, C++, Android, iOS, Go and a wide variety of other language platforms. Bazel runs on Windows, macOS, and Linux.
Scalable: Bazel helps you scale your organization, codebase and Continuous Integration system. It handles codebases of any size, in multiple repositories or a huge monorepo.
Extensible to your needs: Easily add support for new languages and platforms with Bazel's familiar extension language. Share and re-use language rules written by the growing Bazel community.
Follow our tutorials:
See CONTRIBUTING.md
Bazel is released in ‘Beta’. See the product roadmap to learn about the path toward a stable 1.0 release.