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

CI: fix macos unbreaking python #13136

Merged
merged 6 commits into from
Apr 25, 2024

Conversation

dcbaker
Copy link
Member

@dcbaker dcbaker commented Apr 24, 2024

The install location seems to have moved, which breaks our job to unbreak things.

@dcbaker dcbaker requested a review from jpakkane as a code owner April 24, 2024 16:15
Qt4 doesn't seem to work on Apple Silicon because OpenSSL 1.0 (a
requirement for Qt4) doesn't build on it correctly, trying to use X86
assembly.
@dcbaker dcbaker force-pushed the submit/fix-macos-ci branch 3 times, most recently from 24effad to de00a80 Compare April 24, 2024 17:30
@dcbaker dcbaker force-pushed the submit/fix-macos-ci branch from de00a80 to 4eee258 Compare April 25, 2024 16:55
dcbaker added 4 commits April 25, 2024 12:09
homebrew installs to /usr/local on Intel based macs, but has moved to
/opt/homebrew for those using Apple Silicon.
There are some additional packages that seem to be needed on Apple based
Silicon.
Boost now requires C++ 14, as of 1.82
@dcbaker dcbaker force-pushed the submit/fix-macos-ci branch from 85a20cd to f3cdfda Compare April 25, 2024 19:13
Comment on lines +695 to -692
Path('/usr/local/opt/boost'), # for Intel Silicon MacOS
])
tmp += [Path('/opt/local')]
tmp += [Path('/usr/local/opt/boost')]
Copy link
Member

Choose a reason for hiding this comment

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

This path is specific to Apple? Good to know...

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, homebrew on Intel puts its stuff there. I don't think it's a place we should necessary search automatically. I'm a little skeptical of some of the paths in there in general. Handling homebrew seems reasonable as it's pretty much de facto for Apple

On Apple Silicon the default search path is /opt/homebrew instead of
/usr/local.
@dcbaker dcbaker force-pushed the submit/fix-macos-ci branch from f3cdfda to fd65b09 Compare April 25, 2024 19:20
@eli-schwartz eli-schwartz merged commit 80b9b12 into mesonbuild:master Apr 25, 2024
33 of 35 checks passed
@dcbaker dcbaker deleted the submit/fix-macos-ci branch April 25, 2024 20:24
@eli-schwartz eli-schwartz added this to the 1.4.1 milestone May 29, 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