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

[RFC] Add support for static linking of libressl #114

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

mfelsche
Copy link

This is an experimental change that enables the net_ssl package to not depend upon the system openssl variant, but can be compiled with a pinned vendored libressl version. It is presented as a Proof of concept and request for comments.

This feature could be made available by pony applications using this library by enabling a feature switch -Dlink_static. The naming of this flag is also just experimental and should have a prefix like net_ssl, so it won't collide with other libraries (e.g. crypto).

Windows support is also missing. I don't even know if this is even possible on windows.

@ponylang-main ponylang-main added the discuss during sync Should be discussed during an upcoming sync label Dec 10, 2024
Comment on lines 32 to 42
INPUT_LIBRARY_NAME: "net_ssl"
INPUT_DOCS_BUILD_DIR: "build/net_ssl-docs"
- name: Setup Pages
uses: actions/configure-pages@v2
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: 'build/net_ssl-docs/site/'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
uses: actions/deploy-pages@v4
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is unrelated, please move to a different PR

@SeanTAllen
Copy link
Member

What's the use case here?

@SeanTAllen
Copy link
Member

Also, does this work on macOS?

Comment on lines 55 to 67
INPUT_DOCS_BUILD_DIR: "build/net_ssl-docs"
- name: Setup Pages
uses: actions/configure-pages@v2
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: 'build/net_ssl-docs/site/'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
uses: actions/deploy-pages@v4

trigger-release-announcement:
name: Trigger release announcement
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see above

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI both of those updates are breaking changes. Can you back them out and I will handle that update.

@SeanTAllen
Copy link
Member

What's the [RFC] in the title indicate?

@mfelsche
Copy link
Author

What's the [RFC] in the title indicate?

As it was written above: "It is presented as a Proof of concept and request for comments."

@mfelsche
Copy link
Author

Also, does this work on macOS?

I don't have a macOS system at hand, so I cannot test this. This likely needs some tweeks to work there. Or it doesn't.

@SeanTAllen SeanTAllen removed the discuss during sync Should be discussed during an upcoming sync label Dec 17, 2024
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