commit | 56d98ae42c5a9626e3a749c27637a2ddb9b69d3d | [log] [tgz] |
---|---|---|
author | Oscar Bonilla <6f6231@gmail.com> | Tue Jun 12 12:21:44 2018 -0700 |
committer | Copybara-Service <copybara-piper@google.com> | Tue Jun 12 12:24:49 2018 -0700 |
tree | 42e0be02080173d27c8fc39527a111a10d4f2225 | |
parent | 400fffe8b2df50c5b57ced5d9a8b46e40d529d4e [diff] |
CROSSTOOLS wrapped_clang: handle spaces in paths When bazel calls wrapped_clang, it single-quotes all arguments. However it passes flags with arguments quoted as a whole. That is, wrapped_clang will be called with arguments like these: wrapped_clang '-isysroot /a/path/with spaces' '/a/file with spaces.m' Before this commit, wrapped_clang was blindly splitting on space and calling clang with invalid arguments. Now it only splits on the _first_ space, and only if the argument starts with '-'. Closes #5147. PiperOrigin-RevId: 200259496
{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 solution. 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.