]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Minor doc tweaks in the JS GNUmakefile.
authorstephan <stephan@noemail.net>
Tue, 25 Oct 2022 08:41:00 +0000 (08:41 +0000)
committerstephan <stephan@noemail.net>
Tue, 25 Oct 2022 08:41:00 +0000 (08:41 +0000)
FossilOrigin-Name: 9c8df130b8137cb4705f805907d1ff754d7f4b07bf181e1d05f1798b7aa5f4f6

ext/wasm/GNUmakefile
manifest
manifest.uuid

index 174e44ddf50d0f183fb77c8bf3157619658e3ec9..815c84c87362837d62ce7c02f5be2eee31046811 100644 (file)
@@ -3,8 +3,9 @@
 # components. It is not part of the canonical build process.
 #
 # This build assumes a Linux platform and is not intended for
-# client-level use. It is for the sqlite project's own development of
-# the JS/WASM components.
+# general-purpose client-level use, except for creating builds with
+# custom configurations. It is primarily intended for the sqlite
+# project's own development of the JS/WASM components.
 #
 # Primary targets:
 #
@@ -14,9 +15,9 @@
 #      by the target name. Rebuild is necessary for all components to get
 #      the desired optimization level.
 #
-#  dist = create end user deliverables. Add dist-opt=oX to build with a
-#      specific optimization level, where oX is one of the above-listed
-#      o? target names.
+#  dist = create end user deliverables. Add dist.build=oX to build
+#      with a specific optimization level, where oX is one of the
+#      above-listed o? target names.
 #
 #  clean = clean up
 ########################################################################
@@ -344,7 +345,9 @@ emcc.jsflags += $(emcc.environment)
 #emcc.jsflags += -sTOTAL_STACK=4194304
 
 sqlite3.js.init-func := sqlite3InitModule
-# ^^^^ $(sqlite3.js.init-func) symbol name is hard-coded in $(extern-post-js.js)
+# ^^^^ $(sqlite3.js.init-func) symbol name is hard-coded in
+# $(extern-post-js.js) as well as in numerous docs. If changed, it
+# needs to be globally modified in *.js and all related documentation.
 
 emcc.jsflags += -sEXPORT_NAME=$(sqlite3.js.init-func)
 emcc.jsflags += -sGLOBAL_BASE=4096 # HYPOTHETICALLY keep func table indexes from overlapping w/ heap addr.
@@ -353,6 +356,7 @@ emcc.jsflags += -sGLOBAL_BASE=4096 # HYPOTHETICALLY keep func table indexes from
 #emcc.jsflags += -sFILESYSTEM=0 # only for experimentation. sqlite3 needs the FS API
 #emcc.jsflags += -sABORTING_MALLOC
 emcc.jsflags += -sALLOW_TABLE_GROWTH
+# -sALLOW_TABLE_GROWTH is required for installing new SQL UDFs
 emcc.jsflags += -Wno-limited-postlink-optimizations
 # ^^^^^ it likes to warn when we have "limited optimizations" via the -g3 flag.
 #emcc.jsflags += -sSTANDALONE_WASM # causes OOM errors, not sure why
index 5df510bbdf561605e354294d00a5fd5e4e1e2206..f3670167e459529752b69fb569f26c9da339d254 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Remove\spersistence\sfrom\sthe\s'reverse\slog\sorder?'\scheckbox\sin\stester1.js\sto\seliminate\san\sinconsistency\sbetween\sthe\smain-thread\sand\sworker-thread\smodes\s(the\slatter\shaving\sno\soption\sfor\spersistence\sof\sthat\ssetting).
-D 2022-10-25T08:15:57.627
+C Minor\sdoc\stweaks\sin\sthe\sJS\sGNUmakefile.
+D 2022-10-25T08:41:00.214
 F .fossil-settings/empty-dirs dbb81e8fc0401ac46a1491ab34a7f2c7c0452f2f06b54ebb845d024ca8283ef1
 F .fossil-settings/ignore-glob 35175cdfcf539b2318cb04a9901442804be81cd677d8b889fcc9149c21f239ea
 F LICENSE.md df5091916dbb40e6e9686186587125e1b2ff51f022cc334e886c19a0e9982724
@@ -472,7 +472,7 @@ F ext/userauth/sqlite3userauth.h 7f3ea8c4686db8e40b0a0e7a8e0b00fac13aa7a3
 F ext/userauth/user-auth.txt e6641021a9210364665fe625d067617d03f27b04
 F ext/userauth/userauth.c 7f00cded7dcaa5d47f54539b290a43d2e59f4b1eb5f447545fa865f002fc80cb
 F ext/wasm/EXPORTED_FUNCTIONS.fiddle.in 27450c8b8c70875a260aca55435ec927068b34cef801a96205adb81bdcefc65c
-F ext/wasm/GNUmakefile 645bd5670a56acf2c8f1e969c427555e3e8e74dfd6eac8c948858f530617c7d5
+F ext/wasm/GNUmakefile 72f8ca582578295315f9f198f308b927e64e8657e2b14f738123745043db7c7c
 F ext/wasm/README-dist.txt e78e44a58772d5b5d7a5a179b5bf639cd67b62249aac66138e2c319bd02dd243
 F ext/wasm/README.md 1e5b28158b74ab3ffc9d54fcbc020f0bbeb82c2ff8bbd904214c86c70e8a3066
 F ext/wasm/api/EXPORTED_FUNCTIONS.sqlite3-api 36f413ab4dbb057d2dec938fb366ac0a4c5e85ba14660a8d672f0277602c0fc5
@@ -2037,8 +2037,8 @@ F vsixtest/vsixtest.tcl 6a9a6ab600c25a91a7acc6293828957a386a8a93
 F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc
 F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e
 F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0
-P 48645f7bcacf81c4149f26d20ee1752fbe93a02f96b85bd7e28bfa49322137e5
-R 342f38b916b08b1d39097f16997abe99
+P ecf906b07f50b4fcc551d20326a1bb1189bd6c2274627fd293f9460658ebea07
+R 262377d6cc8a0c78206bc5c74f7073d2
 U stephan
-Z 9505dfbffcf369c44f4fc0daae947b24
+Z a0e24ff084335de60676ee440f409f2e
 # Remove this line to create a well-formed Fossil manifest.
index ccbd7fb87d0835637073ebb3c20ed9f272c18ea6..d4cde65f906bc9b70e629e6169c2c9508f58e7b3 100644 (file)
@@ -1 +1 @@
-ecf906b07f50b4fcc551d20326a1bb1189bd6c2274627fd293f9460658ebea07
\ No newline at end of file
+9c8df130b8137cb4705f805907d1ff754d7f4b07bf181e1d05f1798b7aa5f4f6
\ No newline at end of file