Skip to content

Commit

Permalink
No issue - Update SQLite to 3.46.0
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfbeast committed Jul 9, 2024
1 parent 27ce4ea commit eebb25d
Show file tree
Hide file tree
Showing 5 changed files with 18,425 additions and 8,062 deletions.
43 changes: 9 additions & 34 deletions db/sqlite3/README
Original file line number Diff line number Diff line change
@@ -1,39 +1,14 @@
This directory contains source code to
This is the SQLite amalgamation.
Check sqlite3.h for the version number and source id.

SQLite: An Embeddable SQL Database Engine
See http://www.sqlite.org/ for more info.

To compile the project, first create a directory in which to place
the build products. It is recommended, but not required, that the
build directory be separate from the source directory. Cd into the
build directory and then from the build directory run the configure
script found at the root of the source tree. Then run "make".
We have a UXP-specific moz.build in src/ (normally not there) that we
use to build. Adfditionally, src/ contains sqlite.symbols which lists
all explicitly exported symbols from the library to expose.

For example:
To move to a new version:

tar xzf sqlite.tar.gz ;# Unpack the source tree into "sqlite"
mkdir bld ;# Build will occur in a sibling directory
cd bld ;# Change to the build directory
../sqlite/configure ;# Run the configure script
make ;# Run the makefile.
make install ;# (Optional) Install the build products
Copy the sqlite3.h and sqlite3.c files from the amalgamation of sqlite.

The configure script uses autoconf 2.61 and libtool. If the configure
script does not work out for you, there is a generic makefile named
"Makefile.linux-gcc" in the top directory of the source tree that you
can copy and edit to suit your needs. Comments on the generic makefile
show what changes are needed.

The linux binaries on the website are created using the generic makefile,
not the configure script. The windows binaries on the website are created
using MinGW32 configured as a cross-compiler running under Linux. For
details, see the ./publish.sh script at the top-level of the source tree.
The developers do not use teh configure script.

SQLite does not require TCL to run, but a TCL installation is required
by the makefiles. SQLite contains a lot of generated code and TCL is
used to do much of that code generation. The makefile also requires
AWK.

Contacts:

http://www.sqlite.org/
Be sure to update SQLITE_VERSION accordingly in $(topsrcdir)/old-configure.in.
13 changes: 0 additions & 13 deletions db/sqlite3/README.MOZILLA

This file was deleted.

Loading

0 comments on commit eebb25d

Please sign in to comment.