neurophysik / jitcdde

Just-in-time compilation for delay differential equations
Other
57 stars 14 forks source link

clang: error: the clang compiler does not support '-march=native' #49

Closed drsaroj closed 1 year ago

drsaroj commented 2 years ago

Hello,

I am getting this error on running the jitcdde

clang: error: the clang compiler does not support '-march=native' error: command '/usr/bin/clang' failed with exit code 1

I am using the version jitcxde-common 1.5.4

Wrzlprmft commented 2 years ago

Let me guess: You are on an Apple machine using the Clang that comes with it.

Either way you need to make JiTCDDE not use that Clang with that flag, for which there are several options: