fix(core): handle multiple installations of jemalloc#3562
Merged
faustbrian merged 1 commit intoArkEcosystem:2.6from Mar 2, 2020
alessiodf:jemalloc
Merged
fix(core): handle multiple installations of jemalloc#3562faustbrian merged 1 commit intoArkEcosystem:2.6from alessiodf:jemalloc
faustbrian merged 1 commit intoArkEcosystem:2.6from
alessiodf:jemalloc
Conversation
|
Thanks for submitting this pull request! A maintainer will review this in the next few days and explicitly select labels so you know what's going on. If no reviewer appears after a week, a reminder will be sent out. |
faustbrian
approved these changes
Mar 2, 2020
|
A collaborator has approved this PR. A maintainer will merge this PR shortly. If it shouldn't be merged yet, please leave a comment saying so and we'll wait. Thank you for your contribution! |
|
Your pull request has been merged but was not assigned a bounty tier. A maintainer will assign a bounty tier to this pull request in the next few days. |
|
Your pull request has been merged. Thank you for your contribution to the ARK Ecosystem. |
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.
Summary
This handles an edge case if there are multiple installations of jemalloc (e.g. a system-wide installation via a package manager in
/usr/liband also another version built from source in/usr/local/lib).Previously it would fail because the
jemallocPathwould contain a concatenation of both installation paths separated by a newline. Now we just take the first path that we find.Checklist