Comments (9)
Thanks for the friendly heads, guys. I'm so sorry about that--I'd intended to support bzlmod and realized I had a bug in my test setup ๐คฆ๐ป
I've been experimenting with fixes for the past bit. I think I've got something. I'll get back to you soon.
from bazel-compile-commands-extractor.
Should be fixed--but please test and let me know! Again, sorry guys, and thanks for letting me know.
Luke, thanks also for your offer of help. Please know that if you see something like this, I'd always love your help fixing and really appreciate your great bzlmod setup and contributions. I will, of course, try my best to not let more of these get through in the future.
from bazel-compile-commands-extractor.
Definitely! Thanks for your good care on maintenance tools; I know I've spent many an evening working on fixing things there. Also set up lots of automation to help keep everything up-to-date by default; not sure if there's an equivalent.
from bazel-compile-commands-extractor.
Funny enough I ran into a similar thing with rules_appimage the other day, and asked in Bazel Slack: https://bazelbuild.slack.com/archives/CA306CEV6/p1704300901665709
One workaround seems to be something like lalten/rules_appimage#115
from bazel-compile-commands-extractor.
No worries, will give it a go tonight! Thanks for such a quick development turnaround! Sorry I didn't have a chance to jump in and help, been preoccupied trying to get bazelbuild/bazel-central-registry#1280 working๐
from bazel-compile-commands-extractor.
I saw that you'd created something there! Will that obsolete rules_boost, do you think?
from bazel-compile-commands-extractor.
That's the idea๐ It will be far more modular and maintainable, and should be a faster and more efficient solution as only required deps will be downloaded and built. Still working on a transition solution for everyone using the workspace boost rules (which are great, and a lot of the code for the new bzlmod modules comes from). Trying to implement all the original boost tests into it too, so it should be a bit more thorough and complete. Also working on some maintenance tools at https://github.com/dynacondev/boost.rules.tools for bumping versions, creating the patch files and calculating integrity as it's a pain to do manually while developing every time something changes!
from bazel-compile-commands-extractor.
Good point! Will look into automations a bit further down the line๐
from bazel-compile-commands-extractor.
Confirmed bzlmod support is fixed in newest commit, thank you!
Also got the warning:
DEBUG: /private/var/tmp/_bazel_lukea/b010c5e57725766be1c569e8ff75e29e/external/rules_python~0.28.0/python/private/bzlmod/python.bzl:44:10: WARNING: Ignoring toolchain 'python_3_11' from module 'rules_python': Toolchain 'python_3_11' from module 'hedron_compile_commands' already registered Python version 3.11 and has precedence
Which shouldn't be an issue, we do indeed want the already registered one from bzlmod to take precedence if I understand correctly ๐
from bazel-compile-commands-extractor.
Related Issues (20)
- target <target @@hedron_compile_commands//:_refresh_all> does not have rules_python PyRuntimeInfo or builtin PyRuntimeInfo HOT 7
- Another pybind11/hermetic python version problem HOT 3
- ModuleNotFoundError: No module named 'orjson.orjson' HOT 14
- The current user is root, please run as non-root when using the hermetic Python interpreter HOT 4
- [Self-filed] Switch back to rules_python when their issues are fixed HOT 2
- nvcc fatal : Cannot find compiler 'cl.exe' in PATH HOT 4
- Relevant arguments are lost by the `bazel aquery ...` portion of compile command generation HOT 6
- protobufs not working in clangd HOT 1
- Suggested integration with VSCode HOT 1
- refreshAll failed to find C++ standard library if I specify '--sysroot' HOT 5
- clangd failed to find compilation database for dependency code HOT 6
- name 'module_extension' is not defined when used in Tensorflow-1.15.5 version HOT 4
- Linker error - collect2: fatal error: cannot find 'ld' HOT 1
- YCM reporting errors not present when code is actually built HOT 9
- sysroot handling is wrong in certain cases HOT 3
- Error when use with bazel --output_base flag HOT 5
- cuda_rules triggers assert "Something went wrong in makefile parsing to get headers. The target should be an object file."
- Third party library library from Bazel (sub)repository is not recognized HOT 3
- 'PurePosixPath' object has no attribute 'is_relative_to'
- When a giant project already has a folder called external in the root folder HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bazel-compile-commands-extractor.