Skip to content

Commit

Permalink
Merge pull request #24 from TopKeyboard/speed-up-build
Browse files Browse the repository at this point in the history
Fully utilize all cores to build
  • Loading branch information
ricki-epsilla authored Aug 2, 2023
2 parents ff11557 + 81e1204 commit 747c095
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ RUN apt-get update && \
git clone https://github.com/oatpp/oatpp.git && \
cd oatpp && git checkout tags/1.3.0 && \
mkdir build && cd build && \
cmake -DOATPP_BUILD_TESTS=OFF -DCMAKE_BUILD_TYPE=Release .. && make && make install && \
cmake -DOATPP_BUILD_TESTS=OFF -DCMAKE_BUILD_TYPE=Release .. && make -j $(nproc) && make install && \
cd ../.. && rm -rf oatpp && \
apt-get autoremove && apt-get clean
ADD ./ /vectordb
RUN mkdir /vectordb/build && cd /vectordb/build && cmake .. && make && chmod +x vectordb
RUN mkdir /vectordb/build && cd /vectordb/build && cmake .. && make -j $(nproc) && chmod +x vectordb

FROM ubuntu:22.04
RUN apt-get update && apt-get install -y libgomp1 libboost-all-dev
Expand Down

0 comments on commit 747c095

Please sign in to comment.