-
Notifications
You must be signed in to change notification settings - Fork 331
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
Issue when compiling on CI: Must not detect more than one architecture #2469
Comments
The issue is that the The Highway C++ files have to be compiled twice if you want to target for both x86_64 and ARM64 on macOS, once for x86_64 and once for ARM64. One way to configure CMake to build for both x86_64 and ARM64 is to pass in the If Google Highway is configured to be built for both x86_64 and ARM64 using XCode project files, |
@7sharp9 I did successfully build Google Highway for macOS for both x86_64 and ARM64 using a GitHub Workflow, and the results of that workflow run can be found at https://github.com/johnplatts/jep_google_highway/actions/runs/13345004943/job/37274387258. Here is the GitHub workflow that I used to build Google Highway for macOS (and this workflow is not part of the Google Highway master branch): |
@johnplatts Im guessing the workflow Im using has never built highway before. When I build locally my cmake contains:
And highway is pulled in via CPMAddPackage:
That succesfully created a universal lib for highway etc an my local machine. I'll have a look at the workflow you provided, thanks! |
@johnplatts I think it's to do with the I trie the |
Hi, Im getting an error when running on GI while building a mac architecture:
|
Did I miss something I need to do on the CI?
The text was updated successfully, but these errors were encountered: