Ruben Ayrapetyan
393d693e23
Introduce 'USE_COMPILER_DEFAULT_LIBC' for switching from jerry-libc to a libc, provided by compiler.
...
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
2015-07-08 15:02:40 +03:00
Evgeny Gavrin
ddc3f0d6e8
Remove nuttx from prerequisites.
...
Related issue: #313
JerryScript-DCO-1.0-Signed-off-by: Evgeny Gavrin e.gavrin@samsung.com
2015-07-08 13:17:14 +03:00
Evgeny Gavrin
444bd32d50
Add support of cross-compilation for linux-based targets.
...
Usage:
- Cross compile:
make debug.linux TOOLCHAIN=./build/configs/toolchain_linux_armv7l-el.cmake
- Build unittests
make unittests TOOLCHAIN=./build/configs/toolchain_linux_armv7l-el.cmake
- Run unittests on target board
./tools/runners/run-unittests-remote.sh <ip> <login> <pass>
- Run JavaScript test on target board
./tools/runners/run-tests-remote.sh debug.linux <ip> <login> <pass>
JerryScript-DCO-1.0-Signed-off-by: Evgeny Gavrin e.gavrin@samsung.com
2015-06-30 15:03:36 +03:00
Evgeny Gavrin
216dc251ec
Remove support of plug-in mechanism.
...
This API is obsolete and can be fully replaced with existing `api.h`.
JerryScript-DCO-1.0-Signed-off-by: Evgeny Gavrin e.gavrin@samsung.com
2015-06-23 13:56:46 +03:00
Ruben Ayrapetyan
57c6c377af
Small enhancements of unit tests implementation style and fix of the tests' modules naming style.
...
- introducing TEST_RANDOMIZE macro for randomization of source data used in unit tests;
- replacing assert with JERRY_ASSERT;
- renaming test_* to test-*.
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
2015-06-13 16:10:36 +03:00
Andrey Shitov
d6c9c5911e
Add logging support for linux.
...
JerryScript-DCO-1.0-Signed-off-by: Andrey Shitov a.shitov@samsung.com
2015-05-20 15:28:36 +03:00
Tamas Czene
7dfbc88cc0
Added Math functions
...
JerryScript-DCO-1.0-Signed-off-by: Tamas Czene tczene.u-szeged@partner.samsung.com
2015-05-19 18:09:12 +02:00
Ruben Ayrapetyan
2852d93af6
Fixing toolchain_external.cmake build configuration: generalizing it from Nuttx OS.
...
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
2015-05-08 21:02:33 +03:00
Ruben Ayrapetyan
290eb2f9b0
Adding support to specify interfaces for external libraries other than libc.
...
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
2015-05-08 21:02:31 +03:00
Ruben Ayrapetyan
9b0125086f
Introducing minimal footprint build modifier (mfp).
...
The modifier disables lookup cache and adds GC invocation after each opcode execution.
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
2015-04-30 18:54:50 +03:00
Ruben Ayrapetyan
5e3c9b59ef
Adding script for automatic download of prerequisites.
...
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
2015-04-30 15:16:31 +03:00
Ruben Ayrapetyan
3218a87a7f
Replacing 'uname -p' with 'uname -m' in Makefile.
2015-04-13 20:38:02 +03:00
Ruben Ayrapetyan
80d9328c1f
Providing option for disabling LTO build mode.
2015-03-27 14:19:33 +03:00
Ruben Ayrapetyan
4cf575c40c
Adding missing Nuttx headers, removing .gitignore files from ./third-party/nuttx, fixing default Nuttx include path in Makefile.
2015-03-26 21:36:55 +03:00
Ruben Ayrapetyan
9bcf734bd1
Adding build directory targets to .PHONY list in Makefile.
2015-03-26 17:46:42 +03:00
Ruben Ayrapetyan
c8f78c5d28
Nuttx build support.
2015-03-23 12:10:27 +03:00
Ruben Ayrapetyan
d83d8e0b36
Removing build of multiple identical jerry-libc and plugins libraries copies. Fixing parallel build / precommit invocation without using the workaround.
2015-03-19 19:06:02 +03:00
Ruben Ayrapetyan
b6d018d019
Enable cppcheck run during precommit testing
2015-02-17 18:43:54 +03:00
Ruben Ayrapetyan
92a9d6db45
Moving precommit testing scripts from Makefile[.mk] to tools/runners/run-precommit-check-for-target.sh and tools/precommit.sh; deleting Makefile.mk.
2015-02-17 15:28:13 +03:00
Ruben Ayrapetyan
03c81e96e9
Turning on unit tests build and run during precommit.
2015-02-16 19:35:15 +03:00
Ruben Ayrapetyan
2667281745
Adding VALGRIND={ON,OFF} make option.
2015-02-16 14:02:32 +03:00
Ruben Ayrapetyan
43ea53b1d7
Jerry is now split to several components: core, libc, plugins.
...
The components are build independently and then are linked with main module corresponding to target platform.
Core is supposed to be platform-independent, while libc and plugins are dependent on specific architecture / platform.
The commit disables unit tests building and running during precommit.
That is supposed to be fixed in a subsequent commit.
Also, the commit disables building and running valgrind targets during precommit.
Build is supposed to be turned on by an option that should be introduced later.
Valgrind-checked runs are supposed to be performed in asynchronous mode.
2015-02-13 21:54:27 +03:00
Ruben Ayrapetyan
f3ff78b81b
Refinement of tools directory.
2015-02-10 20:21:01 +03:00
Ruben Ayrapetyan
d2459398f5
Refinement of build output structure.
2015-02-10 19:34:30 +03:00
Ruben Ayrapetyan
718bbe26f9
Refinement of project structure.
...
- components renaming and moving:
- liballocator -> mem;
- libcoreint -> vm;
- libecmaobjects -> ecma/base;
- libecmaoperations -> ecma/operations;
- libecmabuiltins -> ecma/builtins;
- libjsparser -> parser/js;
- libintstructs -> parser/collections;
- liboptimizer -> parser/js;
- libperipherals -> ../plugins/lib_device_stm;
- libruntime -> jrt;
- generated.h now is created as intermediate during build;
- benchmarks -> tests/benchmarks;
- docs -> documentation;
- demo-applications removed (loop_demo.js -> tests/blinky.js).
2015-02-10 19:00:32 +03:00
Jerry Deferred Test Account (ARM Linux Host)
c104a58008
CMake: fixing search of gcc-ar and gcc-ranlib tools, linkage of libgcc; Makefile: replacing path to out with $(OUT_DIR).
2015-02-10 10:53:18 +00:00
Ruben Ayrapetyan
b7e374fedc
Switching to CMake for build.
2015-02-09 20:56:01 +03:00
Ruben Ayrapetyan
9f7e17e9fd
Removing musl libc usage. Linking to libgcc (for __aeabi_* routines on ARM target).
2014-11-18 21:17:31 +03:00
Ruben Ayrapetyan
7bb6c6bc84
Removing debug_release.* build targets.
2014-11-17 13:52:22 +03:00
Ruben Ayrapetyan
c5cc82d793
Adding mem_stats build modifier.
2014-11-12 15:46:15 +03:00
Ruben Ayrapetyan
c0a6ae3eff
- Smaller but not precise conversion between strings and numbers under
...
CONFIG_ECMA_NUMBER_TYPE==CONFIG_ECMA_NUMBER_FLOAT32 (float32 mode);
- float64 mode by default if not CompactProfile-mode;
- CompactProfile-mode for MCU builds.
2014-10-31 20:44:27 +03:00
Ruben Ayrapetyan
05cf2dbe04
Providing cp_minimal build mode.
...
In the mode built-in objects except Global, Object, Object.prototype, Function,
Function.prototype, [[ThrowTypeError]] and CompactProfileError are disabled.
Making default builds (without cp cp_minimal modes set) to not define CONFIG_ECMA_COMPACT_PROFILE.
Removing some tests that depend on 'eval'-like functionality or CompactProfileError built-in from pre-commit testing.
2014-10-31 18:37:55 +03:00
Ruben Ayrapetyan
4f68e43b7d
Adding debug.linux-float64 to pre-commit testing.
2014-10-23 20:34:58 +04:00
Ruben Ayrapetyan
81ae0010ac
Introducing float64 mod for host build targets that configures ecma-number to be float64 instead of default float32.
2014-10-23 19:27:43 +04:00
Ruben Ayrapetyan
e4a7d1c8ac
Introducing nostaticcheck=1 build option for disabling cppcheck and vera++ checks during the build.
2014-10-23 16:55:59 +04:00
Ruben Ayrapetyan
ae048a7630
Running internal test suite during precommit testing.
2014-10-20 21:45:21 +04:00
Ruben Ayrapetyan
8e1156bd9e
Support of STM32F3 board.
2014-10-17 21:48:09 +04:00
Ruben Ayrapetyan
318a62e9b3
Adding debug.linux-valgrind.check and release.linux-musl-valgrind.check to precommit testing.
2014-09-17 12:56:48 +04:00
Ruben Ayrapetyan
2851c59d97
Add noopt=1 option to override OPTION_OPTIMIZE to disable.
2014-08-21 17:48:26 +04:00
Ruben Ayrapetyan
d5f50ebd04
Add dbgsyms=1 option to override OPTION_DEBUG_SYMS to enable, OPTION_STRIP to disable.
2014-08-19 19:17:03 +04:00
Ruben Ayrapetyan
04dedd8f87
Adding 'make log' to list commits with commit testing notes.
2014-08-14 17:52:54 +04:00
Ruben Ayrapetyan
5ebc744511
Logging performance and memory benchmarks to git notes during precommit testing.
2014-08-14 17:28:41 +04:00
e.gavrin
887ac9c114
reduce number of mandatory precommit builds
2014-08-08 22:24:40 +04:00
e.gavrin
6506147ebb
Temporaly remove sanitize builds from precommit(until fixed), fix mistype in rss_measure.sh
2014-08-08 11:22:07 +04:00
Ruben Ayrapetyan
4ff5042abc
Enabling full testing mode during pre-commit.
2014-08-06 15:54:37 +04:00
Ruben Ayrapetyan
084ca2325c
Implementing __printf. Setting libc_raw as default libc. Removing LIBC_STD mode.
2014-08-06 15:00:33 +04:00
Ruben Ayrapetyan
6c01782e91
Hiding *.check targets. Enablings pre-commit parse-only tests from ./benchmarks/jerry except cse.js and chess.js. Making tests named beginning from N to be skipped in jerry_test.sh. Renaming cse.js and chess.js to N.cse.js, N.chess.js.
2014-08-06 13:49:51 +04:00
Ruben Ayrapetyan
adfa6d3576
Adding -s (silent) flag to make command line in tools/push.sh.
2014-08-05 15:37:16 +04:00
Ruben Ayrapetyan
9f56d42ceb
Adding push target. Handling empty commit list by early exit. Successful push message coloring.
2014-08-05 15:24:37 +04:00
Ruben Ayrapetyan
eb233804d7
Removing git status checking from 'make precommit'.
2014-08-05 13:55:59 +04:00