harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Egor Pasko (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-5359) [drlvm][build] normalized ant build system
Date Wed, 23 Jan 2008 14:22:34 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-5359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12561689#action_12561689
] 

Egor Pasko commented on HARMONY-5359:
-------------------------------------

Thanks, Alexey! I like your effort very much!

more feedback:

I changed Jitrino.h, made an error in it and suddenly it was not recompiled, so probably some
problems in dependency analysis for headers

then I did:
ant -Dbuild.cfg=debug clean

and it fails to build now:
build:
     [echo] ## Building 'encoder'
       [cc] 4 total files to be compiled.
       [cc] -O0
       [cc] Starting link
       [cc] /usr/bin/ar: creating libencoder.a
       [cc] /usr/bin/ar: ../obj/dec_base.o: No such file or directory

BUILD FAILED
/home/pasko/svn/1/trunk/working_vm/build.xml:108: The following error occurred while executing
this line:
/home/pasko/svn/1/trunk/working_vm/make/vm/encoder.xml:32: The following error occurred while
executing this line:
/home/pasko/svn/1/trunk/working_vm/make/build-native.xml:190: ar failed with return code 1

Total time: 1 second


...have no idea yet :)

> [drlvm][build] normalized ant build system
> ------------------------------------------
>
>                 Key: HARMONY-5359
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5359
>             Project: Harmony
>          Issue Type: New Feature
>          Components: build - test - ci, DRLVM
>            Reporter: Alexey Varlamov
>            Assignee: Alexey Varlamov
>         Attachments: 0001-fixed-normalized-build-system-on-linux-x86-classlib-should-be-less-than-revision-612947.txt,
build.zip, build.zip, build.zip
>
>
> Need to refactor DRLVM build system was stated since early ages of Harmony, due to its
awkwardness and bad augmentability (one can find a lot of discussons in dev-list archives).
> Here is this long-expected feature, "normalized" ant build system, featuring:
> - improved portability, as it uses unified set of properties defined by classlib, drops
"build.bat/build.sh" wrappers and provides traditional ant interface for users and external
scripts;
> - better maintainability and robustness, as it does not rely on XSL build preprocessing,
on-fly generated scripts and buggy ant-contrib features (except tests which really need "for"
task);
> - much faster rebuild time even with cpptasks: void build takes only 7-8 sec (and can
be improved a bit more). Also, it is possible to build standalone component w/o rebuilding
dependencies which is also handy.
> - enhanced modularity and plugability: any component or test script can be used independently
(modulo 2-3 shared ant files), simplifying component reusing or redeployment.
> For now, the system lacks facilities for managing external dependencies, it just relies
on presence and layout of artifacts as retrieved via old build.
> The dependency management is to be refactored cross Harmony components, including classlib,
drlvm and jdktools.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message