Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2017-04-06 12:21:07 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2017-04-06 12:21:07 +0300
commit97300a3bebb719927fad46c79c5ea0955e3546e4 (patch)
treeb488895ae8b88cb772e9fa9863ce02cde88ea437 /build_files/buildbot/config/blender_linux.cmake
parentf74b4a010d4b0cc51eb9ecddeab0f7d91b31ec94 (diff)
Buildbot: Force build environment to use latest GCC
Diffstat (limited to 'build_files/buildbot/config/blender_linux.cmake')
-rw-r--r--build_files/buildbot/config/blender_linux.cmake4
1 files changed, 4 insertions, 0 deletions
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)