1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-26 12:27:52 +00:00

Fix cmake build.

This commit is contained in:
Brenden Matthews 2021-02-28 10:46:19 -06:00
parent 7b7801619d
commit 4cfa195cd0
No known key found for this signature in database
GPG Key ID: B49ABB7270D9D4FD

View File

@ -9,6 +9,7 @@ RUN apt-get update \
curl \ curl \
gfortran \ gfortran \
git \ git \
libarchive-dev \
libaudclient-dev \ libaudclient-dev \
libcairo2-dev \ libcairo2-dev \
libcurl4-openssl-dev \ libcurl4-openssl-dev \
@ -16,14 +17,17 @@ RUN apt-get update \
libimlib2-dev \ libimlib2-dev \
libircclient-dev \ libircclient-dev \
libiw-dev \ libiw-dev \
libjsoncpp-dev \
liblua5.3-dev \ liblua5.3-dev \
libmicrohttpd-dev \ libmicrohttpd-dev \
libmysqlclient-dev \ libmysqlclient-dev \
libncurses-dev \ libncurses-dev \
libpulse-dev \ libpulse-dev \
librhash-dev \
librsvg2-dev \ librsvg2-dev \
libssl-dev \ libssl-dev \
libsystemd-dev \ libsystemd-dev \
libuv1-dev \
libxdamage-dev \ libxdamage-dev \
libxext-dev \ libxext-dev \
libxft-dev \ libxft-dev \
@ -42,7 +46,7 @@ WORKDIR /cmake
RUN curl -Lq https://github.com/Kitware/CMake/releases/download/v3.19.6/cmake-3.19.6.tar.gz -o cmake-3.19.6.tar.gz \ RUN curl -Lq https://github.com/Kitware/CMake/releases/download/v3.19.6/cmake-3.19.6.tar.gz -o cmake-3.19.6.tar.gz \
&& tar xf cmake-3.19.6.tar.gz \ && tar xf cmake-3.19.6.tar.gz \
&& cd cmake-3.19.6 \ && cd cmake-3.19.6 \
&& ./bootstrap \ && CC=clang CXX=clang++ CFLAGS="-D_FILE_OFFSET_BITS=64" CXXFLAGS="-D_FILE_OFFSET_BITS=64" ./bootstrap --system-libs --parallel=5 \
&& make -j5 \ && make -j5 \
&& make -j5 install \ && make -j5 install \
&& cd \ && cd \