3 ms·
Is this is your only argument against Bazel, I consider your comment a praise of that build system.
by lightgreen 6y ago
Is this is your only argument against Bazel, I consider your comment a praise of that build system.
- MaxBarraclough 6y agoIs it possible to use Graal's ahead-of-time compilation with Bazel? Or perhaps something like Nailgun? ( http://www.martiansoftware.com/nailgun/background.html http://www.martiansoftware.com/nailgun/background.html )
- lightgreen 6y agoIt already does that. On first run, Bazel spawns a background process, which does all the work. In particular, it caches all the state (e. g. file hashes, parsed build files etc.)
- MaxBarraclough 6y agoThanks for the reply. How does its package-detection stack up against CMake? One of CMake's advantages is that there's a Find module for most well-known libraries.
- lightgreen 6y agoI don't know much about it, because I believe dependency on installed in system libraries lead to non-reproducible builds (each machine is configured differently). Quick googling shows there is a lot of external rules for pkg-config https://github.com/cherrry/bazel_pkg_config https://github.com/cherrry/bazel_pkg_config or rules for building third-parties with cmake https://github.com/bazelbuild/rules_foreign_cc https://github.com/bazelbuild/rules_foreign_cc for example.
- de_watcher 6y agoThat's just a red flag.