Describe the bug
Compiling S4 uses the -march=native flag which does not work on the new Apple/ARM M1 chips (and according to this also some other architectures)
To Reproduce
Normal installation (according to the documentation) including S4 installation.
Environment (please complete the following information):
OS: MacOS Monterey 12.0.1, M1 Max chip
RayFlare version 1.0.1
Additional context
Can be fixed by replacing the -march=native flag by -mcpu=apple-m1. This requires changing the Makefile, may need to create a separate Makefile for these cases.
Describe the bug Compiling S4 uses the
-march=native
flag which does not work on the new Apple/ARM M1 chips (and according to this also some other architectures)To Reproduce Normal installation (according to the documentation) including S4 installation.
Environment (please complete the following information):
Additional context Can be fixed by replacing the
-march=native
flag by-mcpu=apple-m1
. This requires changing the Makefile, may need to create a separate Makefile for these cases.