faiss: 1.14.1 -> 1.14.2 (#524120)

This commit is contained in:
kirillrdy
2026-05-26 10:09:26 +00:00
committed by GitHub
2 changed files with 8 additions and 4 deletions
+7 -4
View File
@@ -5,6 +5,7 @@
stdenv,
capiSupport ? true,
cmake,
swig,
cudaPackages ? { },
cudaSupport ? config.cudaSupport,
pythonSupport ? true,
@@ -12,7 +13,6 @@
sharedLibrarySupport ? false,
llvmPackages,
blas,
swig,
autoAddDriverRunpath,
optLevel ?
let
@@ -42,7 +42,10 @@ let
in
stdenv.mkDerivation (finalAttrs: {
pname = "faiss";
version = "1.14.1";
version = "1.14.2";
__structuredAttrs = true;
strictDeps = true;
outputs = [ "out" ] ++ lib.optionals pythonSupport [ "dist" ];
@@ -50,11 +53,12 @@ stdenv.mkDerivation (finalAttrs: {
owner = "facebookresearch";
repo = "faiss";
tag = "v${finalAttrs.version}";
hash = "sha256-p1YncYUUxld9iwFXXZ+lTxYgku8l+/K6dbxZx2EcJ6k=";
hash = "sha256-g8URLqh7VXlb5vvpkiUUfE6cgtkMwYNGzs26iUtg28A=";
};
nativeBuildInputs = [
cmake
swig
]
++ lib.optionals cudaSupport [
cudaPackages.cuda_nvcc
@@ -68,7 +72,6 @@ stdenv.mkDerivation (finalAttrs: {
buildInputs = [
blas
swig
]
++ lib.optionals pythonSupport [ python3Packages.numpy ]
++ lib.optionals stdenv.cc.isClang [ llvmPackages.openmp ]
@@ -12,6 +12,7 @@
buildPythonPackage {
inherit (faiss-build) pname version;
pyproject = true;
__structuredAttrs = true;
src = "${lib.getOutput "dist" faiss-build}";