From cc60c36db01232e9f953b2f46a8fc0b3f4c4d0a8 Mon Sep 17 00:00:00 2001
From: Philippe Coval
Date: Mon, 22 Oct 2018 11:46:21 +0200
Subject: [PATCH] tizenrt: build: Update TizenRT to 2.0_Public_M2
Because current version of TizenRT in IoT.js docker image is outdated,
let's fetch tag from upstream at build time,
to speed up build time, this part can be eventually removed
if image is updated with latest TizenRT's sources.
Bug: https://github.com/Samsung/iotjs/issues/1777
Forwarded: https://github.com/Samsung/iotjs/pull/1780
IoT.js-DCO-1.0-Signed-off-by: Philippe Coval p.coval@samsung.com
---
tools/travis_script.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tools/travis_script.py b/tools/travis_script.py
index 4bb12c0eaf..09f0a69eec 100755
--- a/tools/travis_script.py
+++ b/tools/travis_script.py
@@ -44,7 +44,7 @@
DOCKER_NAME = 'iotjs_docker'
BUILDTYPES = ['debug', 'release']
-TIZENRT_TAG = '1.1_Public_Release'
+TIZENRT_TAG = '2.0_Public_M2'
# Common buildoptions for sanitizer jobs.
BUILDOPTIONS_SANITIZER = [
@@ -137,6 +137,7 @@ def build_iotjs(buildtype, args=[], env=[]):
'--profile=test/profiles/rpi2-linux.profile'])
elif test == 'artik053':
+ exec_docker(DOCKER_TIZENRT_PATH, ['git', 'fetch', '--tags'])
# Checkout specified tag
exec_docker(DOCKER_TIZENRT_PATH, ['git', 'checkout', TIZENRT_TAG])
# Set configure