Skip to content

Commit

Permalink
3.47.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nalgeon committed Oct 26, 2024
1 parent 7a9f1b4 commit 9cd8c59
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# https://github.com/nalgeon/sqlite

SQLITE_RELEASE_YEAR := 2024
SQLITE_VERSION := 3460000
SQLEAN_VERSION := 0.24.0
SQLITE_VERSION := 3470000
SQLEAN_VERSION := 0.27.1

SQLITE_OPT_WIN := -DSQLITE_ENABLE_DBPAGE_VTAB -DSQLITE_ENABLE_DBSTAT_VTAB -DSQLITE_ENABLE_EXPLAIN_COMMENTS -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS5 -DSQLITE_ENABLE_GEOPOLY -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_MATH_FUNCTIONS -DSQLITE_ENABLE_OFFSET_SQL_FUNC -DSQLITE_ENABLE_RTREE -DSQLITE_ENABLE_STAT4 -DSQLITE_ENABLE_STMTVTAB -DSQLITE_ENABLE_UNKNOWN_SQL_FUNCTION -DSQLITE_LIKE_DOESNT_MATCH_BLOBS -DSQLITE_THREADSAFE=0 -DSQLITE_USE_URI

Expand All @@ -15,7 +15,7 @@ SQLEAN_INC := -include src/regexp/constants.h

SQLEAN_OPT := -DSQLITE_EXTRA_INIT=core_init -DSQLEAN_VERSION='"$(SQLEAN_VERSION)"'

SQLEAN_SRC_WIN := src/sqleanshell.c src/sqlean.c src/sqlite3-sqlean.c src/crypto/*.c src/define/*.c src/fileio/*.c src/fuzzy/*.c src/math/*.c src/regexp/*.c src/regexp/pcre2/*.c src/stats/*.c src/text/*.c src/unicode/*.c src/uuid/*.c src/vsv/*.c
SQLEAN_SRC_WIN := src/sqleanshell.c src/sqlean.c src/sqlite3-sqlean.c src/crypto/*.c src/define/*.c src/fileio/*.c src/fuzzy/*.c src/math/*.c src/regexp/*.c src/regexp/pcre2/*.c src/stats/*.c src/text/*.c src/text/*/*.c src/time/*.c src/unicode/*.c src/uuid/*.c src/vsv/*.c

SQLEAN_SRC := $(SQLEAN_SRC_WIN) src/ipaddr/*.c

Expand Down Expand Up @@ -53,7 +53,7 @@ compile-sqlite-windows:
gcc -Os -Isrc $(SQLITE_OPT_WIN) $(SQLITE_SRC) -o dist/sqlite3.exe

compile-sqlite-macos:
gcc -Os $(SQLITE_OPT) $(SQLITE_SRC) -o dist/sqlite3-macos-x86 -target x86_64-apple-macos10.12 $(LINK_LIB)
gcc -Os $(SQLITE_OPT) $(SQLITE_SRC) -o dist/sqlite3-macos-x86 -target x86_64-apple-macos10.15 $(LINK_LIB)
gcc -Os $(SQLITE_OPT) $(SQLITE_SRC) -o dist/sqlite3-macos-arm -target arm64-apple-macos11 $(LINK_LIB)
lipo -create -output dist/sqlite3-macos dist/sqlite3-macos-x86 dist/sqlite3-macos-arm
chmod +x dist/sqlite3-macos
Expand All @@ -66,7 +66,7 @@ compile-sqlean-windows:
gcc -O1 -Isrc $(SQLITE_OPT_WIN) $(SQLEAN_OPT) $(SQLEAN_INC) $(SQLEAN_SRC_WIN) -o dist/sqlean.exe

compile-sqlean-macos:
gcc -O1 -Isrc $(SQLITE_OPT) $(SQLEAN_OPT) $(SQLEAN_INC) $(SQLEAN_SRC) -o dist/sqlean-macos-x86 -target x86_64-apple-macos10.12 $(LINK_LIB)
gcc -O1 -Isrc $(SQLITE_OPT) $(SQLEAN_OPT) $(SQLEAN_INC) $(SQLEAN_SRC) -o dist/sqlean-macos-x86 -target x86_64-apple-macos10.15 $(LINK_LIB)
gcc -O1 -Isrc $(SQLITE_OPT) $(SQLEAN_OPT) $(SQLEAN_INC) $(SQLEAN_SRC) -o dist/sqlean-macos-arm -target arm64-apple-macos11 $(LINK_LIB)
lipo -create -output dist/sqlean-macos dist/sqlean-macos-x86 dist/sqlean-macos-arm
chmod +x dist/sqlean-macos
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ The list of enabled features:
- `SQLITE_THREADSAFE=0`. Turns off support for multithreaded environment.
- `SQLITE_USE_URI`. Enables [URI](https://sqlite.org/uri.html) connection strings.

Latest release: [3.46.0](https://github.com/nalgeon/sqlite/releases/latest)
Latest release: [3.47.0](https://github.com/nalgeon/sqlite/releases/latest)

## Sqlean

Expand All @@ -42,7 +42,7 @@ Latest release: [3.46.0](https://github.com/nalgeon/sqlite/releases/latest)
│ sqlite shell │
├ + ────────────────────────┤
│ crypto ipaddr text │
│ define math unicode
│ define math time
│ fileio regexp uuid │
│ fuzzy stats vsv │
└───────────────────────────┘
Expand All @@ -54,7 +54,7 @@ Builds are available for every OS:
- `sqlean-ubuntu` - for Ubuntu (and other Debian-based distributions)
- `sqlean-macos` - for macOS (supports both Intel and Apple processors)

Latest release: [3.46.0](https://github.com/nalgeon/sqlite/releases/latest) (using Sqlean 0.24.0).
Latest release: [3.47.0](https://github.com/nalgeon/sqlite/releases/latest) (using Sqlean 0.27.1).

**Note for macOS users**. macOS disables unsigned binaries and prevents the `sqlean` shell from running. To resolve this issue, remove the build from quarantine by running the following command in Terminal (replace `/path/to/folder` with an actual path to the folder containing the `sqlean-macos` binary):

Expand Down

0 comments on commit 9cd8c59

Please sign in to comment.