Use Python 3.6 in case of Zephyr target (#3493)

PyYAML requires Python 2.7 or Python 3.4+.

JerryScript-DCO-1.0-Signed-off-by: Roland Takacs r.takacs2@partner.samsung.com
This commit is contained in:
Roland Takacs
2020-01-07 12:53:53 +01:00
committed by Robert Fancsik
parent 9e0709e401
commit 420643d645
2 changed files with 8 additions and 6 deletions
+5 -5
View File
@@ -23,7 +23,7 @@ all:
# Install tools via apt.
install-apt-get-deps:
sudo apt-get install -q -y gperf dfu-util device-tree-compiler python3-ply python3-pip
sudo apt-get install -q -y gperf dfu-util device-tree-compiler
# Install Zephyr SDK.
install-zephyr-sdk:
@@ -33,13 +33,13 @@ install-zephyr-sdk:
# Fetch Zephyr Project repository and install python dependencies.
install-zephyr:
git clone https://github.com/zephyrproject-rtos/zephyr.git ../zephyr -b v1.14-branch
pip3 install --user -U pip
pip3 install --user -U setuptools
pip3 install --user -r ../zephyr/scripts/requirements.txt
pip3 install -U pip
pip3 install -U setuptools
pip3 install -r ../zephyr/scripts/requirements.txt
# Install recent CMake
install-cmake:
pip install --user cmake
pip install cmake
cmake --version
# Perform all the necessary (JerryScript-independent) installation steps.