-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bazel: publish a new version to bazel registry #537
Comments
Firstly, the main issue is that bazel-galleze discards CIRCL is a Go(+assembler) only project. However, CIRCL uses Looking at the issues (and workarounds) to make CIRCL working with bazel, the main issue above must be solved by bazel-galleze, so it doesn't exclude header files. However, to be fair, it could be difficult in general to distinguish between C-headers and assembler-headers. In CIRCL's court, we could rename assembly-header files, e.g., |
@fmeum can you give your opinion on this? Thanks! |
The bazel go_rules
The Go assembler documentation does mention a couple of .h files such as
While bazel-gazelle could be fixed to recognize these included macro files (bazel-contrib/bazel-gazelle#1393), that might not happen (soon). I think that a workaround on our side is reasonable. |
Hi there, I'm creating an issue to see if there is a way we can get the latest version published to the bazel registry. It seems like the latest version is 1.3.8 which is a bit outdated.
It seems like importing circl via bzlmod this way is a good way to resolve the amd64 compilation issues (due to missing header) from issues like this: bazel-contrib/rules_go#3799 (comment) and bazel-contrib/bazel-gazelle#1421
This would be a big help to not have to do a hacky patch like https://github.com/satreix/everest/blob/7026e38065d2dece92a1bced59083f85928bf638/third_party/go/deps.bzl#L103-L104
Longer term, I wonder if it's possible to help resolve this issue in general via a contribution to circl? Unfortunately I'm not an expert on bazel / gazelle / circl so I'm not sure of the best solution here. Thanks for the help and any insights! This would definitely reduce a lot of the friction when using this library via bazel
The text was updated successfully, but these errors were encountered: