Automatically incorporate TRAM when using [aggregate] entry methods12/2312/8
commit1225c6d78ba6c7ff4ef3b2969fe65d484d9a09ed
authorPhil Miller <mille121@illinois.edu>
Wed, 15 Mar 2017 16:42:31 +0000 (15 11:42 -0500)
committerPhil Miller (Charmworks) <phil@hpccharm.com>
Mon, 20 Mar 2017 22:16:00 +0000 (20 17:16 -0500)
treec040783f524c4e19116b3289a18aa18e1cdc3081
parent5baa01490dfeb41015daa648e29c151cc4e86e4c
Automatically incorporate TRAM when using [aggregate] entry methods

In Foo.decl.h, #include <NDMeshStreamer.h> when any entry
method on a chare in module Foo is marked as [aggregate].

In Foo.def.h, call the module registration for NDMeshStreamer from
module Foo's registration.

Offer the NDMeshStreamer library and its completion library dependency
for linking. Written as -lmoduleNDMeshStreamer instead of -module
NDMeshStreamer so that its registration isn't automatically stuck in
the main module generated code, and thus none of the object files will
get pulled in if it's not in use.

Change-Id: Ic104f5659839e5d240cdf844d7401ca51ec8449c
src/scripts/charmc
src/xlat-i/xi-AstNode.h
src/xlat-i/xi-Chare.C
src/xlat-i/xi-Chare.h
src/xlat-i/xi-Construct.h
src/xlat-i/xi-Entry.C
src/xlat-i/xi-Entry.h
src/xlat-i/xi-Member.h
src/xlat-i/xi-Module.C
src/xlat-i/xi-Module.h