summaryrefslogtreecommitdiffstats
path: root/dist
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@online.no>2021-05-20 11:31:17 +0200
committerTor Egge <Tor.Egge@online.no>2021-05-20 11:31:17 +0200
commit6c92e912eba3cfaa52cf359c02e1664d071fd18c (patch)
treec64beebd8bf976c182aeab311a1adc925b183af1 /dist
parentc8746c75e6ad4dad17ecd3daf2916fe45fd594f9 (diff)
Add python bindings for a HNSW index fixture using a tensor attribute vector containing a nearest neighbor index.
Diffstat (limited to 'dist')
-rw-r--r--dist/vespa.spec30
1 files changed, 30 insertions, 0 deletions
diff --git a/dist/vespa.spec b/dist/vespa.spec
index 2c75319da58..f1f439e0b41 100644
--- a/dist/vespa.spec
+++ b/dist/vespa.spec
@@ -437,6 +437,27 @@ Requires: %{name}-base-libs = %{version}-%{release}
Vespa - The open big data serving engine - tools
+%package ann-benchmark
+
+Summary: Vespa - The open big data serving engine - ann-benchmark
+
+Requires: %{name}-libs = %{version}-%{release}
+%if 0%{?el7}
+Requires: python3
+%endif
+%if 0%{?el8}
+Requires: python36
+%endif
+%if 0%{?fedora}
+Requires: python3
+%endif
+
+%description ann-benchmark
+
+Vespa - The open big data serving engine - ann-benchmark
+
+Python binding for an HNSW index fixture using tensor attribute.
+
%prep
%if 0%{?installdir:1}
%setup -c -D -T
@@ -622,6 +643,7 @@ fi
%{_prefix}/lib/jars/zookeeper-command-line-client-jar-with-dependencies.jar
%{_prefix}/lib/perl5
%{_prefix}/libexec
+%exclude %{_prefix}/libexec/vespa_ann_benchmark
%exclude %{_prefix}/libexec/vespa/common-env.sh
%exclude %{_prefix}/libexec/vespa/node-admin.sh
%exclude %{_prefix}/libexec/vespa/standalone-container.sh
@@ -817,4 +839,12 @@ fi
%dir %{_prefix}/lib/jars
%{_prefix}/lib/jars/vespaclient-java-jar-with-dependencies.jar
+%files ann-benchmark
+%if %{_defattr_is_vespa_vespa}
+%defattr(-,%{_vespa_user},%{_vespa_group},-)
+%endif
+%dir %{_prefix}
+%dir %{_prefix}/libexec
+%{_prefix}/libexec/vespa_ann_benchmark
+
%changelog