Skip to content
  1. Apr 30, 2010
  2. Apr 25, 2010
    • Dan Gohman's avatar
      Fix an autoconf bug: The second argument to AC_LANG_PROGRAM is code that · a1c94049
      Dan Gohman authored
      gets placed inside a main function, and should not itself be a main
      function. This is silently hidden in GCC-hosted builds because the
      inner main looks like a nested function declaration, which GCC supports.
      In builds with compilers which do not support nested functions (by default),
      this was causing an error, which caused these autoconf checks to fail, 
      leaving their options disabled.
      
      This fixes test/Feature/load_module.ll on x86_64-unknown-linux-gnu
      llvm-gcc selfhost builds, among other things.
      
      This also includes a regenerated configure, as the diff is small and telling.
      
      llvm-svn: 102288
      a1c94049
  3. Apr 17, 2010
  4. Apr 16, 2010
  5. Apr 10, 2010
    • Daniel Dunbar's avatar
      configure: Fix default value for optimize_option, I messed up the test condition · 4e06a5b8
      Daniel Dunbar authored
      in r86005 and unintentionally changed the default from -O3 to -O2.
      
       - It's odd the things automated perf testing turns up! :)
      
       - Also, the configure diff is messed up slightly. It looks like someone either
         didn't regenerate configure correctly (or I didn't), or autoconf has some
         funnyness in it. Eric, any ideas?
      
      This has been at -O2 for so long, that I am slightly nervous that this change
      will uncover miscompiles of LLVM on other systems. If that is the case, I think
      we should just set the default universally at -O3, and let developers/vendors
      use -O3 if they want it and have tested it.
      
      llvm-svn: 100941
      4e06a5b8
  6. Apr 08, 2010
  7. Mar 25, 2010
  8. Mar 19, 2010
  9. Mar 15, 2010
  10. Mar 02, 2010
  11. Feb 25, 2010
  12. Feb 23, 2010
  13. Feb 18, 2010
    • Jeffrey Yasskin's avatar
    • Jeffrey Yasskin's avatar
      Add a shared library for LLVM, named libLLVM2.7svn.(so|dylib), and add an · f750fefa
      Jeffrey Yasskin authored
      --enable-shared configure flag to have the tools linked shared. (2.7svn is just
      $(LLVMVersion) so it'll change to "2.7" in the release.)  Always link the
      example programs shared to test that the shared library keeps working.
      
      On my mac laptop, Debug libLLVM2.7svn.dylib is 39MB, and opt (for example) is
      16M static vs 440K shared.
      
      Two things are less than ideal here:
      1) The library doesn't include any version information. Since we expect to break
      the ABI with every release, this shouldn't be much of a problem. If we do
      release a compatible 2.7.1, we may be able to hack its library to work with
      binaries compiled against 2.7.0, or we can just ask them to recompile. I'm
      hoping to get a real packaging expert to look at this for the 2.8 release.
      2) llvm-config doesn't yet have an option to print link options for the shared
      library. I'll add this as a subsequent patch.
      
      llvm-svn: 96559
      f750fefa
  14. Feb 10, 2010
  15. Feb 03, 2010
  16. Jan 26, 2010
    • Torok Edwin's avatar
      Regenerate configure. · aec06333
      Torok Edwin authored
      With the previous cleanup to configure.ac, configure is now only 393k, instead of 1.1M!
      
      llvm-svn: 94535
      aec06333
  17. Jan 05, 2010
  18. Dec 07, 2009
  19. Nov 25, 2009
  20. Nov 16, 2009
  21. Nov 12, 2009
  22. Nov 04, 2009
  23. Oct 26, 2009
  24. Oct 14, 2009
  25. Oct 13, 2009
  26. Oct 08, 2009
  27. Sep 29, 2009
Loading