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

docker: install spdlog and fmtlib from sources

This commit is contained in:
Steffen Vogel 2019-09-03 23:57:22 +02:00
parent 69d29cd335
commit 93980ab72f

View file

@ -78,9 +78,23 @@ RUN apt-get update && apt-get install -y \
libcomedi-dev \
libibverbs-dev \
librdmacm-dev \
libre-dev \
libspdlog-dev \
libfmt-dev
libre-dev
# Build & Install fmtlib
RUN cd /tmp && \
git clone --recursive https://github.com/fmtlib/fmt.git && \
mkdir -p fmt/build && cd fmt/build && \
git checkout 6.0.0 && \
cmake -DCMAKE_INSTALL_LIBDIR=/usr/local/lib64 .. && make -j$(nproc) install && \
rm -rf /tmp/*
# Build & Install spdlog
RUN cd /tmp && \
git clone --recursive https://github.com/gabime/spdlog.git && \
mkdir -p spdlog/build && cd spdlog/build && \
git checkout v1.3.1 && \
cmake -DCMAKE_INSTALL_LIBDIR=/usr/local/lib64 -DSPDLOG_BUILD_BENCH=OFF .. && make -j$(nproc) install && \
rm -rf /tmp/*
# Build & Install Criterion
RUN cd /tmp && \