Skip to content

Commit dc6aa10

Browse files
committed
Add conda env creation
1 parent 883266f commit dc6aa10

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docker/x86_64/test-cpp-runtime-bindings.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,15 @@ source /etc/bashrc || true
2222
# ./docker/x86_64/list-dependencies.sh
2323

2424
# FAISS validation scope for now
25+
# Create conda env matching https://github.com/facebookresearch/faiss/blob/main/.github/actions/build_cmake/action.yml
26+
conda create -y -n svsenv python=3.11
27+
source /opt/conda/etc/profile.d/conda.sh
28+
conda activate svsenv
29+
conda config --set solver libmamba
30+
conda install -y -c conda-forge cmake=3.30.4 make=4.2 swig=4.0 "numpy>=2.0,<3.0" scipy=1.16 pytest=7.4 gflags=2.2
31+
conda install -y -c conda-forge gxx_linux-64=14.2 sysroot_linux-64=2.17
32+
conda install -y mkl=2022.2.1 mkl-devel=2022.2.1
33+
2534
# TODO: point to root repo eventually
2635
git clone -b rfsaliev/svs-faiss-bindings https://github.com/ahuber21/faiss.git
2736
cd faiss

0 commit comments

Comments
 (0)