unum-cloud / usearch

Fast Open-Source Search & Clustering engine × for Vectors & 🔜 Strings × in C++, C, Python, JavaScript, Rust, Java, Objective-C, Swift, C#, GoLang, and Wolfram 🔍
https://unum-cloud.github.io/usearch/
Apache License 2.0
2.12k stars 126 forks source link

Bug: Compilation errors for nodejs on v2.13.0 #457

Open jlarmstrongiv opened 1 month ago

jlarmstrongiv commented 1 month ago

Describe the bug

Compilation failure. Please run the bash command below for the full stack trace, as it’s too long for github issues.

Steps to reproduce

docker run --entrypoint /bin/bash -e 'USEARCH_USE_FP16LIB=1' -e 'SIMSIMD_TARGET_X86_AVX512=0' -e 'SIMSIMD_TARGET_ARM_SVE=0' -e 'SIMSIMD_TARGET_X86_AVX2=1' -e 'SIMSIMD_TARGET_ARM_NEON=0'  --rm 'public.ecr.aws/lambda/nodejs:20-x86_64' -c 'echo > package.json '\''{"name":"docker-install-placeholder","version":"0.0.0","engines":{"node":"20.16.0","npm":"10.8.2"}}'\'' && corepack enable npm && dnf install -y python3 make gcc-c++ && npm install usearch@2.13.0'

Expected behavior

Build compiles successfully, like it does on arm64 and in the previous release.

USearch version

v2.13.0

Operating System

public.ecr.aws/lambda/nodejs:20-x86_64

Hardware architecture

x86

Which interface are you using?

C++ implementation

Contact Details

Discord

Are you open to being tagged as a contributor?

Is there an existing issue for this?

Code of Conduct

ashvardanian commented 2 weeks ago

This is a handy command! Thank you for providing it, @jlarmstrongiv! I'm looking into solutions, but it's clearly coming from SimSIMD, not USearch itself. Will keep you posted.