faiss-node
Advanced tools
Comparing version 0.2.1 to 0.2.2
@@ -105,9 +105,18 @@ cmake_minimum_required(VERSION 3.17 FATAL_ERROR) | ||
# Alpine | ||
message("Alpine") | ||
# Copy libgomp.so.1, libopenblas.so.3, libgfortran.so.5, libquadmath.so.0 | ||
set(DEPENDANCES_MUSL | ||
libgomp.so.1 | ||
libopenblas.so.3 | ||
libgfortran.so.5 | ||
libquadmath.so.0) | ||
EXECUTE_PROCESS( COMMAND uname -m COMMAND tr -d '\n' OUTPUT_VARIABLE ARCHITECTURE ) | ||
message("Alpine:" ${ARCHITECTURE}) | ||
if( ${ARCHITECTURE} STREQUAL "x86_64" ) | ||
# Copy libgomp.so.1, libopenblas.so.3, libgfortran.so.5, libquadmath.so.0 | ||
set(DEPENDANCES_MUSL | ||
libgomp.so.1 | ||
libopenblas.so.3 | ||
libgfortran.so.5 | ||
libquadmath.so.0) | ||
else() | ||
# Copy libgomp.so.1, libopenblas.so.3, libgfortran.so.5 | ||
set(DEPENDANCES_MUSL | ||
libgomp.so.1 | ||
libopenblas.so.3 | ||
libgfortran.so.5) | ||
endif() | ||
foreach(dep ${DEPENDANCES_MUSL}) | ||
@@ -114,0 +123,0 @@ file(TO_CMAKE_PATH "/usr/lib/${dep}" MUSL_dep) |
{ | ||
"name": "faiss-node", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "Node.js bindings for faiss", | ||
@@ -24,3 +24,3 @@ "main": "lib/index.js", | ||
"prebuild-package": "prebuild --verbose --runtime napi --include-regex \"^(faiss-node\\.node)|(mkl_sequential\\.2\\.dll)|(faiss\\.lib)|(libfaiss\\.a)|(libmkl_intel_lp64\\.so)|(libmkl_sequential\\.so)|(libmkl_core\\.so)|(libomp\\.dylib)|(libgomp\\.so\\.1)|(libopenblas\\.so\\.3)|(libgfortran\\.so\\.5)|(libquadmath\\.so\\.0)$\" --backend cmake-js", | ||
"install": "prebuild-install --runtime napi --verbose || npm run build", | ||
"install": "prebuild-install --runtime napi --verbose || (npm i cmake-js && npm run build)", | ||
"test": "jest", | ||
@@ -27,0 +27,0 @@ "doc": "typedoc" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
27540