search for: enable_optim

Displaying 20 results from an estimated 239 matches for "enable_optim".

Did you mean: enable_option
2010 Aug 08
1
[LLVMdev] What is the gcc optimization flag for "ENABLE_OPTIMIZED=1" in LLVM?
Dear LLVM developers, I am wondering the gcc optimization flag for "ENABLE_OPTIMIZED=1" in LLVM is -O2 or -O3. And what is the flag if I set "ENABLE_OPTIMIZED=0"? If I want to manually modify the flag for "ENABLE_OPTIMIZED=1" in LLVM, what file should I refer to? -- Regards, Heming Cui -------------- next part -------------- An HTML attachment...
2012 Mar 14
1
[LLVMdev] ENABLE_OPTIMIZED=1
When building without ENABLE_OPTIMIZED=1, is that supposed to take 10 times longer to "build" LLVM than with ENABLE_OPTIMIZED=1? Thanks. Reed
2008 Feb 20
3
[LLVMdev] llvm-2.2 cannot be successfully built with 'make ENABLE_OPTIMIZED=1'
...in specs. Target: i686-pc-linux-gnu Configured with: ../gcc-4.2.3/configure --prefix=/home/wuxi/gcc-4.2-install/ Thread model: posix gcc version 4.2.3 I follow the command: CXX=PATH_TO_MY_G++ ../llvm/configure -prefix=/usr/local To configure llvm And next when I use 'make ENABLE_OPTIMIZED=0', it can successfully build llvm, with the warning that I may get 10 times slower. But when I use 'make ENABLE_OPTMIZED=1', the compilation fails with the message: /home/wuxi/llvm-2.2/llvm-objects-opt/Release/bin/tblgen: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4....
2004 Dec 23
0
[LLVMdev] small patch for llvm configure.ac
On Wed, 2004-12-22 at 22:38, Markus F.X.J. Oberhumer wrote: > Hello Reid, > > > > @@ -167,7 +168,7 @@ > > > if test ${enableval} = "no" ; then > > > AC_SUBST(ENABLE_OPTIMIZED,[[]]) > > > else > > > - AC_SUBST(ENABLE_OPTIMIZED,[[ENABLE_OPTIMIZED=1]]) > > > + AC_SUBST(ENABLE_OPTIMIZED,[[1]]) > > > > This is not okay, at least not without other changes. We do some weird > > things in Makefile.config.in where these values...
2008 Feb 20
0
[LLVMdev] llvm-2.2 cannot be successfully built with 'make ENABLE_OPTIMIZED=1'
Hi, > But when I use 'make ENABLE_OPTMIZED=1', the compilation fails with the spelling mistake: should be ENABLE_OPTIMIZED not ENABLE_OPTMIZED. > message: > > /home/wuxi/llvm-2.2/llvm-objects-opt/Release/bin/tblgen: > /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by > /home/wuxi/llvm-2.2/llvm-objects-opt/Release/bin/tblgen) The directory name shows that this is...
2007 May 15
8
[LLVMdev] 2.0 Pre-release tarballs online
...elp test this release, please download the appropriate tarballs from the website. Here are a few ways you can help test this release: 1) Download llvm-gcc4 binary and llvm. Compile and run make check. 2) Download llvm-gcc4 binary, llvm, and llvm-test. Compile, run make check, and do "make ENABLE_OPTIMIZED=1 TEST=nightly report" in llvm-test. 3) Compile llvm-gcc4 and llvm from source. Run 'make check'. 4) Compile llvm-gcc4 and llvm from source. Run 'make check' and do a 'make ENABLE_OPTIMIZED=1 TEST=nightly report' in llvm-test. It would also be helpful for someon...
2009 Oct 17
3
[LLVMdev] Build errors for vmkit
...I can't seem to get VMKit to compile correctly. I'm on a 64 bit Jaunty system. I compiled llvm and llvm-gcc from the subversion source no problem, but when I try to compile VMKit I get some issue with GCAllocator: /home/mmwu/Download/llvm$ ./configure /home/mmwu/Download/llvm$ make ENABLE_OPTIMIZED=1 /home/mmwu/Download/llvm$ make ENABLE_OPTIMIZED=1 install ... /home/mmwu/Download/$ sudo apt-get install classpath ... /home/mmwu/Download/vmkit$ ./configure --with-llvmsrc=/home/mmwu/Download/llvm --with-llvmobj=/home/mmwu/Download/llvm --with-gnu-classpath-glibj=/usr/share/classpath/...
2008 Feb 20
0
[LLVMdev] llvm-2.2 cannot be successfully built with 'make ENABLE_OPTIMIZED=1'
Hello, Andrew, > I have checked by libstdc++, with a higher version: > > [wuxi at ppidellsc1420 lib]$ rpm -q libstdc++ > > libstdc++-4.1.1-52.el5 It is lower version. You should use newer version (the one, you've built during gcc 4.2.3 compilation) for the binaries built with new compiler. There are two solutions: 1. Build new gcc with --disable-shared, which will
2009 Oct 18
0
[LLVMdev] Build errors for vmkit
...et VMKit to compile correctly. I'm on a 64 bit > Jaunty system. I compiled llvm and llvm-gcc from the subversion source > no problem, but when I try to compile VMKit I get some issue with > GCAllocator: > > /home/mmwu/Download/llvm$ ./configure > /home/mmwu/Download/llvm$ make ENABLE_OPTIMIZED=1 > /home/mmwu/Download/llvm$ make ENABLE_OPTIMIZED=1 install > > ... > > /home/mmwu/Download/$ sudo apt-get install classpath > > ... > > /home/mmwu/Download/vmkit$ ./configure > --with-llvmsrc=/home/mmwu/Download/llvm > --with-llvmobj=/home/mmwu/Download/llvm...
2013 Apr 17
2
[LLVMdev] make check rebuilds the project?
...configure+make machinery to create separate build results > subdirectories named for those. That is, it’s pretty common for me > to do something that boils down to (with lots of steps in between of > course), “<src>/configure && make && make check && make > ENABLE_OPTIMIZED=1 && make check ENABLE_OPTIMIZED=1 && make > ENABLE_OPTIMIZED=1 DISABLE_ASSERTIONS=1 && make check > ENABLE_OPTIMIZED=1 DISABLE_ASSERTIONS=1”. Depending on what I’m > doing, I bounce back and forth between them. With cmake, I have to > have completely separat...
2010 Aug 14
0
[LLVMdev] Comments about bug 7591
Hi, Was this fixed? http://llvm.org/bugs/show_bug.cgi?id=7591. Its status is still new. I just got some more hints about this bug. It happened to me when I have both Debug and Release compilation. At this case, if we do make ENABLE_OPTIMIZED=1 install or make install it works fine. But if we do make ENABLE_OPTIMIZED=0 install the error like bug 7591 happens when generating ocamldoc for ocaml bindings. The problem got fixed if we make ENABLE_OPTIMIZED=1 clean in ./bindings, and then make ENABLE_OPTIMIZED=0 install. But I did no...
2012 Apr 04
0
[LLVMdev] Compiling VMKit in debug mode
Hello, I am currently working on the latest version of VMKit (svn trunk). I need to debug VMKit so I tried compiling VMKit in debugging mode (ENABLE_OPTIMIZED=0). To do so I compiled LLVM in debug mode (yes, I really did it...) via: ./configure --enable-debug-runtime --enable-debug-symbols make ENABLE_OPTIMIZED=0 It all went okay for LLVM. Now I tried to compile VMKit in debug mode via: ./configure --with-llvmsrc=/home/koutheir/llvm --with-...
2004 Dec 23
0
[LLVMdev] small patch for llvm configure.ac
...mmit this part. > sparc*-*) llvm_cv_target_arch="Sparc" ;; > powerpc*-*) llvm_cv_target_arch="PowerPC" ;; > *) llvm_cv_target_arch="Unknown" ;; > @@ -167,7 +168,7 @@ > if test ${enableval} = "no" ; then > AC_SUBST(ENABLE_OPTIMIZED,[[]]) > else > - AC_SUBST(ENABLE_OPTIMIZED,[[ENABLE_OPTIMIZED=1]]) > + AC_SUBST(ENABLE_OPTIMIZED,[[1]]) This is not okay, at least not without other changes. We do some weird things in Makefile.config.in where these values are used that I've been meaning to clean up so that the...
2007 May 17
0
[LLVMdev] 2.0 Pre-release tarballs online
...download the appropriate tarballs from the website. > > Here are a few ways you can help test this release: > > 1) Download llvm-gcc4 binary and llvm. Compile and run make check. > > 2) Download llvm-gcc4 binary, llvm, and llvm-test. Compile, run make > check, and do "make ENABLE_OPTIMIZED=1 TEST=nightly report" in llvm-test. > > 3) Compile llvm-gcc4 and llvm from source. Run 'make check'. > > 4) Compile llvm-gcc4 and llvm from source. Run 'make check' and do a 'make > ENABLE_OPTIMIZED=1 TEST=nightly report' in llvm-test. > > It w...
2013 Apr 17
0
[LLVMdev] make check rebuilds the project?
...ory and rely on the configure+make machinery to create separate build results subdirectories named for those. That is, it’s pretty common for me to do something that boils down to (with lots of steps in between of course), “<src>/configure && make && make check && make ENABLE_OPTIMIZED=1 && make check ENABLE_OPTIMIZED=1 && make ENABLE_OPTIMIZED=1 DISABLE_ASSERTIONS=1 && make check ENABLE_OPTIMIZED=1 DISABLE_ASSERTIONS=1”. Depending on what I’m doing, I bounce back and forth between them. With cmake, I have to have completely separate configured build...
2013 Apr 17
0
[LLVMdev] make check rebuilds the project?
...achinery to create separate build results >> subdirectories named for those. That is, it’s pretty common for me >> to do something that boils down to (with lots of steps in between of >> course), “<src>/configure && make && make check && make >> ENABLE_OPTIMIZED=1 && make check ENABLE_OPTIMIZED=1 && make >> ENABLE_OPTIMIZED=1 DISABLE_ASSERTIONS=1 && make check >> ENABLE_OPTIMIZED=1 DISABLE_ASSERTIONS=1”. Depending on what I’m >> doing, I bounce back and forth between them. With cmake, I have to >> have co...
2008 Dec 29
0
[LLVMdev] Error when attempting to build llvm-gcc-1.5 on Mac OS X 10.5.6
2008/12/28 Elvis Dowson <elvis.dowson at mac.com> > Where can I get gccas ? I am running Mac OS X 10.5.6 and I get the > following error: > gccas is one of the LLVM tools; you have to build them before building llvm-gcc and you should configure llvm-gcc with the --enable-llvm=[...] flag unless the LLVM tools are in your PATH. See
2010 Dec 12
2
[LLVMdev] Optimized "opt" on Darwin fails to load dynamic libraries with passes
Hi all, This is a problem that occurs for me only on Darwin (MacOS) and not on Linux. When llvm 2.8 (or 2.9) is compiled with ENABLE_OPTIMIZED=1, the "opt" tool fails to load LLVM passes in dynamic libraries (.dylib) files, regardless of how they themselves were built. When opt is built with ENABLE_OPTIMIZED=0, all is well. Here is some informative output. Seems to me the problem is in stripping the symbols of the assignPas...
2007 May 18
2
[LLVMdev] 2.0 Pre-release tarballs online
...balls from the website. >> >> Here are a few ways you can help test this release: >> >> 1) Download llvm-gcc4 binary and llvm. Compile and run make check. >> >> 2) Download llvm-gcc4 binary, llvm, and llvm-test. Compile, run make >> check, and do "make ENABLE_OPTIMIZED=1 TEST=nightly report" in llvm-test. >> >> 3) Compile llvm-gcc4 and llvm from source. Run 'make check'. >> >> 4) Compile llvm-gcc4 and llvm from source. Run 'make check' and do a 'make >> ENABLE_OPTIMIZED=1 TEST=nightly report' in llvm-...
2007 May 18
0
[LLVMdev] Updated: 2.0 Pre-release tarballs online
...ownload the appropriate tarballs from the website. > > Here are a few ways you can help test this release: > > 1) Download llvm-gcc4 binary and llvm. Compile and run make check. > > 2) Download llvm-gcc4 binary, llvm, and llvm-test. Compile, run make check, > and do "make ENABLE_OPTIMIZED=1 TEST=nightly report" in llvm-test. > > 3) Compile llvm-gcc4 and llvm from source. Run 'make check'. > > 4) Compile llvm-gcc4 and llvm from source. Run 'make check' and do a 'make > ENABLE_OPTIMIZED=1 TEST=nightly report' in llvm-test. > > It...