~pefarrell/fluidity/fluidity-fadolc

Viewing all changes in revision 3546.

  • Committer: Jon Hill
  • Date: 2011-08-02 09:36:51 UTC
  • Revision ID: jon.hill@imperial.ac.uk-20110802093651-ktneaez8d6p59eer
For for the ext3_build fix. The line ar -cr lib/libfluidity.a */*.o was including all .o files in all directories.
Some of these contained a main() function (e.g. climatology) which was being used for some binaries (e.g. periodise)
This fix now lists explicitly the directories which are to have their .o files included in libfluidity.a

Note that listing each ar -cr seperately was very slow (~45 seconds for a build where no files are touched). The current
fix takes ~9 seconds on rubik for such a build.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: