I want to know how to dump something (say, some string) to local disk. I found there's actions.write API , but seems it only creates an action, but no ...
I want to know how to dump something (say, some string) to local disk. I found there's actions.write API , but seems it only creates an action, but no ...
I am using Bazel as my C++ build system and whenever I build my project my root directory is cluttered up with the bazel symlinks: bazel-bin, bazel-ou ...
I recently started to work on a Go project. When I use gopls with Coc, all external imports are not recognized such as "github.com/prometheus/client_ ...
i am using bazel build to build tensorflow, and I want to know every defined macro I tried bazel build --copt -dM , but not effective ...
I'm trying to select between the development and distribution provisioning profiles for my iOS application built with Bazel. Right now I'm hacking th ...
I want to create a make rule from rules_foreign_cc. But even the minimal example below is causing issues for me. With the following setup: WORKSPA ...
I have 200 subdirectories and I need to find how many how many has test targes and only build them instead of building all. is there a way? Is there ...
I followed these instrcutions: But, I got the following error: My OS is Ubuntu 20 and my complier is gcc 9. Here is the link to my test.log file ...
I have a simple Bazel project layout like this: . ├── foo │ ├── BUILD.bazel │ ├── testdata │ │ └── a. ...
Maybe this is a no-brainer and I just didn't get the concept yet. I have a genrule, basically wrapping an existing make/config workflow to integrate ...
When running Bazel coverage on service code, it is crashing on Jenkins pods and also local mac. I want to know does Bazel provide any run efficiency f ...
I have a code snippet which supports a few macros based on compilation platform. For example, if _mm_crc32_u32 is supported then define macro A. For ...
I'm having a horrible time with setting up my Docker configuration for my go service. Below is an overview of my setup I have a GraphQL Playgroud ( ...
From what I read (documentation seems to be quite sparse) you can use the --define and --action_env arguments to let Bazel build artifacts with a diff ...
Is it possible to optionally load a file like "WORKSPACE.user.bazel" from my main "WORKSPACE.bazel" file but only if that file exists? I'd like to ov ...
Err:3 https://storage.googleapis.com/bazel-apt stable InRelease The following signatures couldn't be verified because the public key is not availab ...
I use bazel to manage my project and I want to generate protobuf files by bazel build. Here is my file path tree: There are two problems: How to ...
I have a command that compiles and runs a program, but the intermediate files are randomly named (but contained within a directory). E.g. Bazel req ...
I am trying to run objcopy --redefine-syms=filename command in Bazel genrule. My idea is: first create the filename using echo command in the first ge ...
I've created a new Go project and am trying to use VSCode. I have a go.mod in the parent directory with the following: I created the project with B ...