Skip to content
  1. Jan 06, 2014
  2. Dec 29, 2013
    • Nico Weber's avatar
      EXPORTED_SYMBOL_FILE support for cmake · c27118dd
      Nico Weber authored
      The cmake build didn't support EXPORTED_SYMBOL_FILE. Instead, it had a
      Windows-only implementation in tools/lto/CMakeLists.txt, a linux-only
      implementation in tools/gold/CMakeLists.txt, and a darwin-only implementation
      in tools/clang/tools/libclang/CMakeLists.txt.
      
      This attempts to consolidate these one-offs into a single place. Clients can now
      just set LLVM_EXPORTED_SYMBOL_FILE and things (hopefully) Just Work, like in
      the make build.
      
      llvm-svn: 198136
      c27118dd
    • Nico Weber's avatar
      Remove windows newlines. · d16b48a2
      Nico Weber authored
      llvm-svn: 198135
      d16b48a2
  3. Nov 26, 2013
  4. Nov 13, 2013
  5. Oct 19, 2013
  6. Oct 17, 2013
    • Hans Wennborg's avatar
      CMake: set stack size for MSVC in just one place · bef50abe
      Hans Wennborg authored
      After r192904, Reid pointed out he thought we already set the stack
      size for MSVC. Turns out we did, but it didn't seem to work.
      
      This commit sets the stack size in a single place, using
      CMAKE_EXE_LINKER_FLAGS because that seems to be the way that works
      best.
      
      llvm-svn: 192912
      bef50abe
    • Hans Wennborg's avatar
      CMake: set stack size to 2MB for MSVC builds · fd541f00
      Hans Wennborg authored
      Compiling under Visual C++ 2012 with the default stack size of 1MB, the stack
      overflows at a depth of 216 template instantiations, well before the 256
      default limit. This patch modifies the default MSVC stack size to 2MB.
      
      Patch by Yaron Keren!
      
      llvm-svn: 192904
      fd541f00
  7. Oct 08, 2013
  8. Sep 02, 2013
  9. Aug 16, 2013
  10. Jul 31, 2013
  11. Jul 30, 2013
  12. Jul 29, 2013
  13. Jul 28, 2013
  14. Jul 27, 2013
  15. Jul 17, 2013
    • Duncan Sands's avatar
      Tweak the cmake interaction between CMAKE_BUILD_TYPE and LLVM_ENABLE_ASSERTIONS. · 80f122fe
      Duncan Sands authored
      The issue is that CMAKE_BUILD_TYPE=RelWithDebInfo LLVM_ENABLE_ASSERTIONS=ON was
      not building with assertions enabled.  (I was unable to find what in the LLVM
      source tree was adding -DNDEBUG to the build line in this case, so decided that
      it must be cmake itself that was adding it - this may depend on the cmake
      version).  The fix treats any mode that is not Debug as being the same as
      Release for this purpose (previously it was being assumed that cmake would only
      add -DNDEBUG for Release and not for RelWithDebInfo or MinSizeRel).  If other
      versions of cmake don't add -DNDEBUG for RelWithDebInfo then that's OK: with
      this change you just get a useless but harmless -UNDEBUG or -DNDEBUG.
      
      llvm-svn: 186499
      80f122fe
  16. Jun 14, 2013
  17. May 29, 2013
  18. Apr 12, 2013
  19. Apr 07, 2013
  20. Mar 26, 2013
  21. Mar 25, 2013
  22. Mar 19, 2013
  23. Mar 15, 2013
  24. Mar 13, 2013
  25. Mar 02, 2013
  26. Feb 04, 2013
    • Edwin Vane's avatar
      Turn off uninitialized-use warnings for gcc in cmake build · a9c5bb3f
      Edwin Vane authored
      Added support to the cmake build to turn off uninitialized use warnings
      for gcc. This cleans the build up somewhat.
      
      Used logic simpler than found in autoconf by making use of the fact that
      although gcc won't complain about unsupported -Wno-* flags it *will*
      complain about unsupported -W flags.
      
      Reviewers: gribozavr, doug.gregor, chandlerc
      llvm-svn: 174299
      a9c5bb3f
  27. Jan 31, 2013
  28. Jan 27, 2013
    • NAKAMURA Takumi's avatar
      [CMake][Lit][unittests] Deprecate CMAKE_BUILD_TYPE in each build directory for unittests. · 61a8f974
      NAKAMURA Takumi authored
      For example,
      cur) unittests/ADT/Release/ADTTests
      new) unittests/ADT/ADTTests
      
      RUNTIME_BUILD_MODE can be substituted to CMAKE_CFG_INTDIR.
      
      With Make and Ninja, the tree is not built with multiple configurations.
      Then, including the build type in target directory doesn't make sense.
      See also "How can I build multiple modes without switching?"
      http://www.cmake.org/Wiki/CMake_FAQ
      CMAKE_CFG_INTDIR is set to "."
      
      With multiple-configuration-aware build system, like Visual Studio, each unittest is built on appropriate directory, for example,
      unittests/ADT/Release/ADTTests.exe
      CMAKE_CFG_INTDIR is set to build system's variable, like "$(Configuration)" or "$(OutDir)".
      
      Thus, "--param build_config" is also deprecated.
      
      llvm-svn: 173616
      61a8f974
  29. Jan 25, 2013
    • Reid Kleckner's avatar
      Disable MSVC's warning about noreturn destructors · cd947f97
      Reid Kleckner authored
      This warning fires on:
        Operator::~Operator() {
          llvm_unreachable("should never destroy an Operator");
        }
      
      That seems like a false positive.  I don't see any good way to silence
      the warning here, so I'm disabling it.
      
      llvm-svn: 173455
      cd947f97
  30. Jan 03, 2013
  31. Dec 24, 2012
Loading