John Peterson wrote: > On Thu, Oct 9, 2008 at 7:04 AM, Tim Kroeger > <[EMAIL PROTECTED]> wrote: >> By the way, why is the .depend file contained in the repository? > > A couple of reasons: this way we don't require all users to have perl > installed (though I don't know how they wouldn't...) to generate > dependencies. Second, we used to generate dependencies with the > compiler instead of perl and it really took forever, so it made sense > to check in the .depend file.
A third reason that makes sense to me: when someone does an "svn update", the dependencies can change. Either that update needs to make the .depend file change with them, or the .depend file can't be trusted and we need to regenerate it on every build. I'd say we're open to better ideas, though. In particular, I've just noticed that our example (and my application) .depend files end up with the libMesh path hardcoded into them, and so when switching an application from one LIBMESH_DIR to another you need to wipe and regenerate (the application's) .depend *anyway*. If that gotcha ever catches me, I'll be tempted to either change around make_dependencies.pl or find a way to replace it entirely. --- Roy ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
