Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
jj (Jujutsu) 0.4.0 (new formula) #105986
jj (Jujutsu) 0.4.0 (new formula) #105986
Changes from 1 commit
063fe50
fef5f25
33706aa
8a1bde2
dda9e41
854c065
906dd6f
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
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.
Also, is the OpenSSL dependency needed on macOS? It seems like it might be Linux-only.
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.
In the directions for compiling from source, it does suggest installing openssl and adding it to the PKG_CONFIG_PATH. https://github.com/martinvonz/jj#mac
I assume the zlib just uses_from_macos is just being explicit? Just curious why it worked for me without it.
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.
There's currently no linkage with OpenSSL, though, given the
brew linkage
output:Are you sure
cargo
makes use of OpenSSL?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.
uses_from_macos
is for Linux; it does nothing on macOS.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.
@martinvonz, do you remember when openssl is required for macOS? I assume it could be an older version of macOS or something?
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.
I don't remember if or when it's required for macOS. I added the vendoring of OpenSSL in cac93e27939362fc4a834f5e3654a5bf2eaaf618. That was for musl support on Linux. You can disable the
vendored-openssl
feature if you want to link against the installed OpenSSL instead on macOS.Regarding the installation instructions, I think I just forgot to remove the suggestion to install
openssl
when I madevendored-openssl
the default.(Sorry about the slow response; I'm on vacation and will be for another two weeks.)
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.
We can probably keep OpenSSL as Linux-only, then. We should also disable the
vendored-openssl
feature, as we want to be able to ship security updates.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.
Okay, so disabling vendored-openssl results in it linking with the brew openssl (
uses_from_macos openssl
):So I've kept it as
depends_on
openssl with thevendored-openssl
removed:The linux linkage reports a lint with the gcc linkage, so I added another depends_on and we're good on both platforms.