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

Fix CI on Apple Silicon #82

Merged
merged 1 commit into from
May 18, 2024
Merged

Fix CI on Apple Silicon #82

merged 1 commit into from
May 18, 2024

Conversation

kleisauke
Copy link
Member

The macos-latest image now uses macOS 14 on an M1 runner.
https://github.blog/changelog/2024-04-01-macos-14-sonoma-is-generally-available-and-the-latest-macos-runner-image/

On M1 Macs, Homebrew installs into /opt/homebrew by default and no longer links into /usr/local. Therefore, we need to explicitly set DYLD_LIBRARY_PATH to /opt/homebrew/lib to ensure the dynamic linker can find libvips.

The `macos-latest` image now uses macOS 14 on an M1 runner.

On M1 Macs, Homebrew installs into `/opt/homebrew` by default and no
longer links into `/usr/local`. Therefore, we need to explicitly set
`DYLD_LIBRARY_PATH` to `/opt/homebrew/lib` to ensure the dynamic
linker can find libvips.
Copy link
Collaborator

@rolandlo rolandlo left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for the fix.

@rolandlo rolandlo merged commit 1a092e7 into libvips:master May 18, 2024
15 checks passed
@kleisauke kleisauke deleted the fix-ci branch May 18, 2024 11:32
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.

2 participants