diff options
author | Dániel Bátyai <dbatyai@inf.u-szeged.hu> | 2020-06-12 17:55:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-12 17:55:00 +0200 |
commit | fde0d556ac1d6d1ea7983ceb761f81e5a6829561 (patch) | |
tree | 0c7bc00917b84130ed2027a93c00079c40d666f6 /targets | |
parent | c0270c48873e71d801a5f2413747a9211051c1c4 (diff) |
Re-target for ES.Next (#3901)
A list of changes:
- 'es2015-subset' profile is deprecated, and an 'es.next' profile is added.
- The default profile is changed to 'es.next'
- Renamed the JERRY_ES2015 guard to JERRY_ESNEXT
- Renamed JERRY_ES2015_BUILTIN_* guards to JERRY_BUILTIN_*
- Moved es2015 specific tests to a new 'es.next' subdirectory
- Updated docs, targets, and test runners to reflect these changes
Resolves #3737.
JerryScript-DCO-1.0-Signed-off-by: Dániel Bátyai dbatyai@inf.u-szeged.hu
Diffstat (limited to 'targets')
-rwxr-xr-x | targets/curie_bsp/setup.py | 2 | ||||
-rw-r--r-- | targets/esp8266/Makefile.esp8266 | 1 | ||||
-rw-r--r-- | targets/nuttx-stm32f4/Makefile.travis | 2 | ||||
-rw-r--r-- | targets/nuttx-stm32f4/README.md | 2 | ||||
-rw-r--r-- | targets/riot-stm32f4/Makefile.riot | 1 |
5 files changed, 5 insertions, 3 deletions
diff --git a/targets/curie_bsp/setup.py b/targets/curie_bsp/setup.py index 8cde3025..d8b7b1ca 100755 --- a/targets/curie_bsp/setup.py +++ b/targets/curie_bsp/setup.py @@ -96,7 +96,7 @@ def build_jerry_data(jerry_path): '-DJERRY_BUILTIN_DATE=0', '-DJERRY_BUILTIN_REGEXP=0', '-DJERRY_BUILTIN_ANNEXB=0', - '-DJERRY_ES2015=0', + '-DJERRY_ESNEXT=0', '-DJERRY_LCACHE=0', '-DJERRY_PROPRETY_HASHMAP=0', ] diff --git a/targets/esp8266/Makefile.esp8266 b/targets/esp8266/Makefile.esp8266 index b1487ab3..c0f88c53 100644 --- a/targets/esp8266/Makefile.esp8266 +++ b/targets/esp8266/Makefile.esp8266 @@ -51,6 +51,7 @@ jerry: -DENABLE_LTO=OFF \ -DENABLE_ALL_IN_ONE=ON \ -DJERRY_CMDLINE=OFF \ + -DJERRY_PROFILE="es5.1" \ -DEXTERNAL_COMPILE_FLAGS="$(ESP_CFLAGS)" \ -DJERRY_GLOBAL_HEAP_SIZE=$(JERRYHEAP) diff --git a/targets/nuttx-stm32f4/Makefile.travis b/targets/nuttx-stm32f4/Makefile.travis index 12dffdde..90a50878 100644 --- a/targets/nuttx-stm32f4/Makefile.travis +++ b/targets/nuttx-stm32f4/Makefile.travis @@ -51,7 +51,7 @@ install: install-apt-get-deps install-noapt # Build JerryScript. script-build-jerryscript: - tools/build.py --clean --toolchain cmake/toolchain_mcu_stm32f4.cmake --profile=es2015-subset --jerry-cmdline OFF --lto OFF --jerry-libm ON --all-in-one ON --jerry-port-default OFF --mem-heap 70 --compile-flag='--sysroot=../nuttx' + tools/build.py --clean --toolchain cmake/toolchain_mcu_stm32f4.cmake --profile=es.next --jerry-cmdline OFF --lto OFF --jerry-libm ON --all-in-one ON --jerry-port-default OFF --mem-heap 70 --compile-flag='--sysroot=../nuttx' # Link in the NuttX JerryScript target directory under the NuttX apps tree. script-add-jerryscript-app: diff --git a/targets/nuttx-stm32f4/README.md b/targets/nuttx-stm32f4/README.md index 3038d57a..673b3c1c 100644 --- a/targets/nuttx-stm32f4/README.md +++ b/targets/nuttx-stm32f4/README.md @@ -44,7 +44,7 @@ jerryscript/tools/build.py \ --jerry-libm=ON \ --all-in-one=ON \ --mem-heap=70 \ - --profile=es2015-subset \ + --profile=es.next \ --compile-flag="--sysroot=${PWD}/nuttx" \ --toolchain=${PWD}/jerryscript/cmake/toolchain_mcu_stm32f4.cmake ``` diff --git a/targets/riot-stm32f4/Makefile.riot b/targets/riot-stm32f4/Makefile.riot index ab4dc03e..b30ffc53 100644 --- a/targets/riot-stm32f4/Makefile.riot +++ b/targets/riot-stm32f4/Makefile.riot @@ -49,6 +49,7 @@ libjerry: -DENABLE_ALL_IN_ONE=OFF \ -DJERRY_LIBM=OFF \ -DJERRY_CMDLINE=OFF \ + -DJERRY_PROFILE="es5.1" \ -DEXTERNAL_COMPILE_FLAGS="$(EXT_CFLAGS)" \ -DJERRY_GLOBAL_HEAP_SIZE=$(JERRYHEAP) make -C$(BUILD_DIR) jerry-core jerry-port-default-minimal jerry-ext |