python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Short include paths in bazel C/C++ project
I'm new to using bazel and I don't know how to make the path of my includes not have to be a full path. You can see the comment in src/main/main.c file.
My directory tree:
.
├── WORKSPACE
├── src
│ ...
barroco
Votes: 0
Answers: 1
BAZEL: Query all targets in bazel rule
Here is code structure
| //base_folder
├── file0.txt
├── BUILD
├── folder1
| ├── BUILD
| ├── file1
├── folder2
| ├── BUILD
| ├── file2
I'd like to know all the files or target information t...
ReneSun
Votes: 0
Answers: 1
Apply cpu transition to cc_binary rule in Bazel
I've a c target that always must be compiled for darwin_x86_64, no matter the --cpu set when calling bazel build. It's the only target that always must be compiled for a specific cpu in a big project....
StianE
Votes: 0
Answers: 2
Running Bazel executable in another Bazel rule fails to find runfiles
I have a go_binary in Bazel called dbgen that generates Go files from SQL files. I want to create a new Bazel rule that wraps the dbgen binary to create the Go files in Bazel. However, I hit the follo...
Joe
Votes: 0
Answers: 0