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).
This commit is contained in:
+4
-6
@@ -1,4 +1,4 @@
|
||||
# Copyright 2014 Samsung Electronics Co., Ltd.
|
||||
# Copyright 2014-2015 Samsung Electronics Co., Ltd.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
@@ -14,11 +14,9 @@
|
||||
|
||||
#!/bin/bash
|
||||
|
||||
echo "#include \"globals.h\"" > $2
|
||||
echo "" >> $2
|
||||
echo "static char generated_source [] =" >> $2
|
||||
echo "#define JERRY_MCU_SCRIPT \\" > $2
|
||||
cat $1 | while read line
|
||||
do
|
||||
echo "\"$line\n\"" >> $2
|
||||
echo "\"$line\n\" \\" >> $2
|
||||
done
|
||||
echo ";" >> $2
|
||||
echo >> $2
|
||||
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
# Copyright 2014 Samsung Electronics Co., Ltd.
|
||||
# Copyright 2014-2015 Samsung Electronics Co., Ltd.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
@@ -122,7 +122,7 @@ do
|
||||
# echo
|
||||
|
||||
# BENCH_ENGINE="./out/release.linux/jerry"
|
||||
# BENCH_SCRIPT="./benchmarks/jerry/loop_arithmetics_1kk.js"
|
||||
# BENCH_SCRIPT="./tests/benchmarks/jerry/loop_arithmetics_1kk.js"
|
||||
# PERF_ITERS="5"
|
||||
# PERF_INFO=`echo -e "$BENCH_SCRIPT:\n\t"``./tools/perf.sh $PERF_ITERS $BENCH_ENGINE $BENCH_SCRIPT`" seconds"
|
||||
# MEM_INFO=`echo -e "$BENCH_SCRIPT:\n"``./tools/rss_measure.sh $BENCH_ENGINE $BENCH_SCRIPT`
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 2014 Samsung Electronics Co., Ltd.
|
||||
# Copyright 2014-2015 Samsung Electronics Co., Ltd.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
@@ -19,8 +19,8 @@ ENGINE=$1
|
||||
function run ()
|
||||
{
|
||||
echo "Running test: $1.js"
|
||||
./tools/perf.sh 5 $ENGINE ./benchmarks/$1.js
|
||||
./tools/rss_measure.sh $ENGINE ./benchmarks/$1.js
|
||||
./tools/perf.sh 5 $ENGINE ./tests/benchmarks/$1.js
|
||||
./tools/rss_measure.sh $ENGINE ./tests/benchmarks/$1.js
|
||||
}
|
||||
|
||||
echo "Running Sunspider:"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 2014 Samsung Electronics Co., Ltd.
|
||||
# Copyright 2014-2015 Samsung Electronics Co., Ltd.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
@@ -15,7 +15,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
NUM_COMMITS=$1
|
||||
BENCH=./benchmarks/jerry/loop_arithmetics_1kk.js
|
||||
BENCH=./tests/benchmarks/jerry/loop_arithmetics_1kk.js
|
||||
TARGET=release.linux
|
||||
|
||||
trap ctrl_c INT
|
||||
|
||||
Reference in New Issue
Block a user