File tree Expand file tree Collapse file tree 1 file changed +13
-13
lines changed
Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ case "${PYVER}" in
1010 " 3.8.5" ) export HASH_PYTHON3=${HASH_PYTHON3:- " URL_HASH MD5=35b5a3d0254c1c59be9736373d429db7" } ;;
1111 " 3.9.0" ) export HASH_PYTHON3=${HASH_PYTHON3:- " URL_HASH MD5=6ebfe157f6e88d9eabfbaf3fa92129f6" } ;;
1212 " 3.9.1" ) export HASH_PYTHON3=${HASH_PYTHON3:- " URL_HASH MD5=61981498e75ac8f00adcb908281fadb6" } ;;
13- " 3.9.2" ) export HASH_PYTHON3=${HASH_PYTHON3:- " URL_HASH MD5= f0dc9000312abeb16de4eccce9a870ab" } ;;
13+ " 3.9.2" ) export HASH_PYTHON3=${HASH_PYTHON3:- " URL_HASH MD5=f0dc9000312abeb16de4eccce9a870ab" } ;;
1414esac
1515
1616export PYOPTS=" --without-pymalloc --without-pydebug\
@@ -23,22 +23,22 @@ export PYTARGET="${BUILD_SRC}/python3-${ENV}"
2323
2424export PYTHONDONTWRITEBYTECODE=1
2525
26+ # restrict $PYMINOR for env so host pip can work for populating android projects
27+ for py in ${PYMINOR} 8 7 6 5
28+ do
29+ if command -v python3.${py}
30+ then
31+ export PYTHON=$( command -v python3.${py} )
32+ break
33+ fi
34+ done
35+
36+
2637if echo $CI | grep -q true
2738then
2839 JOBS=4
29- export PYTHON=${PYTHON_FOR_CI:- $(command -v python3.6) }
40+ export PYTHON=${PYTHON_FOR_CI:- $PYTHON }
3041 echo " CI-force-test $PYTHON , ncpu=$JOBS "
31-
32- else
33- # restrict $PYMINOR for env so host pip can work for populating android projects
34- for py in ${PYMINOR} 8 7 6 5
35- do
36- if command -v python3.${py}
37- then
38- export PYTHON=$( command -v python3.${py} )
39- break
40- fi
41- done
4242fi
4343
4444if echo $PYTHON | grep -q python3.6
You can’t perform that action at this time.
0 commit comments