On 3/24/12 3:08 PM, "Jungho Lee" <[email protected]> wrote:
>> A very good question. Email me (private email; as you correctly >> guessed we don't like enormous posts to the list) your config.log >> and Make.common? My best guess now is that clang isn't recognized by >> our m4/compilers.m4 file, it falls through to the "No specific >> options" case, and your FLAGS for every METHOD then just get set to >> whatever's in the corresponding environment variable at configure >> time. > > You're right about the compilers.m4 not recognizing clang. I'll send > config.log and Make.common to you privately. on compilers where "-g -O2" are supported, configure sets those options. We usually override them for every METHOD we support, but if your compiler is not recognized they probably are getting inerhited from configure. Does this line look familiar? checking whether mpicxx accepts -g... yes >> And then you get either an opt build *or* a debug build; currently we >> give you an opt build *and* a debug build. You can then run "make && >> METHOD=dbg make" in your application directories too, and switch >> between myapp-opt and myapp-dbg on the fly, which is pretty convenient >> to me. >> >> And much more than "pretty convenient" to others - based on recent >> libmesh-devel discussions, if Ben Kirk tries to switch us to automake >> without keeping some form of the multiple-simultaneous-build-options >> functionality intact, there's going to be violence. ;-) The functionality will definitely be there, but the invocation may be slightly different. Also, I want to emphasize a previous comment on this thread: > This is what I meant. "./configure --enable-debug && make" vs. > "./configure --disable-debug && make" much like every other package > I've dealt with. I *almost* rest my case. Users have an expectation of how *nix software packages should act and we are lacking in compliance. I feel this strengthens the case to move towards more of what users expect, even if we have to adjust as user/developer chimeras for a few days... -Ben ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
