We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I try to build a linux docker image in MacOS but I have plenty of errors. related to #457
Dockerfile
FROM node:20-bullseye SHELL ["/bin/bash", "-c"] ENV USEARCH_USE_FP16LIB=1 \ SIMSIMD_TARGET_X86_AVX512=0 \ SIMSIMD_TARGET_ARM_SVE=0 \ SIMSIMD_TARGET_X86_AVX2=1 \ SIMSIMD_TARGET_ARM_NEON=0 RUN apt update && apt install -y \ python3 \ python3-pip \ make \ g++ \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* RUN pip install usearch RUN echo '{"name":"core","version":"0.0.0"}' > package.json \ && npm install [email protected] --legacy-peer-deps --force
Command in Macos
docker buildx build --platform linux/x86_64 --no-cache -t cj:beta.1 -f Dockerfile .
It has lots of errors
... #0 36.00 npm error In file included from ../simsimd/include/simsimd/simsimd.h:108, #0 36.00 npm error from ../include/usearch/index_plugins.hpp:74, #0 36.00 npm error from ../include/usearch/index_dense.hpp:12, #0 36.00 npm error from ../javascript/lib.cpp:18: #0 36.00 npm error ../simsimd/include/simsimd/elementwise.h: In function 'void simsimd_wsum_i8_sapphire(const simsimd_i8_t*, const simsimd_i8_t*, simsimd_size_t, simsimd_distance_t, simsimd_distance_t, simsimd_i8_t*)': #0 36.00 npm error ../simsimd/include/simsimd/elementwise.h:1827:36: warning: AVX vector return without AVX enabled changes the ABI [-Wpsabi] #0 36.00 npm error 1827 | sum_i8_vec = _mm512_inserti64x4(_mm512_castsi256_si512(_mm512_cvtsepi16_epi8(sum_i16_low_vec)), #0 36.00 npm error | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #0 36.00 npm error 1828 | _mm512_cvtsepi16_epi8(sum_i16_high_vec), 1); #0 36.00 npm error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #0 36.00 npm error make: *** [usearch.target.mk:161: Release/obj.target/usearch/javascript/lib.o] Error 1 #0 36.00 npm error gyp ERR! build error #0 36.00 npm error gyp ERR! stack Error: `make` failed with exit code: 2 #0 36.00 npm error gyp ERR! stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:209:23) #0 36.00 npm error gyp ERR! System Linux 5.15.49-linuxkit #0 36.00 npm error gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" #0 36.00 npm error gyp ERR! cwd /conjurors/core/node_modules/usearch #0 36.00 npm error gyp ERR! node -v v20.18.1 #0 36.00 npm error gyp ERR! node-gyp -v v10.1.0 #0 36.00 npm error gyp ERR! not ok #0 36.02 npm notice #0 36.02 npm notice New major version of npm available! 10.8.2 -> 11.0.0 #0 36.02 npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.0.0 #0 36.02 npm notice To update run: npm install -g [email protected] #0 36.02 npm notice #0 36.02 npm error A complete log of this run can be found in: /root/.npm/_logs/2025-01-06T19_19_59_120Z-debug-0.log
To be able to install it.
2.16.9
Debian bullseye
x86
Other bindings
No response
.git
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
I try to build a linux docker image in MacOS but I have plenty of errors. related to #457
Steps to reproduce
Dockerfile
Command in Macos
docker buildx build --platform linux/x86_64 --no-cache -t cj:beta.1 -f Dockerfile .
It has lots of errors
Expected behavior
To be able to install it.
USearch version
2.16.9
Operating System
Debian bullseye
Hardware architecture
x86
Which interface are you using?
Other bindings
Contact Details
No response
Are you open to being tagged as a contributor?
.git
history as a contributorIs there an existing issue for this?
Code of Conduct
The text was updated successfully, but these errors were encountered: