Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

faiss-node

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

faiss-node - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

23

CMakeLists.txt

@@ -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"

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc