dropbox / lepton

Lepton is a tool and file format for losslessly compressing JPEGs by an average of 22%.
https://blogs.dropbox.com/tech/2016/07/lepton-image-compression-saving-22-losslessly-from-images-at-15mbs/
Apache License 2.0
5.01k stars 355 forks source link

Forcing "-march=native"? #122

Closed darealshinji closed 3 years ago

darealshinji commented 5 years ago

I don't know if it's a good idea to force -march=native in configure.ac without an option to disable it (or use i.e. -mavx). Appearently this might lead to binaries that could crash if you want to run them on a different machine, see https://github.com/marian-nmt/marian-dev/issues/278#issuecomment-413930881 .