aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/sqlite3
diff options
context:
space:
mode:
authoralexv-smirnov <alex@ydb.tech>2023-06-13 11:05:01 +0300
committeralexv-smirnov <alex@ydb.tech>2023-06-13 11:05:01 +0300
commitbf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0 (patch)
tree1d1df72c0541a59a81439842f46d95396d3e7189 /contrib/libs/sqlite3
parent8bfdfa9a9bd19bddbc58d888e180fbd1218681be (diff)
downloadydb-bf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0.tar.gz
add ymake export to ydb
Diffstat (limited to 'contrib/libs/sqlite3')
-rw-r--r--contrib/libs/sqlite3/ya.make64
1 files changed, 64 insertions, 0 deletions
diff --git a/contrib/libs/sqlite3/ya.make b/contrib/libs/sqlite3/ya.make
new file mode 100644
index 0000000000..9922ed06f9
--- /dev/null
+++ b/contrib/libs/sqlite3/ya.make
@@ -0,0 +1,64 @@
+# Generated by devtools/yamaker from nixpkgs 22.11.
+
+LIBRARY()
+
+LICENSE(
+ Public-Domain AND
+ blessing
+)
+
+LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
+
+VERSION(3.40.1)
+
+ORIGINAL_SOURCE(https://github.com/sqlite/sqlite/archive/version-3.40.1.tar.gz)
+
+ADDINCL(
+ contrib/libs/sqlite3
+)
+
+NO_COMPILER_WARNINGS()
+
+NO_RUNTIME()
+
+CFLAGS(
+ -DBUILD_sqlite
+ -DHAVE_USLEEP
+ -DSQLITE_ENABLE_COLUMN_METADATA
+ -DSQLITE_ENABLE_DBSTAT_VTAB
+ -DSQLITE_ENABLE_FTS3
+ -DSQLITE_ENABLE_FTS3_PARENTHESIS
+ -DSQLITE_ENABLE_FTS3_TOKENIZER
+ -DSQLITE_ENABLE_FTS4
+ -DSQLITE_ENABLE_FTS5
+ -DSQLITE_ENABLE_JSON1
+ -DSQLITE_ENABLE_MATH_FUNCTIONS
+ -DSQLITE_ENABLE_RTREE
+ -DSQLITE_ENABLE_STMT_SCANSTATUS
+ -DSQLITE_ENABLE_UNLOCK_NOTIFY
+ -DSQLITE_ENABLE_UPDATE_DELETE_LIMIT
+ -DSQLITE_HAVE_ZLIB=1
+ -DSQLITE_MAX_EXPR_DEPTH=10000
+ -DSQLITE_MAX_VARIABLE_NUMBER=250000
+ -DSQLITE_SECURE_DELETE
+ -DSQLITE_SOUNDEX
+ -DSQLITE_TEMP_STORE=1
+ -DSQLITE_THREADSAFE=1
+)
+
+IF (OS_WINDOWS)
+ CFLAGS(
+ -DSQLITE_OS_WIN
+ )
+ELSE()
+ CFLAGS(
+ -DSQLITE_OS_UNIX
+ )
+ENDIF()
+
+SRCS(
+ sqlite3.c
+ test_multiplex.c
+)
+
+END()