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 libponyc's link dependency on blake2 library. #3715

Closed
wants to merge 1 commit into from

Conversation

SeanTAllen
Copy link
Member

When trying to use libponyc from a pony program I ran into two linking
problems. Both libblake2 and llvm are required to resolve symbols in
libponyc.

Handling all the LLVM dependencies is large issue, addressing the
libblake dependency is much simpler.

This commit moves libblake from being a library that gets built as a
.a and instead links its .o directly into libponyc.

This change along with a much larger change to address the LLVM dependency
should make it possibly to easily include libponyc into pony programs
via C-FFI.

When trying to use libponyc from a pony program I ran into two linking
problems. Both libblake2 and llvm are required to resolve symbols in
libponyc.

Handling all the LLVM dependencies is large issue, addressing the
libblake dependency is much simpler.

This commit moves libblake from being a library that gets built as a
`.a` and instead links its `.o` directly into libponyc.

This change along with a much larger change to address the LLVM dependency
should make it possibly to easily include libponyc into pony programs
via C-FFI.
@SeanTAllen
Copy link
Member Author

Closing in favor of #3716.

@SeanTAllen SeanTAllen closed this Feb 20, 2021
@SeanTAllen SeanTAllen deleted the inline-blake2 branch February 20, 2021 22:08
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.

1 participant