Skip to content
This repository has been archived by the owner on Dec 17, 2023. It is now read-only.

removed arch check, compiles native for arm64 and x86 #51

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mlaves
Copy link

@mlaves mlaves commented Apr 10, 2021

RDM now compiles natively for arm64 (Apple M1, Apple Silicon)

Fixes #55

@mlaves
Copy link
Author

mlaves commented Feb 9, 2022

RDM now compiles for macOS 12.2.

Fixes #57

@Ritbit
Copy link

Ritbit commented Aug 9, 2022

Why remove the CFLAGS...?

You better replace ARCH_FLAGS=-arch x86_64 with ARCH_FLAGS=-arch x86_64 -arch arm64 so it builds as universal binary.

@mlaves
Copy link
Author

mlaves commented Aug 9, 2022

What is the need for the arch flags? It compiles just fine as a universal binary without the flags.

@Ritbit
Copy link

Ritbit commented Aug 9, 2022

@mlaves: interesting.. it did not on my buildservers, it only build a binary for the CPU of the system (tried both M1 and Intel systems)

@mlaves
Copy link
Author

mlaves commented Aug 15, 2022

@Ritbit Okay, then I will add the arch flags back again.

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Native Support for Apple SoC arm chips (M1, M1 Pro, M1 Max)
2 participants