Skip to content

Commit

Permalink
Configure install paths in Dockerfile. (#772)
Browse files Browse the repository at this point in the history
  • Loading branch information
beauby committed Apr 7, 2019
1 parent 7f5b22b commit 5555ae7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,9 @@ COPY . /opt/faiss
WORKDIR /opt/faiss

# --with-cuda=/usr/local/cuda-8.0
RUN ./configure --without-cuda
RUN ./configure --prefix=/usr --libdir=/usr/lib64 --without-cuda
RUN make -j $(nproc)
RUN make -C python
RUN make test
RUN make install
RUN make -C demos demo_ivfpq_indexing && \
LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH ./demos/demo_ivfpq_indexing
RUN make -C demos demo_ivfpq_indexing && ./demos/demo_ivfpq_indexing

0 comments on commit 5555ae7

Please sign in to comment.