Skip to content
Snippets Groups Projects
Unverified Commit 3009afd1 authored by Niaz's avatar Niaz Committed by GitHub
Browse files

Add Release Build Type and Limit j

parent 7c2ed032
No related branches found
No related tags found
No related merge requests found
......@@ -86,9 +86,9 @@ RUN git clone https://github.com/davisking/dlib.git && \
#Build and install faiss. Needs to be build for ARM
WORKDIR /faiss
RUN git clone https://github.com/facebookresearch/faiss.git /faiss
RUN cmake -B build . -DFAISS_ENABLE_GPU=OFF -DFAISS_ENABLE_PYTHON=ON -DFAISS_OPT_LEVEL=generic
RUN make -C build -j faiss
RUN make -C build -j swigfaiss
RUN cmake -B build . -DCMAKE_BUILD_TYPE=Release -DFAISS_ENABLE_GPU=OFF -DFAISS_ENABLE_PYTHON=ON -DFAISS_OPT_LEVEL=generic
RUN make -C build -j4 faiss
RUN make -C build -j4 swigfaiss
RUN (cd build/faiss/python && python setup.py install)
# install unzip
RUN apt install -y unzip
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment