server/database: Add pgvector package version 0.8.2

This commit is contained in:
Atilla BALCI
2026-04-18 15:26:07 +03:00
parent 458feefc8e
commit f386c46baf
2 changed files with 76 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
# pgvector builds as a standard PostgreSQL PGXS extension.
# PG_CONFIG is auto-detected via PATH; USE_PGXS=1 tells the
# Makefile to build against the installed PostgreSQL rather than
# the PostgreSQL source tree.
def build():
autotools.make("USE_PGXS=1 OPTFLAGS=\"\"")
def install():
autotools.rawInstall("USE_PGXS=1 DESTDIR=%s OPTFLAGS=\"\"" % get.installDIR())