浏览代码

Bump cmake version again because I updated boost and that results in stupid warnings otherwise.

master
Ray Burgemeestre 4 年前
父节点
当前提交
2fb94baa15
共有 1 个文件被更改,包括 5 次插入5 次删除
  1. +5
    -5
      Dockerfile-ubuntu1804

+ 5
- 5
Dockerfile-ubuntu1804 查看文件



# Install newer CMake to avoid some warnings the "FindBoost" script throws on # Install newer CMake to avoid some warnings the "FindBoost" script throws on
# more recent versions of boost that the system CMake doesn't now about. # more recent versions of boost that the system CMake doesn't now about.
RUN wget https://github.com/Kitware/CMake/releases/download/v3.16.2/cmake-3.16.2.tar.gz && \
tar -zxf cmake-3.16.2.tar.gz && \
cd cmake-3.16.2 && \
RUN wget https://github.com/Kitware/CMake/releases/download/v3.16.8/cmake-3.16.8.tar.gz && \
tar -zxf cmake-3.16.8.tar.gz && \
cd cmake-3.16.8 && \
./bootstrap && \ ./bootstrap && \
make -j $(nproc) && \ make -j $(nproc) && \
make install && \ make install && \
cd .. && \ cd .. && \
rm -rf cmake-3.16.2 && \
rm -rf cmake-3.16.2.tar.gz
rm -rf cmake-3.16.8 && \
rm -rf cmake-3.16.8.tar.gz


# Fix some weird linker issue CAF build runs into. (fails to link -lc++abi) # Fix some weird linker issue CAF build runs into. (fails to link -lc++abi)
RUN cp -prv /usr/lib/llvm-10/lib/libc++abi.so.1.0 /usr/lib/llvm-10/lib/libc++abi.so RUN cp -prv /usr/lib/llvm-10/lib/libc++abi.so.1.0 /usr/lib/llvm-10/lib/libc++abi.so

正在加载...
取消
保存