Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
2 votes
1 answer
254 views

I am trying to configure Telegraf to ingest array data from an MQTT topic into TimescaleDB. My goal is for array-like values to end up as double precision[] instead of text. For example, if I prepare ...
0 votes
0 answers
55 views

I am using GHS compiler in embedded project to generate .elf and .hex files. I have configured CcToolchainConfigInfo as below: cc_toolchain_config.bzl def _impl(ctx): # declare toolpaths (...
0 votes
0 answers
47 views

I currently have two macros wrapping oci_tarball and oci_push macros from rules_oci as below: load("@rules_oci//oci:defs.bzl", "oci_push") load("@rules_oci//oci:defs.bzl",...
1 vote
1 answer
573 views

I have a private Bazel registry in my GitHub organization. I am trying to use that registry with my Bazel builds. Calling Bazel build or query commands with my private remote Bazel registry, expecting ...
0 votes
1 answer
241 views

This works: "srcs": attr.label_list( allow_files=[".proto"] ), But I want also to pass in ProtoInfo targets. "srcs": attr.label_list( allow_files=[".proto"] ) ...
wibotwi's user avatar
  • 118
0 votes
1 answer
474 views

In a project built with Bazel I'm using --action_env to manually modify the build environment in order to avoid unwanted cache hits (this is a current workaround for a more sophisticated solution, but ...
frans's user avatar
  • 9,988
0 votes
1 answer
147 views

I'm trying to find anything about '@' sign in load function in Bazel. We can load things like this load("//foo/bar:file.bzl", library_alias ) But also like this load("@bazel_tools//...
Saper9's user avatar
  • 85
5 votes
1 answer
1k views

I am trying to create a bazel target which will run c++ binary from .cpp file, which is dynamically generated by python script. Lets say I have generator.py which creates in the dir a generated.cpp ...
2 votes
1 answer
489 views

I have a py_binary executable target, and want to use this from a custom rule. I am able to get this to work, but only by duplicating the dependencies of my py_binary target with my custom rule. Is ...
1 vote
1 answer
2k views

I want a Bazel rule which creates a directory, takes a bunch of files, and creates an ISO out of that directory (the ISO is the intended output here, the other files are just byproducts). # Declare ...
Omer Lubin's user avatar
0 votes
1 answer
502 views

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 not executes it. I'm wondering how I could execute ...
Tinyden's user avatar
  • 604
0 votes
1 answer
538 views

I write the below bazel rule for incremental test. This rule(foo_library) has a dependency property. When there are no dependencies, it creates a file with its own name, filling the contents of the ...
Grrrr's user avatar
  • 7
0 votes
1 answer
411 views

I configured Pantsbuild for our Django project, and everything worked neatly. Here is my BUILD file: python_requirement( name="django", requirements=["django==4.1.1"], ) ...
Zurvan's user avatar
  • 308
4 votes
1 answer
1k views

Suppose I have a Bazel macro that is using a generator rule to generate an output file given an input file: def my_generator( name, input_file, output_file, **kwargs): ...
0 votes
1 answer
2k views

I have the following alias defined in a BUILD file: alias( name = "platform", actual = select({ ":macos_x86_64": "macos_x86_64", ":...
qwerty's user avatar
  • 198

15 30 50 per page
1
2 3 4

AltStyle によって変換されたページ (->オリジナル) /