[Bf-blender-cvs] [df3a67fc52e] master: Build Deps: Pass Python3 root to ISPC

Sergey Sharybin noreply at git.blender.org
Mon Jun 20 17:10:45 CEST 2022


Commit: df3a67fc52e2a9a5e8158e3db2195e406cf6ec05
Author: Sergey Sharybin
Date:   Mon Jun 20 17:08:43 2022 +0200
Branches: master
https://developer.blender.org/rBdf3a67fc52e2a9a5e8158e3db2195e406cf6ec05

Build Deps: Pass Python3 root to ISPC

Following what is done for LLVM. Being consistent feels good here.

Not strictly needed as the build here passed anyway, but it does
feel good to be consistent.

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

M	build_files/build_environment/cmake/ispc.cmake

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

diff --git a/build_files/build_environment/cmake/ispc.cmake b/build_files/build_environment/cmake/ispc.cmake
index 17429a3dd67..b6dd6415174 100644
--- a/build_files/build_environment/cmake/ispc.cmake
+++ b/build_files/build_environment/cmake/ispc.cmake
@@ -43,6 +43,7 @@ set(ISPC_EXTRA_ARGS
     -DISPC_INCLUDE_TESTS=Off
     -DCLANG_LIBRARY_DIR=${LIBDIR}/llvm/lib
     -DCLANG_INCLUDE_DIRS=${LIBDIR}/llvm/include
+    -DPython3_ROOT_DIR=${LIBDIR}/python/
     -DPython3_EXECUTABLE=${PYTHON_BINARY}
     ${ISPC_EXTRA_ARGS_WIN}
     ${ISPC_EXTRA_ARGS_APPLE}



More information about the Bf-blender-cvs mailing list