Skip to content

Commit

Permalink
Update to sqlite3 3.47.1
Browse files Browse the repository at this point in the history
  • Loading branch information
liuliu committed Nov 25, 2024
1 parent af04a90 commit d5163e7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import PackageDescription
.revision("c92e78a9f841a6110ec27180d68d1f7f2afda21d")),
.package(url: "https://github.com/apple/swift-atomics.git", from: "1.0.2"),
.package(
name: "SQLite3", url: "https://github.com/liuliu/swift-sqlite3-support.git", from: "3.39.2"),
name: "SQLite3", url: "https://github.com/liuliu/swift-sqlite3-support.git", from: "3.47.1"),
]
let sqliteDflatDependencies: [Target.Dependency] = ["Dflat", "_SQLiteDflatOSShim", "SQLite3"]
#else
Expand Down
4 changes: 2 additions & 2 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ protobuf_deps()
http_archive(
name = "sqlite3",
build_file = "sqlite3.BUILD",
sha256 = "87775784f8b22d0d0f1d7811870d39feaa7896319c7c20b849a4181c5a50609b",
urls = ["https://www.sqlite.org/2022/sqlite-amalgamation-3390200.zip"],
sha256 = "9da21e6b14ef6a943cdc30f973df259fb390bb4483f77e7f171b9b6e977e5458",
urls = ["https://www.sqlite.org/2024/sqlite-amalgamation-3470100.zip"],
)

# Optional dependencies for Apollo GraphQL support
Expand Down
8 changes: 4 additions & 4 deletions external/sqlite3.BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ package(

cc_library(
name = "SQLite3",
srcs = ["sqlite-amalgamation-3390200/sqlite3.c"],
srcs = ["sqlite-amalgamation-3470100/sqlite3.c"],
hdrs = [
"sqlite-amalgamation-3390200/sqlite3.h",
"sqlite-amalgamation-3390200/sqlite3ext.h",
"sqlite-amalgamation-3470100/sqlite3.h",
"sqlite-amalgamation-3470100/sqlite3ext.h",
],
copts = ["-fPIC"],
defines = [
Expand Down Expand Up @@ -50,6 +50,6 @@ cc_library(
"SQLITE_THREADSAFE=2",
"SQLITE_USE_URI",
],
includes = ["sqlite-amalgamation-3390200"],
includes = ["sqlite-amalgamation-3470100"],
tags = ["swift_module=SQLite3"],
)

0 comments on commit d5163e7

Please sign in to comment.