Skip to content
This repository was archived by the owner on Mar 19, 2024. It is now read-only.

Fix compilation error on Apple Silicon #1176

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

messense
Copy link

Closes #1174

@facebook-github-bot
Copy link
Contributor

Hi @messense!

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file.

In order for us to review and merge your code, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

If you have received this in error or have any questions, please contact us at [email protected]. Thanks!

@facebook-github-bot
Copy link
Contributor

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

@mohmb66
Copy link

mohmb66 commented Jan 21, 2021

Hi

@lloyd
Copy link

lloyd commented Oct 14, 2021

This unblocked me! Thanks for the contribution!

if(APPLE)
# on macOS "uname -m" returns the architecture (x86_64 or arm64)
execute_process(
COMMAND uname -m
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

command uname-apple-script

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

compilation error on Apple M1
5 participants