From 49f68bd3d13b710945c03db513ce1f26cc6b55c0 Mon Sep 17 00:00:00 2001 From: LIU HANCHENG Date: Mon, 6 May 2024 10:00:10 +0800 Subject: [PATCH] Add some hints for better quick start --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index dd3aa66..0a13cc1 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,11 @@ First you will need to build and install Faiss: ``` git clone https://github.com/blevesearch/faiss.git cd faiss +# Install minimal build dependencies +# Ubuntu/Debian based systems: apt-get install libblas-dev liblapack-dev swig build-essential + +export Python_INCLUDE_DIRS=/include +export Python_LIBRARIES=/lib/libpython3.so cmake -B build -DFAISS_ENABLE_GPU=OFF -DFAISS_ENABLE_C_API=ON -DBUILD_SHARED_LIBS=ON . make -C build sudo make -C build install