Skip to content

Commit

Permalink
tizenrt: build: Update TizenRT to 2.0_Public_M2
Browse files Browse the repository at this point in the history
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.

jerryx extra lib has been dropped for now,
this should be reintroduced later (once TizenRT upgraded IoT.js ?)

Bug: jerryscript-project#1777
Forwarded: jerryscript-project#1780
IoT.js-DCO-1.0-Signed-off-by: Philippe Coval p.coval@samsung.com
  • Loading branch information
rzr committed Nov 5, 2018
1 parent 67c1ede commit e8a439c
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions tools/travis_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down Expand Up @@ -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
Expand All @@ -150,10 +151,8 @@ def build_iotjs(buildtype, args=[], env=[]):
exec_docker(DOCKER_TIZENRT_OS_PATH, [
'make', 'IOTJS_ROOT_DIR=' + DOCKER_IOTJS_PATH,
'IOTJS_BUILD_OPTION='
'--profile=test/profiles/tizenrt.profile',
'EXTRA_LIBPATHS=-L' + DOCKER_IOTJS_PATH +
'/build/arm-tizenrt/' + buildtype + '/lib/',
'EXTRA_LIBS=-ljerry-ext'])
'--profile=test/profiles/tizenrt.profile'
])

elif test == 'stm32f4dis':
# Copy the application files to apps/system/iotjs.
Expand Down

0 comments on commit e8a439c

Please sign in to comment.