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:
authorBastien Montagne <montagne29@wanadoo.fr>2015-11-28 21:49:03 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2015-11-28 21:52:45 +0300
commit37801588d4b9d919bab40f1fa22d631d31eb2105 (patch)
treedb8ea60e77a91218185c08278b3b7a4bd6eba826 /build_files/build_environment/install_deps.sh
parentfb0fa3cb9e3add429e97fe07a7a225cebfba7133 (diff)
install_deps.sh: always give py version arg to cmake/scons (same as we already do with llvm).
This should avoid 'casual builders' to have issues when we switch py versions.
Diffstat (limited to 'build_files/build_environment/install_deps.sh')
-rwxr-xr-xbuild_files/build_environment/install_deps.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/build_files/build_environment/install_deps.sh b/build_files/build_environment/install_deps.sh
index 7ca9ffb26e9..8a4e246d9b8 100755
--- a/build_files/build_environment/install_deps.sh
+++ b/build_files/build_environment/install_deps.sh
@@ -3664,6 +3664,9 @@ print_info() {
_buildargs=""
+ _1="-D PYTHON_VERSION=$PYTHON_VERSION_MIN"
+ PRINT " $_1"
+ _buildargs="$_buildargs $_1"
if [ -d $INST/python-$PYTHON_VERSION_MIN ]; then
_1="-D PYTHON_ROOT_DIR=$INST/python-$PYTHON_VERSION_MIN"
PRINT " $_1"
@@ -3758,6 +3761,7 @@ print_info() {
PRINT ""
PRINT "If you're using SCons add this to your user-config:"
+ PRINT "BF_PYTHON_VERSION = $PYTHON_VERSION_MIN"
if [ -d $INST/python-$PYTHON_VERSION_MIN ]; then
PRINT "BF_PYTHON = '$INST/python-$PYTHON_VERSION_MIN'"
PRINT "BF_PYTHON_ABI_FLAGS = 'm'"