-
Notifications
You must be signed in to change notification settings - Fork 688
Refactoring the build system #867
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactoring the build system #867
Conversation
|
WIP patch, still conflicts with some recently landed patches. All thoughts and feedbacks are most welcome. |
|
Side note: with ninja, a full precommit run became somewhat faster (3m53s -> 3m22s). |
|
#868 is merged into master. |
e699c74 to
0ade53d
Compare
|
Rebased to master, but still WIP. |
|
This may be related: #664 |
f7183c3 to
91b3ad0
Compare
|
Improved & rebased & pushed. It starts looking OK to me so reviews/feedbacks can start rolling. |
|
Please rename |
|
Renamed. |
|
@akiss77, thanks. LGTM |
ffa5b3a to
3d270f1
Compare
* Removed unused or unnecessary parts from various make files
* Eliminated lots of duplications from Makefile with the help of
macros.
* Split tools/precommit.sh to its independent components:
* the part that checks the existence of the "signed off" text in
commit messages
(this on got factored out to tools/check-signed-off.sh),
* the part that uses vera++ for style checking (this one got
factored out to tools/check-vera.sh),
* the part that invokes targets in the cmake-generated build
directory, and
* the part that performs various tests (these latter two got
moved into the Makefile).
* Moved the functionality of precommit-full-testing.sh into the
Makefile, too.
* Added ninja build system support (e.g., `make NINJA=1`).
* Updated leading documentation comments (they were somewhat
stale).
* Tried to keep the target names exactly the same as they were --
almost succeeded... (some changes are intentional, and are
subject to personal preferences).
* Simplified console output of `make precommit`
* Unified test runner scripts and their output format
* Eliminated nothing-to-stdout everything-to-log-file policy:
info is printed to stdout and it is the caller's
responsibility to redirect it to a file if needed.
* Also applied some renaming and coding style unification to
the scripts.
* Merged the functionality of tools/runners/run-test-suite-jerry*.sh
into the Makefile
* Merged everything related to a test suite execution in a single
script.
* The new script also allows to specify pass and xfail tests in
a single list file, which was not possible hitherto.
* Also, the paths of the test cases given in a file are
interpreted relative to their container files.
JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
3d270f1 to
f959ba9
Compare
|
Merged f959ba9 |
macros.
commit messages
(this on got factored out to tools/check-signed-off.sh),
factored out to tools/check-vera.sh),
directory, and
moved into the Makefile).
make NINJA=1).stale).
almost succeeded... (some changes are intentional, and are
subject to personal preferences).
JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu