[Bf-blender-cvs] [97300a3bebb] master: Buildbot: Force build environment to use latest GCC

Sergey Sharybin noreply at git.blender.org
Thu Apr 6 11:21:25 CEST 2017


Commit: 97300a3bebb719927fad46c79c5ea0955e3546e4
Author: Sergey Sharybin
Date:   Thu Apr 6 11:21:07 2017 +0200
Branches: master
https://developer.blender.org/rB97300a3bebb719927fad46c79c5ea0955e3546e4

Buildbot: Force build environment to use latest GCC

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

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 ed5417c1c6e..320edab65e8 100644
--- a/build_files/buildbot/config/blender_linux.cmake
+++ b/build_files/buildbot/config/blender_linux.cmake
@@ -21,6 +21,10 @@ else()
 	message(FATAL_ERROR "Unknown build environment")
 endif()
 
+# Use backported version of the compiler instead of a system default one
+set(CMAKE_C_COMPILER "/usr/bin/gcc-6" CACHE STRING "" FORCE)
+set(CMAKE_CXX_COMPILER "/usr/bin/g++-6" CACHE STRING "" FORCE)
+
 # Default to only build Blender, not the player
 set(WITH_BLENDER             ON  CACHE BOOL "" FORCE)
 set(WITH_PLAYER              OFF CACHE BOOL "" FORCE)




More information about the Bf-blender-cvs mailing list