-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Isolate macOS wheel builds from Homebrew #8497
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
0fe55d6
Isolate macOS build from Homebrew.
freakboy3742 fc35fcc
Cleanups and typos identified by code review.
freakboy3742 00809a2
Tweaks to ensure isolation from Homebrew on x86_64.
freakboy3742 06dbfed
Bump the multibuild version to fix jpeg-turbo issue.
freakboy3742 5a8373e
Correct a dumb pip invocation error.
freakboy3742 140a06e
Explicitly disable libdeflate on libtiff.
freakboy3742 0961d3d
Possible fix for linux build failures.
freakboy3742 43c34fc
Copy manylinux lib64 files from the correct built prefix.
freakboy3742 3e4be4b
Merge branch 'main' into homebrew-isolation
radarhere 0855468
Revert fribidi/raqm changes for macOS builds.
freakboy3742 8308bf3
Bump multibuild to include more cmake changes.
freakboy3742 c74a5bd
Correct paths used for Linux build.
freakboy3742 72d81e2
Simplify Linux config by correcting a logic error in macOS config.
freakboy3742 ec214e4
Can't check IS_MACOS until common_utils is invoked.
freakboy3742 d1a4f80
Don't use multibuild variables before invoking multibuild.
freakboy3742 6d13704
Remove stray debug.
freakboy3742 467f120
Merge branch 'main' into homebrew-isolation
radarhere c6912f8
Corrected typo in code comment.
freakboy3742 96ae15c
Merge branch 'main' into homebrew-isolation
freakboy3742 01270b5
Use the intended entry point for the x86_64 brew binary.
freakboy3742 51e3623
Revert x86_64 homebrew location change (with explanation).
freakboy3742 e82b539
Correct handling of vendored fribidi.
freakboy3742 904416b
Merge branch 'main' into homebrew-isolation
freakboy3742 4e35852
Correct typo in comment.
freakboy3742 681a03b
Apply suggestions from code review
freakboy3742 378df7a
Disable platform guessing instead of adding dependencies-prefix
radarhere 9dc6904
Correct the lookup of libfribidi on x86 macOS installs.
freakboy3742 0e3eb70
Merge pull request #1 from radarhere/homebrew-isolation
freakboy3742 54f2334
More tweaks from code review.
freakboy3742 96b898c
A couple more cleanups from code review.
freakboy3742 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Corrected typo in code comment.
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
- Loading branch information
commit c6912f81ff20211c2638be64bc198024aa9a5b40
There are no files selected for viewing
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
Oops, something went wrong.
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.
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 would have thought just '/usr/local', based on https://docs.brew.sh/Installation
Uh oh!
There was an error while loading. Please reload this page.
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.
Turns out both work (for
brew
at least) - Homebrew keeps the "original" versions in /usr/local/homebrew. However, I agree that/usr/local
is the generally intended entry point.Uh oh!
There was an error while loading. Please reload this page.
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 take that back - it does matter (and making this change caused test failures on x86_64).
Firstly, it's possible for homebrew to have packages installed, but not linked. Using the
/usr/local/Homebrew
location ensures that the binary can be used regardless (note also the capitalisation fix - doesn't strictly matter on HFS+, but for accuracy).Secondly, it's possible for other libraries to be in
/usr/local/lib
. Using/usr/local/Homebrew/lib
for theDYLD_LIBRARY_PATH
avoids this.