-
-
Notifications
You must be signed in to change notification settings - Fork 393
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install using system libsqlite3-dev rather than compiling from source #230
Comments
You can verify the tarball by running:
If the two printed md5 checksums match, the copy of SQLite3 being used is authentic. Of course, you'll also need to verify that
If the main concern is build times, unfortunately there's no official work-around right now. I suppose technically you could cache |
Thank you very much for the verification instructions and pointer to the Thanks also for the explanation, I can see how bundling a source tarball is the easiest way to do things from It would be helpful if |
@splintax Each of the compilation flags used by better-sqlite3 can be omitted in a custom build. There are two required flags, but those will automatically be added during the build process whether you like it or not (see: reference). As for what each flags does, yes you'll have to consult the SQLite3 documentation, which is also linked to from the |
I'll close this issue with a brief summary of why each compile-time flag is included in the default build of
|
Thank you very much for that summary – I'm still pretty new to |
Thanks for this library, it's very easy to use. I don't know much about
node-gyp
so please forgive me if I've got some kind of configuration problem, but from what I can tell, installing this package withnpm install
means compiling a fresh copy of SQLite from the source provided inbetter-sqlite3/deps/sqlite3.tar.gz
. Is there some way to installbetter-sqlite3
using a system installation oflibsqlite3-dev
? This would accelerate build times and make it easier to audit the code inbetter-sqlite3
. Currently I just have to take the maintainer's word that the bundled tarball is an authentic copy of SQLite ...The text was updated successfully, but these errors were encountered: