From 5daf1ef0d57de0847c77d71c78f3da11bf319761 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Leclercq?= Date: Thu, 1 Feb 2024 13:10:57 +0100 Subject: [PATCH] Update xmake.lua --- packages/f/faiss/xmake.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/f/faiss/xmake.lua b/packages/f/faiss/xmake.lua index 93ca566e5..22b1af94f 100644 --- a/packages/f/faiss/xmake.lua +++ b/packages/f/faiss/xmake.lua @@ -1,20 +1,21 @@ package("faiss") - set_homepage("https://github.com/facebookresearch/faiss/") set_description("A library for efficient similarity search and clustering of dense vectors.") set_license("MIT") add_urls("https://github.com/facebookresearch/faiss/archive/refs/tags/$(version).tar.gz", "https://github.com/facebookresearch/faiss.git") - add_versions("v20180223", "799e73d0d961b70995c1f55f4ba8186e227cfa56a2d1406f82b9bc21cfec916e") + add_versions("v1.7.4", "d9a7b31bf7fd6eb32c10b7ea7ff918160eed5be04fe63bb7b4b4b5f2bbde01ad") add_versions("v1.7.0", "f86d346ac9f409ee30abe37e52f6cce366b7f60d3924d65719f40aa07ceb4bec") add_deps("cmake") add_deps("cuda", {system = true, optional = true}) add_deps("mkl", "cuda", {system = true, optional = true}) + if is_plat("linux") then add_syslinks("pthread") end + on_load("windows|x64", "linux", function (package) if not find_package("mkl") then package:add("deps", "openblas")