Skip to content
This repository has been archived by the owner on Jun 24, 2024. It is now read-only.

Fix build on macos m1 #426

Merged
merged 1 commit into from
Sep 18, 2023
Merged

Fix build on macos m1 #426

merged 1 commit into from
Sep 18, 2023

Conversation

olexiyb
Copy link
Contributor

@olexiyb olexiyb commented Sep 14, 2023

During a build using Jenkins agent I got an error -mcpu=native is not available for clang

(cherry picked from commit ca32be6)
@LLukas22
Copy link
Contributor

Looks good. Just to confirm, this only occurs if you target macos on a non mac machine?

@philpax philpax merged commit 84800b0 into rustformers:main Sep 18, 2023
@olexiyb olexiyb deleted the m1-build-fix branch September 20, 2023 08:12
philpax added a commit that referenced this pull request Nov 12, 2023
This code doesn't feel right. The original order pre-#426 should work -
why would mcpu=native not work in that case?

I think this is something that will need revisiting.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants