This is an automated email from the ASF dual-hosted git repository.
mehrdadh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git
The following commit(s) were added to refs/heads/main by this push:
new fe372a7309 [docker][microTVM]Update zephyr version to 3.2 and Zephyr
SDK to 0.15.2 (#13806)
fe372a7309 is described below
commit fe372a73096a172ce6e5e8879d2628d84d58cb93
Author: Mehrdad Hessar <[email protected]>
AuthorDate: Fri Jan 20 14:19:39 2023 -0800
[docker][microTVM]Update zephyr version to 3.2 and Zephyr SDK to 0.15.2
(#13806)
This PR updates Zephyr version and Zephyr SDK version to the latest release
only in docker build scripts.
---
docker/install/ubuntu_init_zephyr_project.sh | 2 +-
docker/install/ubuntu_install_zephyr.sh | 1 -
docker/install/ubuntu_install_zephyr_sdk.sh | 14 +++++++-------
3 files changed, 8 insertions(+), 9 deletions(-)
diff --git a/docker/install/ubuntu_init_zephyr_project.sh
b/docker/install/ubuntu_init_zephyr_project.sh
index c1cdcaecce..49073d07f0 100755
--- a/docker/install/ubuntu_init_zephyr_project.sh
+++ b/docker/install/ubuntu_init_zephyr_project.sh
@@ -51,7 +51,7 @@ if [ "$1" == "--branch" ]; then
BRANCH=$1
shift
else
- BRANCH="v2.7-branch"
+ BRANCH="v3.2-branch"
fi
COMMIT=
diff --git a/docker/install/ubuntu_install_zephyr.sh
b/docker/install/ubuntu_install_zephyr.sh
index 552ad26260..6eaa5e5aa1 100755
--- a/docker/install/ubuntu_install_zephyr.sh
+++ b/docker/install/ubuntu_install_zephyr.sh
@@ -58,7 +58,6 @@ chmod -R o+w ${ZEPHYR_PROJECT_PATH}
mkdir zephyr/.cache
chmod o+rwx zephyr/.cache
-#/opt/west/bin/pip3 install -r
/opt/zephyrproject/zephyr/scripts/requirements.txt
pip3 install -r /opt/zephyrproject/zephyr/scripts/requirements.txt
# the requirements above overwrite junintparser with an older version, but it
is not
diff --git a/docker/install/ubuntu_install_zephyr_sdk.sh
b/docker/install/ubuntu_install_zephyr_sdk.sh
index 99ceec0a29..228baf7321 100755
--- a/docker/install/ubuntu_install_zephyr_sdk.sh
+++ b/docker/install/ubuntu_install_zephyr_sdk.sh
@@ -42,10 +42,10 @@ fi
INSTALLATION_PATH=$1
shift
-ZEPHYR_SDK_VERSION=0.13.2
-ZEPHYR_SDK_FILE=zephyr-sdk-linux-setup.run
-wget --no-verbose -O $ZEPHYR_SDK_FILE \
-
https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v${ZEPHYR_SDK_VERSION}/zephyr-sdk-${ZEPHYR_SDK_VERSION}-linux-x86_64-setup.run
-chmod +x $ZEPHYR_SDK_FILE
-"./$ZEPHYR_SDK_FILE" -- -d ${INSTALLATION_PATH}
-rm "$ZEPHYR_SDK_FILE"
+ZEPHYR_SDK_FILE_SHA=8e3572fbca9f9ba18a4436c00d680af34a85e239f7fe66c7988da85571a0d23d
+wget
https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.15.2/zephyr-sdk-0.15.2_linux-x86_64.tar.gz
+echo "$ZEPHYR_SDK_FILE_SHA zephyr-sdk-0.15.2_linux-x86_64.tar.gz" | sha256sum
--check
+
+tar xvf zephyr-sdk-0.15.2_linux-x86_64.tar.gz
+mv zephyr-sdk-0.15.2 zephyr-sdk
+rm zephyr-sdk-0.15.2_linux-x86_64.tar.gz