mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-15 07:35:27 +03:00
build with sqlite amalgamation
This commit is contained in:
parent
2eaf16035e
commit
f0893665ce
@ -15,9 +15,18 @@ wget -nv https://github.com/asg017/sqlite-vec/archive/refs/tags/v${SQLITE_VEC_VE
|
|||||||
tar -zxf v${SQLITE_VEC_VERSION}.tar.gz -C /tmp/sqlite_vec
|
tar -zxf v${SQLITE_VEC_VERSION}.tar.gz -C /tmp/sqlite_vec
|
||||||
|
|
||||||
cd /tmp/sqlite_vec/sqlite-vec-${SQLITE_VEC_VERSION}
|
cd /tmp/sqlite_vec/sqlite-vec-${SQLITE_VEC_VERSION}
|
||||||
|
|
||||||
|
mkdir -p vendor
|
||||||
|
curl -o sqlite-amalgamation.zip https://www.sqlite.org/2024/sqlite-amalgamation-3450300.zip
|
||||||
|
unzip -d
|
||||||
|
unzip sqlite-amalgamation.zip
|
||||||
|
mv sqlite-amalgamation-3450300/* vendor/
|
||||||
|
rmdir sqlite-amalgamation-3450300
|
||||||
|
rm sqlite-amalgamation.zip
|
||||||
|
|
||||||
# build loadable module
|
# build loadable module
|
||||||
make loadable
|
make loadable
|
||||||
|
|
||||||
# install it
|
# install it
|
||||||
cp dist/vec0.so /usr/local/lib
|
cp dist/vec.o /usr/local/lib
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user