1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

Added $prefix/lib/$tripplet/pkgconfig to PKG_CONFIG_PATH during villas build

This commit is contained in:
Vincent Bareiss 2023-10-23 16:05:27 +02:00 committed by Manuel Pitz
parent 1aec59198b
commit fca06e27d7

View file

@ -38,7 +38,7 @@ RUN apt-get update && \
RUN apt-get update && \
apt-get install -y \
libssl-dev:${ARCH} \
libgraphviz-dev:${ARCH} \
#libgraphviz-dev:${ARCH} \
libprotobuf-dev:${ARCH} \
libprotobuf-c-dev:${ARCH} \
uuid-dev:${ARCH} \
@ -113,6 +113,16 @@ COPY . /villas/
RUN rm -rf /villas/build && mkdir /villas/build
WORKDIR /villas/build
#-----------------------------
ARG CACHE_BUST
ENV PKG_CONFIG_PATH ${PKG_CONFIG_PATH}:${PREFIX}/lib/${TRIPLET}/pkgconfig
RUN env
RUN pkg-config --modversion libuldaq
#-----------------------------
RUN cmake ${CMAKE_OPTS} ${CMAKE_EXTRA_OPTS} .. && \
make -j$(nproc) install