Skip to content
Snippets Groups Projects
Commit e512a9d8 authored by Dmytro Bogatov's avatar Dmytro Bogatov :two_hearts:
Browse files

Update faiss to use GCC 12 base. [ci-skip]

parent d4e9cd0c
Branches
No related tags found
No related merge requests found
Pipeline #23759 skipped
......@@ -111,6 +111,7 @@ In this image:
### FAISS
In this image:
* gcc 12
* FAISS (latest, from source)
* mkl (latest, from conda)
* google test and benchmark
......
FROM dbogatov/docker-sources:conda-miniconda3
FROM dbogatov/docker-sources:gcc-12
LABEL maintainer="Dmytro Bogatov <dmytro@dbogatov.org>"
......
# FAISS
In this image:
* gcc 12
* FAISS (latest, from source)
* mkl (latest, from conda)
* google test and benchmark
......
......@@ -2,8 +2,14 @@
set -e
conda install -y -c pytorch mkl
# conda and MKL
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
bash Miniconda3-latest-Linux-x86_64.sh -b
rm Miniconda3-latest-Linux-x86_64.sh
/root/miniconda3/bin/conda install -y -c pytorch mkl
# utilities
apt-get update
apt-get install --no-install-recommends -y make g++ wget libssl-dev libpthread-stubs0-dev git libboost-all-dev
......@@ -55,3 +61,4 @@ cd ~
apt-get purge -y git
apt-get autoremove -y
rm -rf /var/lib/apt/lists/* /tmp/*
rm -rf /root/miniconda
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment