SQLite Forum

Universal binary build for Apple Silicon
Login
I lack an M1 Macintosh to experiment with, however …

SQLite, just as it is, works fine on M1 Macs.  The processing isn't as fast as it might be but the time bottleneck for SQLite is storage access, not processing.  Unless you're work on in-memory databases it won't make much difference.

As far as I know, to get fat binary out of clang you need

<code>clang -arch arm64 -arch x86_64</code>

These two pages look most relevant if you want to work further:

<https://build2.org/blog/apple-m1-compilation.xhtml>

<https://stackoverflow.com/questions/65293299/how-to-build-llvm-clang-clang-for-apple-m1>