Skip to content

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