Package Details: simsimd 6.5.12-3

Git Clone URL: https://aur.archlinux.org/simsimd.git (read-only, click to copy)
Package Base: simsimd
Description: Up to 200x faster dot products and similarity metrics.
Upstream URL: https://github.com/ashvardanian/simsimd
Licenses: Apache-2.0
Submitter: Spixmaster
Maintainer: aarto
Last Packager: aarto
Votes: 1
Popularity: 0.177034
First Submitted: 2024-11-01 18:23 (UTC)
Last Updated: 2026-01-06 21:56 (UTC)

Dependencies (1)

Required by (3)

Sources (1)

Latest Comments

aarto commented on 2026-01-06 21:57 (UTC)

Nice catch @gyscos, fixed!

gyscos commented on 2026-01-06 18:42 (UTC) (edited on 2026-01-06 18:57 (UTC) by gyscos)

Hi! It seems that this package installs libsimsimd.so into /usr/local/lib. Apparently that's cmake's default behaviour, but it is unusual for a package to install libs there - in particular, it is not by default in the lib search path, so will not be picked up.

Is it on purpose? If not, could the cmake command be modified to install the lib in /usr/lib like other packages? This is recommended in the cmake package guideline: https://wiki.archlinux.org/title/CMake_package_guidelines#Prefix_and_library_install_directories

It looks like the CMAKE_INSTALL_PREFIX var just needs to be set to /usr in the cmake command:

diff --git a/PKGBUILD b/PKGBUILD
index 8903f81..11cfe0b 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -19,6 +19,7 @@ build() {
     check_option check y || build_tests=ON

     cmake -B "$srcdir/$_pkgname-$pkgver/build/" \
+        -D CMAKE_INSTALL_PREFIX=/usr \
         -D SIMSIMD_BUILD_SHARED=ON \
         -D SIMSIMD_BUILD_TESTS=$build_tests \
         -S "$srcdir/$_pkgname-$pkgver" \

gyscos commented on 2025-11-16 15:41 (UTC)

Hi! It seems that tests are not built, which causes the check step to fail.

The build step includes:

check_option check y || build_tests=OFF

I don't think I have the check_option command installed, so this always results in build_tests=OFF. I suspect this is why simd_test_compile_time and simd_test_runtime are not built. The result is a failed check step:

PKGBUILD: line 34: ./simsimd_test_compile_time: No such file or directory