[Bf-blender-cvs] [1c4c904786b] master: Deps Builder: Disable TermInfo and ncurses for DPC++

Sergey Sharybin noreply at git.blender.org
Mon Jul 11 12:08:49 CEST 2022


Commit: 1c4c904786b55cf086a0536eda9594b0f49aefcf
Author: Sergey Sharybin
Date:   Mon Jul 11 11:42:54 2022 +0200
Branches: master
https://developer.blender.org/rB1c4c904786b55cf086a0536eda9594b0f49aefcf

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.

===================================================================

M	build_files/build_environment/cmake/dpcpp.cmake

===================================================================

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)



More information about the Bf-blender-cvs mailing list