ci: use upstream BUILD file in nlohmann json#14310
Conversation
|
@scotthart @dbolduc could you please trigger the tests? Thanks! |
|
/gcbrun |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #14310 +/- ##
=======================================
Coverage 93.22% 93.22%
=======================================
Files 2181 2181
Lines 191080 191080
=======================================
+ Hits 178125 178128 +3
+ Misses 12955 12952 -3 ☔ View full report in Codecov by Sentry. |
|
🤖 I detect that the PR title and the commit message differ and there's only one commit. To use the PR title for the commit history, you can use Github's automerge feature with squashing, or use -- conventional-commit-lint bot |
|
I'm concerned that the upstream BUILD.bazel file specifies |
How? AFAICT, the library is header-only, it does not contain any Furthermore, if it library had any |
|
Seems like this PR needs a rebase |
f1c3f01 to
d812878
Compare
Rebased. |
|
/gcbrun |
scotthart
left a comment
There was a problem hiding this comment.
My understanding is that alwayslink functions similarly to --whole-archive, perhaps I'm mistaken. But, as you correctly point out, there are no .o files in this header only library (which probably won't deviate from being header only in the future).
Reviewed 5 of 6 files at r1, 1 of 1 files at r2, all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @mering)
|
The conventionalcommits failure should resolve if you edit the commit message to follow the same pattern as the PR title. |
correct, but we can just edit the squash commit message for the same effect (which I just did). |
|
Thanks to both of you for your help! |
|
On the contrary, thanks for the PR. We completely missed that this dependency had introduced support for Bazel. |
This reduces maintenance and unblocks people from using the nlohmann_json dependency from BCR when using Bzlmod.
This change is