From 1c4c904786b55cf086a0536eda9594b0f49aefcf Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Mon, 11 Jul 2022 11:42:54 +0200 Subject: [PATCH] Deps Builder: Disable TermInfo and ncurses for DPC++ They are not strictly needed for compilation and disabling them makes the compiler more portable without any special trickery. This change aimed to solve problem which currently happens on the API documentation build which does not have terminfo installed, but needs to compile Cycles. Note that the DPC++ is to be re-compiled. --- build_files/build_environment/cmake/dpcpp.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build_files/build_environment/cmake/dpcpp.cmake b/build_files/build_environment/cmake/dpcpp.cmake index 563bc7aeff4..3c3fe201073 100644 --- a/build_files/build_environment/cmake/dpcpp.cmake +++ b/build_files/build_environment/cmake/dpcpp.cmake @@ -63,6 +63,8 @@ set(DPCPP_EXTRA_ARGS -DPython3_ROOT_DIR=${LIBDIR}/python/ -DPython3_EXECUTABLE=${PYTHON_BINARY} -DPYTHON_EXECUTABLE=${PYTHON_BINARY} + -DLLDB_ENABLE_CURSES=OFF + -DLLVM_ENABLE_TERMINFO=OFF ) if(WIN32)