-
Notifications
You must be signed in to change notification settings - Fork 394
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
feat: libarchive 3.7.5.bcr1 for windows compression filter fixes #3225
Conversation
Hm thats fair. Thanks for fixing and investigating the issue. The defines I generated were taken from a naive cmake build that certainly wouldn't have covered every environment on Windows. I noticed in the patch that the fuzz test had the 'manual' tag added. It's already skipped in the presubmit, it shouldn't need that manual tag.
As as side note - we should probably move to an overlay style patch for libarchive sooner than later since the patch is quite large and mostly additional. Would have probably made your adjustments much easier and easier for reviewing the changes. |
Definitely agree. We need a better pattern here.
I added it to skip it on local as well, happy to remove it if it needs to be removed. |
This should be ready now, i updated the patch to exclude MODULE.bazel.lock and test.patch, :sigh: |
240aff9
to
961a71f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, so much easier to read :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @bazelbuild/bcr-maintainers, all modules in this PR have been approved by their maintainers. Please take a final look to merge this PR.
modules/libarchive/3.7.5.bcr.1/overlay/libarchive_bazel_windows_config.h
Outdated
Show resolved
Hide resolved
Require module maintainers' approval for newly pushed changes.
Require module maintainers' approval for newly pushed changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @bazelbuild/bcr-maintainers, all modules in this PR have been approved by their maintainers. Please take a final look to merge this PR.
Pick up bazelbuild/bazel-central-registry#3225 for windows compression filter fixes
* chore: release newest entry from BCR Pick up bazelbuild/bazel-central-registry#3225 for windows compression filter fixes * upgrade Bazel, it's required
Fixes linking of various filters for windows making it on par with other platforms.
Currently, when compiling libarchive for windows, some define statements are missing from windows_config.h which results in libarchive shelling out to programs such as
gzip
xz
when encountering archives with such compression algos.Running
bazel-bin/external/libarchive~/tar/bsdtar.exe -tf test.tar.gz
eg: version 3.7.5
version 3.7.5.bcr.1 (this patch):