Keith Smiley

Results 347 issues of Keith Smiley

### Description of the bug: If you have a simple constraint like this: ```bzl constraint_setting(name = "something") constraint_value( name = "has_something", constraint_setting = ":something", ) ``` And you create a...

type: bug
team-Configurability
untriaged

# 🚀 feature request ### Description When you're debugging python targets that load python C extensions, it can be useful in general to run something like `lldb -- python3 -m...

Some log messages like this: ``` >>> //external links to the wrong place. Automatically deleting and relinking... >>> Automatically added //external workspace link: This link makes it easy for you--and...

Currently there doesn't seem to be a good way to filter out some targets from the compile command generation. In one of our cases we build the same cpp file...

While debugging the perf of this tool in our project I discovered this: https://github.com/hedronvision/bazel-compile-commands-extractor/blob/1e08f8e0507b6b6b1f4416a9a22cf5c28beaba93/refresh.template.py#L665-L667 It sounds like there might be some poor devx cases being solved here, but it's not...

``` Traceback (most recent call last): File "/home/ubuntu/.cache/bazel/_bazel_ubuntu/6b14d4c6387320db4445b1f7e9639459/execroot/_main/bazel-out/k8-fastbuild-default/bin/refresh_compile_commands.runfiles/_main/refresh_compile_commands.check_python_version.py", line 15, in refresh_compile_commands.main() File "/home/ubuntu/.cache/bazel/_bazel_ubuntu/6b14d4c6387320db4445b1f7e9639459/execroot/_main/bazel-out/k8-fastbuild-default/bin/refresh_compile_commands.runfiles/_main/refresh_compile_commands.py", line 1426, in main compile_command_entries.extend(_get_commands(args.bazel, target, flags, passthrough_flags)) File "/home/ubuntu/.cache/bazel/_bazel_ubuntu/6b14d4c6387320db4445b1f7e9639459/execroot/_main/bazel-out/k8-fastbuild-default/bin/refresh_compile_commands.runfiles/_main/refresh_compile_commands.py", line 1282, in _get_commands yield from...

### Module location https://github.com/gperftools/gperftools/ ### Link to bzlmod issue in the module's repository _No response_ ### Any other context to provide? _No response_ ### Fund our work - [ ]...

module wanted

### Page link: https://bazel.build/reference/be/c-cpp ### Problem description (include actual vs expected text, if applicable): cc_import doesn't have a documented `linkopts` attribute but that seems to exist at least in bazel...

P3
team-Rules-CPP
team-Documentation
stale

team-Rules-ObjC
awaiting-review

This field is useful for many situations, such as when you want to create a native python extension, which doesn't follow the standard library naming conventions.

team-Rules-CPP
awaiting-review