Apple M1 core problem when installing solana

Hi guys,

I am trying to install solana on my mac which contains Apple M1 core. Everything goes well , but the solana-test-validator. it come with “illegal hardware instruction solana-test-validator”.

I have fix this problem.
reference: