boyter / lc

licensechecker (lc) a command line application which scans directories and identifies what software license things are under producing reports as either SPDX, CSV, JSON, XLSX or CLI Tabular output. Dual-licensed under MIT or the UNLICENSE.
GNU Affero General Public License v3.0
124 stars 17 forks source link

Apple M1 - preferred version unclear #50

Open vielmetti opened 2 years ago

vielmetti commented 2 years ago

README has a warning that master doesn't work, so I downloaded an (x86) release, v1.3.1, to my MacBook Air (M1).

It crashes with a "segmentation fault" right away

> ./lc --help
[1]    75506 segmentation fault  ./lc --help

If you are running this successfully on a M1 Mac I'd love suggestions or help or reports of success/failure.

boyter commented 2 years ago

Ill have to look into this. I am on a M1 Mac now and have not had any issues. Although I have not tried using the older versions.

Perhaps give master a go? It should work.

vielmetti commented 2 years ago

I tried master and it compiled and worked (as far as I could tell as a first-time user) on a small repo. It spun for a very long time on a larger repo which I couldn't tell if there was something broken or I just needed to be patient.

boyter commented 2 years ago

It is indeed very slow by default at the moment. Its something I periodically work on from time to time. I think adding some progress meter would help a lot in that regard though.