commit | 44ecf9a0c7c25496a43f59f1c8f20df9527e12cb | [log] [tgz] |
---|---|---|
author | Laszlo Csomor <laszlocsomor@google.com> | Tue Jan 10 10:41:26 2017 +0000 |
committer | Marcel Hlopko <hlopko@google.com> | Tue Jan 10 11:51:20 2017 +0000 |
tree | c7580369cd3b0e7426b569d9638addaec4c00b0d | |
parent | 12bf5ba34f70200eccc9e5f9b2f27d91d4514d77 [diff] |
Windows: implement and use AsShortWindowsPath Because CreateProcessW doesn't support long paths, not even with the "\\?\" prefix [1], we need to convert long paths to short ones to spawn processes. This change implements the corresponding function and uses it in blaze_util_windows. [1] https://github.com/bazelbuild/bazel/issues/2181#issuecomment-270696173 See https://github.com/bazelbuild/bazel/issues/2107 See https://github.com/bazelbuild/bazel/issues/2181 -- PiperOrigin-RevId: 144062404 MOS_MIGRATED_REVID=144062404
{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.