qpv-research-group / rayflare

Open-source, integrated optical modelling of complex stacks
Other
33 stars 12 forks source link

Issue installing S4 on Macs with Apple silicon (M1) #42

Closed phoebe-p closed 2 years ago

phoebe-p commented 2 years ago

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.

phoebe-p commented 2 years ago

Addressed by phoebe-p/S4#8