This will display:
CMake Error at CMakeLists.txt:18 (message): Your CMake version is 3.17.0. The minimum version of CMake required to build LLVM is now 3.13.4. You can download CMake from: https://github.com/Kitware/CMake/releases or can locally get cmake in the current build directory: $ wget https://github.com/Kitware/CMake/releases/download/v3.18.0/cmake-3.18.0-Linux-x86_64.tar.gz $ echo "4d9a9d3351161073a67e49366d701b6fa4b0343781982dc5eef08a02a750d403 cmake-3.18.0-Linux-x86_64.tar.gz" | sha256sum -c $ tar -xf cmake-3.18.0-Linux-x86_64.tar.gz && (cd cmake-3.18.0-Linux-x86_64 && ./bootstrap && make) # Done, cmake is usable, nothing is installed on the system, everything is self-contained *inside* the build directory itself. $ ./cmake-3.18.0-Linux-x86_64/bin/cmake ../llvm/ -D.... # build LLVM as usual.