I’m trying to compile a tag ‘llvmorg-14.0.5’ but I’m stuck with installation of compiled stuff. It says:
...
-- Up-to-date: /home/kakadu/mand/llvm/install/include/clang-c/CXString.h
-- Up-to-date: /home/kakadu/mand/llvm/install/include/clang-c/CXErrorCode.h
CMake Error at tools/clang/docs/cmake_install.cmake:46 (file):
file INSTALL cannot find
"/home/kakadu/mand/llvm/build/tools/clang/docs/doxygen/html": No such file
or directory.
Call Stack (most recent call first):
tools/clang/cmake_install.cmake:71 (include)
tools/cmake_install.cmake:53 (include)
cmake_install.cmake:78 (include)
I install using cmake --build . -j4 --target install
and my configuration command looks like
cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug \
-DBUILD_SHARED_LIBS=Dynamic -DLLVM_ENABLE_PROJECTS='clang' \
-DLLVM_TARGETS_TO_BUILD="X86" -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=RISCV \
-DLLVM_USE_SPLIT_DWARF=ON ../llvm-project/llvm \
-DCMAKE_INSTALL_PREFIX=~/mand/llvm/install -DLLVM_ENABLE_DOXYGEN=ON \
I’m not sure is it a peculiarity of LLVM or my cmake-fu requires level-up. Any ideas?