Skip to main content
Filter by
Sorted by
Tagged with
Best practices
0 votes
0 replies
56 views

I'm working on a downstream project of openxla, whose build system is bazel. And now, I'd like to enable MSan for our source tree. It's quite easy to enable the MSan using the following bazelrc, build:...
zsrkmyn's user avatar
  • 583
Best practices
0 votes
1 replies
74 views

I try to figure out a best practice for modelling the dependencies in bazel for a c++ project. Is there anything wrong in the following rules? [implementation_deps]: (only available for cc_library) ...
ucczs's user avatar
  • 673
Best practices
0 votes
0 replies
41 views

For local PC based development we have enabled the Bazel disk cache and repository cache. The repository cache root folder has two subfolders: contents content-adressable The "contents" ...
Marko's user avatar
  • 1,515
0 votes
0 answers
41 views

I am using the java_export rule to publish an SDK: load("@rules_jvm_external//:defs.bzl", "java_export") java_export( name = "sdk_maven", maven_coordinates = &...
Abhishek Singh's user avatar
Best practices
0 votes
0 replies
44 views

I was trying to exercise with Bazel by packaging a deb package from a collection of scripts I'm writing to automate a few tasks at work. Right now, I keep them either in /usr/local/bin or \~/.local/...
Alessandro Bertulli's user avatar
Best practices
0 votes
0 replies
38 views

I built this Bazel rule and in there, I created a wrapper executable like this: dist_dir = ctx.actions.declare_directory(ctx.label.name) [...] launcher = ctx.actions.declare_file(ctx.label....
qznc's user avatar
  • 1,193
0 votes
1 answer
52 views

On an M3 Mac using MacOS 26.1 and bazel 8.4.2 homebrew, I'm building libtiff where I have libjpeg_turbo as a dependency. When building this I'm getting a linking error regarding jsimd: [ 73%] Linking ...
Peter Baintner's user avatar
Advice
0 votes
0 replies
62 views

Bazel on Linux usually sets the RUNFILES_DIR environment variable but it may alternatively set RUNFILES_MANIFEST_FILE. General advice for scripts is to make your scripts capable of working with both. ...
qznc's user avatar
  • 1,193
0 votes
0 answers
69 views

I followed the instruction https://bazel.build/configure/windows#clang. However, I've got the error "absolute path inclusion(s) found in rule [...]: the source file [...] includes the following ...
ingu's user avatar
  • 1
0 votes
1 answer
71 views

I am trying to use Bazel to build an application that creates an image and uses libjpeg-turbo to save the image as a jpeg. I am trying to use bzlmod to add the libjpeg_turbo dependency, from Bazel ...
Val's user avatar
  • 1
3 votes
1 answer
241 views

I've been doing some kernel development on the Google pixel 9a "tegu" platform (latest version on https://developers.google.com/android/drivers), where Google uses Bazel to compile the ...
samallen985's user avatar
0 votes
0 answers
103 views

I want to build a framework for iOS so that I can run inference in C++ on both Android and iOS via Flutter. So far I have managed to compile the libs for Android and succesfully loaded a model on my ...
El_Loco's user avatar
  • 1,916
0 votes
0 answers
89 views

I have some cc_librarys that I wanna switch through depending on the platform. I was curious if there was any way to do this on bazel. My end goal is to have something like # Building a new library ...
Logan Pageler's user avatar
0 votes
1 answer
47 views

I'm trying to compile a very simple kotlin test file based off of the example at https://kotlinlang.org/docs/jvm-test-using-junit.html#create-a-test in order to prove that my setup in bazel is ...
jxramos's user avatar
  • 8,494
0 votes
0 answers
36 views

I am trying to precheckin my changes. I do not get any build issue while running app locally but I am seeing following issue during precheckin process : bazel-build | # Execution platform: //tools/...
Siddhesh Sawant's user avatar

15 30 50 per page
1
2 3 4 5
232