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>2019-10-09 10:42:42 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2019-10-09 10:42:42 +0300
commit40a55be82cf50849ae1df3b32b81da91f0894e38 (patch)
tree857068f447262edb77b7f2597815ce39841b780b /build_files/utils
parent340b9c1dfc6e81efc0fb1e1ffff78203ba6aeddc (diff)
Buildbot: Checkout precomiled CentOS libraries
Diffstat (limited to 'build_files/utils')
-rwxr-xr-xbuild_files/utils/make_update.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/build_files/utils/make_update.py b/build_files/utils/make_update.py
index 48158d540c4..bf2e6e9fab8 100755
--- a/build_files/utils/make_update.py
+++ b/build_files/utils/make_update.py
@@ -28,13 +28,17 @@ def parse_arguments():
parser.add_argument("--use-tests", action="store_true")
parser.add_argument("--svn-command", default="svn")
parser.add_argument("--git-command", default="git")
+ parser.add_argument("--use-centos-libraries", action="store_true")
return parser.parse_args()
+def get_blender_git_root():
+ return check_output([args.git_command, "rev-parse", "--show-toplevel"])
+
# Setup for precompiled libraries and tests from svn.
def svn_update(args, release_version):
svn_non_interactive = [args.svn_command, '--non-interactive']
- lib_dirpath = os.path.join('..', 'lib')
+ lib_dirpath = os.path.join(get_blender_git_root(), '..', 'lib')
svn_url = make_utils.svn_libraries_base_url(release_version)
# Checkout precompiled libraries
@@ -45,6 +49,8 @@ def svn_update(args, release_version):
# this script is bundled as part of the precompiled libraries. However it
# is used by the buildbot.
lib_platform = "win64_vc14"
+ elif args.use_centos_libraries:
+ lib_platform = "linux_centos7_x86_64"
else:
# No precompiled libraries for Linux.
lib_platform = None