[Bf-blender-cvs] [e71963a37e7] blender-v2.81-release: Buildbot: Ensure proper ABI is used

Sergey Sharybin noreply at git.blender.org
Wed Nov 6 13:54:28 CET 2019


Commit: e71963a37e76bb52524e36816286db28fdbbcf57
Author: Sergey Sharybin
Date:   Wed Nov 6 13:50:43 2019 +0100
Branches: blender-v2.81-release
https://developer.blender.org/rBe71963a37e76bb52524e36816286db28fdbbcf57

Buildbot: Ensure proper ABI is used

This wasn't an issue in the real buildbot environment since the
precompiled libraries are compiled with same ABI as the compiler
used for Blender build. But it was causing issues when building
Blender using buildbot scripts (for troubleshooting purposes)
on a machine with different default compiler ABI.

Usually ABI detection is happening in platform_unix.cmake when
detecting whether there are any precompiled libraries folder
available. This detection is not happening when library folder
is provided explicitly, expecting ABI to be setup explicitly
as well.

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

M	build_files/buildbot/config/blender_linux.cmake

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

diff --git a/build_files/buildbot/config/blender_linux.cmake b/build_files/buildbot/config/blender_linux.cmake
index 2047c28deb9..c970ae4c9c1 100644
--- a/build_files/buildbot/config/blender_linux.cmake
+++ b/build_files/buildbot/config/blender_linux.cmake
@@ -3,7 +3,9 @@
 include("${CMAKE_CURRENT_LIST_DIR}/../../cmake/config/blender_release.cmake")
 
 message(STATUS "Building in CentOS 7 64bit environment")
+
 set(LIBDIR_NAME "linux_centos7_x86_64")
+set(WITH_CXX11_ABI           OFF CACHE BOOL "" FORCE)
 
 # Default to only build Blender
 set(WITH_BLENDER             ON  CACHE BOOL "" FORCE)



More information about the Bf-blender-cvs mailing list