Lu Mitnick
2010-Dec-26 08:38 UTC
[LLVMdev] Question of executing AutoRegen.sh to regen configure file
Hello all, I download the src of llvm 2.8 and run ./autoconf/AutoRegen.sh However there is a little difference between origin configure file and the generated one $diff configure configure.bak 1394c1394 < --enable-optimized Compile with optimizations enabled (default is YES) ---> --enable-optimized Compile with optimizations enabled (default isNO) I am wondering to know whether I miss some parameter with executing AutoRegen.sh?? thanks a lot yi-hong -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20101226/58bf4782/attachment.html>
Eric Christopher
2011-Jan-03 10:01 UTC
[LLVMdev] Question of executing AutoRegen.sh to regen configure file
On Dec 26, 2010, at 8:38 AM, Lu Mitnick wrote:> Hello all, > > I download the src of llvm 2.8 and run ./autoconf/AutoRegen.sh > > However there is a little difference between origin configure file and the generated one > > $diff configure configure.bak > > 1394c1394 > < --enable-optimized Compile with optimizations enabled (default is YES) > --- > > --enable-optimized Compile with optimizations enabled (default is NO) > > I am wondering to know whether I miss some parameter with executing AutoRegen.sh??Probably not. The configure file for the release branch was probably edited instead of configure.ac and so a regen will overwrite the last edit to that file. This isn't going to be fixed on the release branch so if you do regen configure it will probably have some differences (we'll make sure it doesn't happen for 2.9). That said, if this is the only difference it looks like just a comment difference and so shouldn't affect anything. To be safe you'll probably want to explicitly set --enable-optimized or --disable-optimized depending on what you want. -eric
Frits van Bommel
2011-Jan-03 10:41 UTC
[LLVMdev] Question of executing AutoRegen.sh to regen configure file
On Mon, Jan 3, 2011 at 11:01 AM, Eric Christopher <echristo at apple.com> wrote:> On Dec 26, 2010, at 8:38 AM, Lu Mitnick wrote: >> $diff configure configure.bak >> >> 1394c1394 >> < --enable-optimized Compile with optimizations enabled (default is YES) >> --- >> > --enable-optimized Compile with optimizations enabled (default is NO) >> >> I am wondering to know whether I miss some parameter with executing AutoRegen.sh?? > > Probably not. The configure file for the release branch was probably edited instead of configure.ac and so a regen will overwrite the last edit to that file. This isn't going to be fixed on the release branch so if you do regen configure it will probably have some differences (we'll make sure it doesn't happen for 2.9). That said, if this is the only difference it looks like just a comment difference and so shouldn't affect anything.It looks more like the "configure --help" output than a comment.
Apparently Analagous Threads
- [LLVMdev] Question of executing AutoRegen.sh to regen configure file
- [LLVMdev] Question of executing AutoRegen.sh to regen configure file
- [LLVMdev] Question of autotools about adding a new target for LLVM
- [LLVMdev] Path to AutoRegen.sh
- [LLVMdev] Path to AutoRegen.sh