1
2
3
4
5
6
7
8
9
10
11
12
|
# sqlite-vec is compiled into the binary rather than loaded at runtime, the
# same way the Go bindings do it. Without SQLITE_CORE the file builds as a
# loadable extension whose entry point reads its SQLite API pointer from the
# caller -- passing nil there segfaults instead of failing, so this define is
# load-bearing, not an optimisation.
--passC:"-DSQLITE_CORE"
--passL:"-lsqlite3 -lm"
# websock pulls in chronicles, which will not compile unless a logging stream
# is configured. This spike has no use for its output, and leaving it on makes
# every consumer of websock inherit the requirement.
--define:"chronicles_enabled=off"
|