[Bf-blender-cvs] [5305ed9d896] temp-T97352-3d-texturing-seam-bleeding-b2: Deps Builder: Disable TermInfo and ncurses for DPC++

Sergey Sharybin noreply at git.blender.org
Mon Jul 11 15:36:23 CEST 2022


Commit: 5305ed9d8962f25989a6d62befdbe5a7da9a7dc0
Author: Sergey Sharybin
Date:   Mon Jul 11 11:42:54 2022 +0200
Branches: temp-T97352-3d-texturing-seam-bleeding-b2
https://developer.blender.org/rB5305ed9d8962f25989a6d62befdbe5a7da9a7dc0

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