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: Remove old MacOS-12 CI test #4464

Closed
wants to merge 1 commit into from

Conversation

lgritz
Copy link
Collaborator

@lgritz lgritz commented Sep 30, 2024

It's an old flavor not well supported by homebrew any longer, so what's happening is that some of the dependency packages we ask to install have to build from source, which means it takes a long long time. Just get rid of it, we have two other Mac test cases -- a newer MacOS 13 Intel one, and a MacOS 14 ARM one. That's enough coverage.

It's an old flavor not well supported by homebrew any longer, so
what's happening is that most of the dependency packages we ask to
install have to build from source, which means it takes a long long
time. Just get rid of it, we have two other Mac test cases -- a newer
MacOS 13 Intel one, and a MacOS 14 ARM one. That's enough coverage.

Signed-off-by: Larry Gritz <[email protected]>
@ThiagoIze
Copy link
Collaborator

The https://vfxplatform.com/ says we should target macOS 12.0 SDK. We can do that on newer macOS by I think setting in cmake CMAKE_OSX_DEPLOYMENT_TARGET. Do we have that? If not, should we add it to say the MacOS-13 runner as part of this PR?

@lgritz
Copy link
Collaborator Author

lgritz commented Sep 30, 2024

The https://vfxplatform.com/ says we should target macOS 12.0 SDK. We can do that on newer macOS by I think setting in cmake CMAKE_OSX_DEPLOYMENT_TARGET. Do we have that? If not, should we add it to say the MacOS-13 runner as part of this PR?

I'm not sure I understand what that does, in light of the fact that we don't rely on anything other than the standard C++ library (nothing newer than C++17) and the other open source dependencies we install ourselves. We're not using any native MacOS APIs, so I'm not sure what there is to nail down specifically to OSX 12.x.

I also have an alternate design that works fine, which is to KEEP this MacOS-12 test, but instruct it not to build OpenCV or Qt. So that means that only for MacOS-12, we wouldn't be building in support for the OpenCV interop or osltoy -- neither of which is actually tested by the automated testsuite anyway. If you think that's a better approach, I can replace the present PR by that version.

@lgritz
Copy link
Collaborator Author

lgritz commented Sep 30, 2024

Alternate approach: #4465

@ThiagoIze
Copy link
Collaborator

It's for more than just macos API. Take this random link I found https://stackoverflow.com/a/19819591 which says it's used for selecting the C++ STL implementation.

Unlike linux where we need to build on older distros so we build against an old enough glibc so the binary works for all users, on macs you can build on the latest macos and instead use this flag to tell the compiler/linker what to target.

@lgritz
Copy link
Collaborator Author

lgritz commented Sep 30, 2024

OK, I'll close this PR and keep building specifically on MacOS-12.

@lgritz lgritz closed this Sep 30, 2024
@lgritz lgritz deleted the lg-macci branch October 1, 2024 01:31
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