rav1e: remove build-time dependency on libgit2#355325
Conversation
4f57f07 to
8750c8c
Compare
8750c8c to
c4a4f95
Compare
paparodeo
left a comment
There was a problem hiding this comment.
LGTM -- maybe target llvm-19 branch
emilazy
left a comment
There was a problem hiding this comment.
Will handle the merge myself.
this triggers 1001 -> 2500 rebuilds. #355124 so shouldn't be in master. |
|
Fixed in #355456, sorry. Will reapply on |
yeah, I could've mentioned it it my approval message |
|
Sorry about that! I didn’t anticipate so many dependencies but this library is popular! |
|
I think it’s via FFmpeg, great aggregator of mass rebuilds :) |
It has a dependency on an old, vendored version of libgit2, which was causing some pain for work updating to clang 19. When investigating, we noticed that it only seems to use libgit2 at build-time to encode and later print out the commit hash as part of the version string. This can be disabled from the list of default features.
The main difference from what I can see is that the current version is printed out as:
while afterward we have:
Note that we don't even currently get the git revision, probably because we fetch from crate.io instead of from GitHub while keeping the .git directory intact.
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.