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

Problem with macos-latest #238

Closed
53845714nF opened this issue May 6, 2024 · 5 comments
Closed

Problem with macos-latest #238

53845714nF opened this issue May 6, 2024 · 5 comments

Comments

@53845714nF
Copy link

53845714nF commented May 6, 2024

I work on the Spix Project and this use your action.

I get the following warning:
ld: warning: ignoring file '/Users/runner/work/spix/Qt/5.15.2/clang_64/lib/QtCore.framework/Versions/5/QtCore': found architecture 'x86_64', required architecture 'arm64'

It seems that the runner is on arm64 and the action download the x86_64 version of qt.
If I use macos-13 it works.
Is there any suggestion or workaround?

@jurplel
Copy link
Owner

jurplel commented May 6, 2024

I don't think Qt 5.15.2 is available in arm64 from the official distributions. I checked and 6.5.0 is retrieved by aqtinstall as a universal binary.

@jdpurcell
Copy link

If you don't need ARM binaries you could pass -DCMAKE_OSX_ARCHITECTURES=x86_64 to cmake.

@53845714nF
Copy link
Author

I don't think Qt 5.15.2 is available in arm64 from the official distributions. I checked and 6.5.0 is retrieved by aqtinstall as a universal binary.

So should I leave it at macos-13 with Qt5?
I also have another question of understanding: why are you looking in apt for packages for a macOS?

@53845714nF
Copy link
Author

If you don't need ARM binaries you could pass -DCMAKE_OSX_ARCHITECTURES=x86_64 to cmake.

As far I understand, the macos-latest is always an arm64 machine. Or is it possible to start it as x86?

@53845714nF
Copy link
Author

I think it helps me a lot.

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

No branches or pull requests

3 participants