On Sat, Feb 2, 2013 at 1:32 PM, David Knezevic <[email protected]>wrote:
> I'd like to have libMesh (on the git head) configured with both real > numbers and complex numbers. I currently do this by having two copies of > the source: libmesh-src-real and libmesh-src-complex and configure each > one appropriately and install into libmesh-real and libmesh-complex, > respectively. > > I just wanted to check that this is a reasonable approach? I thought > it'd be nice if I could have just one copy of the source, You only need 1 copy of the source. libMesh supports VPATH (AKA out-of-source) builds so you can have a pristine source. From external build directories, you can configure, make, make install. So, you could have a libmesh-real-build and libmesh-complex-build. Any changes to the source will be automatically picked up and you should just be able to type make in each of the build directories. The only exception is, I believe, if configure.ac or one of the .m4 files change, then you'll need to rebootstrap. HTH, Paul ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
