From 97300a3bebb719927fad46c79c5ea0955e3546e4 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Thu, 6 Apr 2017 11:21:07 +0200 Subject: Buildbot: Force build environment to use latest GCC --- build_files/buildbot/config/blender_linux.cmake | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'build_files/buildbot') 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) -- cgit v1.2.3