Skip to content
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

Remove dependency on zinfo C library #120

Merged
merged 1 commit into from
Nov 4, 2022

Conversation

vkuzniet
Copy link
Contributor

Signed-off-by: Viktor Kuznietsov [email protected]

Issue #, if available:
#78

Description of changes:
Removed linking to zinfo.a. Also moved the C files to soci.
gzip_zinfo.go also gets the unmarshaling of gzip_zinfo C struct, which is used in ztoc tests.

Testing performed:

  • make test && make check && make integration pass

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@vkuzniet vkuzniet requested a review from a team as a code owner October 20, 2022 15:50
soci/gzip_zinfo.go Outdated Show resolved Hide resolved
@rdpsin
Copy link
Contributor

rdpsin commented Oct 20, 2022

Does this change mean it is now possible to use the soci package as a separate module?

soci/gzip_zinfo.go Outdated Show resolved Hide resolved
soci/gzip_zinfo.go Outdated Show resolved Hide resolved
soci/gzip_zinfo.go Outdated Show resolved Hide resolved
soci/gzip_zinfo.go Outdated Show resolved Hide resolved
soci/gzip_zinfo.go Outdated Show resolved Hide resolved
Signed-off-by: Viktor Kuznietsov <[email protected]>
soci/ztoc_test.go Show resolved Hide resolved
@vkuzniet
Copy link
Contributor Author

vkuzniet commented Nov 4, 2022

Does this change mean it is now possible to use the soci package as a separate module?

Yes, since soci is now self-contained. It will be done as a separate PR.

@wmesard wmesard merged commit 0a2737d into awslabs:main Nov 4, 2022
@vkuzniet vkuzniet deleted the remove-clibrary branch November 7, 2022 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants