Make extconf.rb honor AR and LD variables in addition to CC#3165
Merged
flavorjones merged 1 commit intosparklemotion:mainfrom Apr 27, 2024
Merged
Conversation
Contributor
Author
|
Also, let me know what the policy is w/r/t updating the CHANGELOG.md. |
Member
|
Thanks for opening this. I'm on holiday for a few more days and will review as soon as I'm back. One note, though: the 1.15 branch is unsupported and I don't want to cut any more releases on that series. I hope that's not an unpleasant surprise. |
Contributor
Author
|
Meh, I suppose I have no choice but to live with it :). |
Signed-off-by: Keith Gable <keith@ziggythehamster.sh>
de51a4d to
32b9dbc
Compare
Member
|
I'll take care of the changelog entry once this merges. Thank you for contributing this! Edit: changelog commit is 76c4373 |
Member
|
(And if you really need a patch release for v1.16.x I'll do it, just please open a PR on the |
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What problem is this PR intended to solve?
#3160
Note I also have branches that fix this on v1.16.x and v1.15.x, but I wanted to make sure I actioned feedback in one place before I opened additional MRs.
Also note that Nokogiri doesn't seem to honor variables passed as gem configuration args, and I didn't add that here because I'm not entirely sure what the "canonical" way to do this is with mkmf/mini_portile. In other situations where I need to provide the toolchain (rdkafka/karafka-rdkafka), there seems to be no special code to convert
FOO=BARto an env var.That said, it's not actually necessary in my case because using
ARandLDfromRbConfigis sufficient. So one might say if you need to do something different from that, maybe it's actually a good thing that you would need to doAR=x gem install nokogirirather thangem install nokogiri -- AR=x. I can take a stab at making this work, though, if the team thinks that both ways should work.Have you included adequate test coverage?
N/A but I assume if it breaks the build in some configuration I didn't test, GitHub Actions will be mad about it :).
Does this change affect the behavior of either the C or the Java implementations?
No