just-js / lo

it's JavaScript Jim, but not as we know it. :space_invader:
MIT License
241 stars 9 forks source link

Seriously, how the heck do I build it? #2

Closed batatinha-espacial closed 1 year ago

batatinha-espacial commented 1 year ago

Please, add a BUILD.md or anything that will help anyone finding how to build it.

batatinha-espacial commented 1 year ago

Or at least a README.md

xyloflake commented 1 year ago

I agree! We need instructions for dumb people (me)

billywhizz commented 1 year ago

sorry folks. these instructions should work. let me know if you have any problems. https://github.com/just-js/lo/blob/experimental/BUILD.md

xyloflake commented 1 year ago

Amazing! This issue must be closed now.

lukeed commented 1 year ago

If on Apple M1+, you need Clang 15+ to support -march=native

ayushmanchhabra commented 1 year ago

Clang 15+ on Ubuntu 22.04 too (safe to assume Linux x64?).

billywhizz commented 1 year ago

If on Apple M1+, you need Clang 15+ to support -march=native

yeah. i don't think these flags are strictly necessary. i will do some tests and likely make some changes so they can be easily overridden and turned off by default.