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

apple m1 support #400

Closed
wants to merge 1 commit into from
Closed

apple m1 support #400

wants to merge 1 commit into from

Conversation

tolya-yanot
Copy link
Member

By @doronaviguy

Old PR - newton-blockchain#59

This PR includes the following

  1. detecting arm based apple devices and passing the right value to clang complier
  2. in case of ARM processor we are declaring the cpp version to be 14 set(CMAKE_CXX_STANDARD 14)
  3. changing the clang flag from march to mcpu and pass the right flag based on the system architecture, in case of an apple arm based processor we are passing -mcpu=apple-m14.

Tested on apple both arm and non arm cpus

@EmelyanenkoK
Copy link
Member

Close in favor #385

@EmelyanenkoK EmelyanenkoK deleted the apple-m1-support branch June 11, 2022 07:53
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