Re:Show HN: A Modern C/C++ build tools (Simple, Fast, Cross-...
by reubenmorais on Friday October 25, 2019 @05:46AM
(#21353321)
Bazel, like most Google open source projects, has a strong focus on Google's internal needs. Another similar Bazel surprise is how many hoops you have to jump through for the rare task of... debugging a cc_binary on macOS: https://github.com/bazelbuild/bazel/issues/2537
Re:Show HN: A Modern C/C++ build tools (Simple, Fast, Cross-...
by lightgreen on Sunday October 27, 2019 @12:10AM
(#21367834)
I’d say it is Apple’s fault, not Google’s: Bazel correctly does not include absolute paths into binaries (Bazel focuses on build reproducibility which is very good for caching and debugging of builds), and Apple toolchain does not provide convenient way to work with such binaries.
Re:Show HN: A Modern C/C++ build tools (Simple, Fast, Cross-...
by reubenmorais on Wednesday October 30, 2019 @11:04AM
(#21398504)
As a user, I couldn't care less. My goal is to build my application in debug mode. If the build system's view of the world is incompatible with the actual world, is that a failure of the world or the build system? At the end of the day, I still need to get my debug build working...
Re:Show HN: A Modern C/C++ build tools (Simple, Fast, Cross-...
by lightgreen on Sunday October 27, 2019 @12:12AM
(#21367839)
> Bazel, like most Google open source projects, has a strong focus on Google's internal needs
This is only partially true: internally they have Blaze, which is a different version of Bazel. I think Bazel is just not yet mature enough, and they released version 1.0 too early.
The hoops one has to jump through to get it running on Windows are a joke (TBH, the list of prerequisites and potential issues looks like a UNIX programmer was confronted for the first time with Windows):
https://docs.bazel.build/versions/1.1.0/install-windows.html