add missing pkgconfig folder for MPI in Dockerfile

This commit is contained in:
Morgan Funtowicz 2024-07-22 14:19:51 +00:00
parent 40330c73f0
commit fd06ca6e7e
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ RUN cargo chef cook --release --recipe-path recipe.json
ENV LD_LIBRARY_PATH="/usr/local/mpi/lib:$LD_LIBRARY_PATH" ENV LD_LIBRARY_PATH="/usr/local/mpi/lib:$LD_LIBRARY_PATH"
# Build actual TGI # Build actual TGI
ENV PKG_CONFIG_PATH="/usr/local/mpi/lib:$PKG_CONFIG_PATH" ENV PKG_CONFIG_PATH="/usr/local/mpi/lib/pkgconfig:$PKG_CONFIG_PATH"
ENV CMAKE_INSTALL_PREFIX="/usr/local/tgi" ENV CMAKE_INSTALL_PREFIX="/usr/local/tgi"
COPY . . COPY . .
RUN mkdir /usr/local/tgi && mkdir /usr/local/tgi/include && mkdir /usr/local/tgi/lib && \ RUN mkdir /usr/local/tgi && mkdir /usr/local/tgi/include && mkdir /usr/local/tgi/lib && \