Package Details: pgvecto.rs-immich 0.2.0-6

Git Clone URL: https://aur.archlinux.org/pgvecto.rs-immich.git (read-only, click to copy)
Package Base: pgvecto.rs-immich
Description: Postgres extension that provides vector similarity search functions. It is written in Rust and based on pgrx. Version required for Immich.
Upstream URL: https://github.com/tensorchord/pgvecto.rs
Licenses: Apache-2.0
Conflicts: pgvecto.rs
Provides: pgvecto.rs
Submitter: pikl
Maintainer: pikl
Last Packager: pikl
Votes: 0
Popularity: 0.000000
First Submitted: 2023-12-17 11:24 (UTC)
Last Updated: 2024-08-08 21:20 (UTC)

Dependencies (17)

Required by (1)

Sources (1)

Latest Comments

szymon_j commented on 2024-06-08 14:02 (UTC)

Build are failing on two of my machines with an error:

Caused by:
  process didn't exit successfully: `/home/user/.cache/yay/pgvecto.rs-immich/src/pgvecto.rs-0.2.0/target/release/build/c-75b2d12c46511893/build-script-build` (exit status: 1)
  --- stdout
  cargo:rerun-if-changed=src/c.h
  cargo:rerun-if-changed=src/c.c
  TARGET = Some("x86_64-unknown-linux-gnu")
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  HOST = Some("x86_64-unknown-linux-gnu")
  cargo:rerun-if-env-changed=CFLAGS_x86_64-unknown-linux-gnu
  CFLAGS_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CFLAGS_x86_64_unknown_linux_gnu
  CFLAGS_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CFLAGS
  HOST_CFLAGS = None
  cargo:rerun-if-env-changed=CFLAGS
  CFLAGS = Some("-march=native -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection")
  running: "clang-16" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-4" "-fno-omit-frame-pointer" "--target=x86_64-unknown-linux-gnu" "-march=native" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-o" "/home/user/.cache/yay/pgvecto.rs-immich/src/pgvecto.rs-0.2.0/target/release/build/c-e5414c6a2b6709b0/out/./src/c.o" "-c" "./src/c.c"

  --- stderr


  error occurred: Failed to find tool. Is `clang-16` installed?

When I create a symlink to clang-17 called clang-16, clang complains about lack of support for avx512.

  cargo:warning=./src/c.c:84:15: error: always_inline function '_mm512_set1_ps' requires target feature 'avx512f', but would be inlined into function 'v_f16_cosine_v4' that is compiled without support for 'avx512f'

  cargo:warning=   84 |   __m512 xx = _mm512_set1_ps(0); 

Thanks!