|7 days ago||6 days ago|
|Apache License 2.0||Apache License 2.0|
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Are there any plans to make a better build system for Kotlin than Gradle?
4 projects | reddit.com/r/Kotlin | 17 Sep 2022
Can't build Bazel on Debian 11 to install tensor flow. Help!
2 projects | reddit.com/r/tensorflow | 16 Sep 2022
apt update apt install -y --no-install-recommends wget build-essential openjdk-11-jdk zip unzip mkdir /bazel && cd /bazel wget https://github.com/bazelbuild/bazel/releases/download/4.2.1/bazel-4.2.1-dist.zip -O bazel.zip unzip bazel.zip EXTRA_BAZEL_ARGS="--tool_java_runtime_version=local_jdk" bash ./compile.sh mv /bazel/output/bazel /usr/bin/
[Windows] Resource .rc file compilation?
2 projects | reddit.com/r/bazel | 16 Sep 2022
I found several associated issues and a closed PR that supposedly solved this issue. However, it seems that cc_rules has undergone several changes and this PR likely wouldn't function.
When to Use Bazel?
13 projects | news.ycombinator.com | 13 Sep 2022
Programming Breakthroughs We Need
17 projects | news.ycombinator.com | 17 Aug 2022
> The thing I really would like to see is a smarter CI system. Caching of build outputs, so you don't have to rebuild the world from scratch every time. Distributed execution of tests and compilation, so you are not bottle-necked by one machine.
This is already achievable nowadays using Bazel (https://bazel.build) as a build system. It uses a gRPC based protocol for offloading/caching the actual build on a build cluster (https://github.com/bazelbuild/remote-apis). I am the author of one of the Open Source build cluster implementations (Buildbarn).
Is there a way to create multiple Go files that each have their own main functions inside one folder?
2 projects | reddit.com/r/golang | 11 Aug 2022
We do this inside of Google by using our internal version of Bazel, but that's probably overkill for what you're trying to do.
Worst language you ever used? Really used not just looked at the manual.
3 projects | reddit.com/r/ProgrammingLanguages | 10 Aug 2022
Support for building static libraries is *still* missing despite the issue being open since 2016, with the latest comments from maintainers being basically "we don't need it but we'd consider a patch if someone wants to do it", which, frankly, is nuts; static libraries as a final output is A Thing That People Need And Use in the world outside google.
landlock-make: GNU Make fork using landlock for sandboxing, and solving the cache invalidation problem faster than Bazel
3 projects | reddit.com/r/cpp | 7 Aug 2022
Using Landlock to Sandbox GNU Make
10 projects | news.ycombinator.com | 7 Aug 2022
> With regards to chroot, I stand corrected. I knew it was a tree of symlinks, but I thought it was also more than that because symlinks alone don't seem like a sandbox. Honestly, Cosmopolitan's system appears to be more of a sandbox than that.
To be totally clear: the tree of symlinks thing is a fallback, used only when lacking platform support or when sandboxing is explicitly turned off . On Linux, the normal sandboxing strategy is to use namespaces, like most container runtimes. On Mac it apparently uses sandbox-exec (some opaque Apple tool), as was mentioned above. Chroot, being both non-POSIX, requiring root access on many systems, and not providing the necessary facilities is not really a great fit -- which I assume is why it's not used.
There was experimental Windows sandbox support at one point  based on how MS does it for BuildXL (their own build tool for giant monorepos) . Unfortunately it doesn't seem to be maintained, and under the hood it's kinda ugly -- it actively rewrites code in-memory to intercept calls to the Win32 APIs , which was apparently the cleanest/best way MS could come up with. However, from Bazel's POV it works in a roughly similar way -- you spawn subprocesses under a supervisor, which is in charge of spinning up whatever the target process is with restrictions on time/memory usage/file access.
On the "sandbox in the interpreter" thing: what kind of checks are you envisioning? It seems like putting checks at that level would end up leaving a lot out -- the goal of any build system is to eventually spawn an arbitrary process (Python, gcc, javac, some shell script, etc.) and so even with extensive checks in starlark you'd end up with accidental sandbox breaks all over the place. For pure starlark rules you could e.g. check that there are no inputs from /usr, but even then if gcc does it implicitly, you're SOL. Or am I thinking of the wrong kind of checks?
Better CI/CD caching with new-gen build systems
5 projects | dev.to | 25 Jul 2022
A build system is a program that orchestrates the execution of underlying tools such as compilers, code generators, test runners, linters and so on. Examples of build systems include the venerable Make, the JVM-centric Ant, Maven and Gradle, and newer systems such as Pants and Bazel (full disclosure: I am one of the maintainers of Pants).
What are some alternatives?
Buck - A fast build system that encourages the creation of small, reusable modules over a variety of platforms and languages.
Gradle - Adaptable, fast automation for all
meson - The Meson Build System
mediapipe - Cross-platform, customizable ML solutions for live and streaming media.
Apache Maven - Apache Maven core
ninja - a small build system with a focus on speed
jib - 🏗 Build container images for your Java applications.
Rake - A make-like build utility for Ruby.
bazelisk - A user-friendly launcher for Bazel.
skaffold - Easy and Repeatable Kubernetes Development
Flux - Successor: https://github.com/fluxcd/flux2 — The GitOps Kubernetes operator
pants - The Pantsbuild developer workflow system