Zsolt Borbély
3e1e0dc733
Move the logic of Valgrind-support check to the CMake part.
...
Related pull request: #866
JerryScript-DCO-1.0-Signed-off-by: Zsolt Borbély zsborbely.u-szeged@partner.samsung.com
2016-02-10 16:46:56 +01:00
Zoltan Herczeg
4d2dd22ced
Compact Byte Code parser and executor for Jerry.
...
JerryScript-DCO-1.0-Signed-off-by: László Langó llango.u-szeged@partner.samsung.com
JerryScript-DCO-1.0-Signed-off-by: Tamas Gergely tgergely.u-szeged@partner.samsung.com
JerryScript-DCO-1.0-Signed-off-by: Zsolt Borbély zsborbely.u-szeged@partner.samsung.com
JerryScript-DCO-1.0-Signed-off-by: Roland Takacs rtakacs.u-szeged@partner.samsung.com
JerryScript-DCO-1.0-Signed-off-by: István Kádár ikadar@inf.u-szeged.hu
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
2016-02-05 01:15:49 -08:00
qdk0901
db6caf3c48
add openwrt support
...
JerryScript-DCO-1.0-Signed-off-by: qdk0901 qdk0901@qq.com
2016-02-04 20:36:54 +08:00
Sung-Jae Lee
3703b1b681
Merge main-linux.cpp and main-darwin.cpp to main-unix.cpp for easy maintenance.
...
JerryScript-DCO-1.0-Signed-off-by: Sung-Jae Lee sjlee@mail.com
2016-01-29 22:22:11 +09:00
SaeHie Park
02daf04da6
Add external compile flags and entry file for target board builds
...
JerryScript-DCO-1.0-Signed-off-by: SaeHie Park saehie.park@samsung.com
2016-01-14 07:23:37 +09:00
Sung-Jae Lee
4f4407121b
Disable LTO, Enable ALL_IN_ONE by default in Mac OS X build.
...
JerryScript-DCO-1.0-Signed-off-by: Sung-Jae Lee sjlee@mail.com
2015-12-19 16:08:50 +09:00
Sung-Jae Lee
b3e5322c4e
Generate jerry.map file on build.
...
JerryScript-DCO-1.0-Signed-off-by: Sung-Jae Lee sjlee@mail.com
2015-12-07 19:08:06 +09:00
Akos Kiss
5ffc9abb59
Whitespace cleanup: tab removal in CMakeLists.txt
...
JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
2015-11-28 21:47:37 +01:00
Zsolt Borbély
fe157301a2
Add option to enable all-in-one build mode
...
Related issue: #626
JerryScript-DCO-1.0-Signed-off-by: Zsolt Borbély zsborbely.u-szeged@partner.samsung.com
2015-11-25 14:01:07 +01:00
Akos Kiss
8006635636
Pass -Wno-error to linker in case of LTO builds
...
When linking a release-built command line shell on Linux against
default glibc with LTO enabled, a long-open gcc bug causes spurious
warning to be emitted around a call to fread. The `-Werror` flag
turns this into an error and the build process fails.
Unfortunately, there is no way to selectively disable the warning
with pragmas or `-Wno-error=xxx` flags.
Thus, this patch introduces some helper macros and lists all
warnings explicitly with `-Werror=xxx` instead of covering all
warnings with the `-Werror` flag. This way, warnings enabled by
command line flags do cause errors, but those raised by warning
attributes (which cannot be suppressed by any `-Wno-error=xxx`
flags) don't.
JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
2015-11-17 22:20:23 +01:00
Zoltan Herczeg
c81c730129
Add support for reporting mallocs / frees to valgrind through client requests.
...
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg@inf.u-szeged.hu
2015-11-03 03:57:49 -08:00
SaeHie Park
86480f6168
Rename gcc-ar, gcc-ranlib only when LTO is enabled in CMakefile.txt
...
JerryScript-DCO-1.0-Signed-off-by: SaeHie Park saehie.park@samsung.com
2015-10-21 08:46:15 +09:00
Sung-Jae Lee
cc7501309a
Support gcc in Mac OS X build
...
- if `gcc` exist, use `gcc` for build, otherwise use `cc(=clang)` for build.
JerryScript-DCO-1.0-Signed-off-by: Sung-Jae Lee sjlee@mail.com
2015-09-17 01:06:11 +09:00
Sung-Jae Lee
01f66f7b04
Enable build on Mac OS X with clang
...
* Add build target 'darwin'
* Modify compiler options to work with clang
* Support 'jerry-libc' on Mac OS X
For MPU target build, install `gcc-arm-none-eabi` tool chain using `Homebrew` as following.
````
brew tap PX4/homebrew-px4
brew update
brew install gcc-arm-none-eabi
````
https://pixhawk.org/dev/toolchain_installation_mac
JerryScript-DCO-1.0-Signed-off-by: Sung-Jae Lee sjlee@mail.com
2015-09-15 10:31:57 +09:00
Ruben Ayrapetyan
fdf38ab2eb
Introduce GC stress testing mode (-mem_stress_test prefix; for example: debug.linux-mem_stress_test).
...
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
2015-09-09 16:28:28 +03:00
Ruben Ayrapetyan
b318de46a6
Remove 'mfp' (minimal footprint build configuration).
...
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
2015-09-09 16:28:28 +03:00
SaeHie Park
bc0ca7be5d
Add heap size limit
...
to solve #342
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
JerryScript-DCO-1.0-Signed-off-by: SaeHie Park saehie.park@samsung.com
2015-07-14 07:44:37 +09:00
SaeHie Park
0927888b44
External build fix
...
Added generic build for none linux platforms, as nuttx has be removed by #330
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
JerryScript-DCO-1.0-Signed-off-by: SaeHie Park saehie.park@samsung.com
2015-07-14 07:44:37 +09:00
SaeHie Park
13cf31413f
Fix EXTERNAL_LIBC_INTERFACE check with USE_COMPILER_DEFAULT_LIBC
...
Related with #331
JerryScript-DCO-1.0-Signed-off-by: SaeHie Park saehie.park@samsung.com
2015-07-12 17:18:52 +09:00
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
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
f115f731c3
Switch unit tests to jerry-libc.
...
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
2015-06-17 17:03:42 +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
Tamas Czene
677a0a45d0
Fixed nuttx build with fdlibm
...
JerryScript-DCO-1.0-Signed-off-by: Tamas Czene tczene.u-szeged@partner.samsung.com
2015-05-26 14:03:07 +02: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
d14c9f6b85
Making data and stack non-executable.
...
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
2015-04-30 18:54:50 +03:00
Ruben Ayrapetyan
bb258ad1e2
Supporting build with gcc/g++ version 4.7.
...
Build was tested on arm-linux-gnueabi-gcc/g++ 4.7.3.
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
2015-04-30 18:54:50 +03:00
Ruben Ayrapetyan
1669c3ed3d
Fixing STM32 and Nuttx build.
...
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
2015-04-30 15:16:35 +03:00
Ruben Ayrapetyan
eb7dce272a
Update of --mem-stats flag fix: leaving MEM_STATS definition only in jerry-core.
2015-03-30 20:00:55 +03:00
Andrey Shitov
ac7edde72e
Fixed --mem-stats flag.
2015-03-30 11:31:09 +03:00
Ruben Ayrapetyan
80d9328c1f
Providing option for disabling LTO build mode.
2015-03-27 14:19:33 +03:00
Ruben Ayrapetyan
c8f78c5d28
Nuttx build support.
2015-03-23 12:10:27 +03:00
Ruben Ayrapetyan
5e125187e5
Introducing jerry-libc's interface include directory.
2015-03-19 20:55:00 +03:00
Ruben Ayrapetyan
1ec7ffcbab
Turning on flto for all builds to produce target-independent core library.
2015-03-19 19:08:16 +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
79695bf3cd
Extension description syntax; extension instantiation, field values and calls with arguments (except strings); example of a simple extension.
...
String arguments support is supposed to be added in a subsequent commit.
2015-02-25 16:51:21 +03:00
Ruben Ayrapetyan
88353e93cf
Renaming core -> jerry-core.
2015-02-17 19:08:55 +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
51088ff2cb
Enable LTO for unit tests.
2015-02-16 19:35:15 +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
e.gavrin
26288b6b1b
Rename main_* to main-*
2015-02-13 22:33:30 +03:00
Ruben Ayrapetyan
8dc4950590
Renaming src directory to core; moving main modules to top-level directory.
2015-02-13 22:19:05 +03:00
Ruben Ayrapetyan
32dc41e795
Remove stripping of debug binaries.
2015-02-13 22:11:38 +03:00