Skip to content
  1. Jun 13, 2015
  2. Jun 09, 2015
  3. Jun 05, 2015
  4. Jun 04, 2015
    • Chris Bieneman's avatar
      [CMake] Fixing the check for Ninja · 35b7f81f
      Chris Bieneman authored
      Enabling Ninja Job Pools needs to be dependent on the CMAKE_MAKE_PROGRAM not the CMAKE_GENERATOR. There are generators (like "Sublime Text 2 - Ninja") that also generate ninja build files. Basing of the CMAKE_MAKE_PROGRAM is the best future-proof way to handle this.
      
      llvm-svn: 239076
      35b7f81f
    • Evgeniy Stepanov's avatar
      Fix the check for Ninja in the CMake build. · 999b8345
      Evgeniy Stepanov authored
      The current check never passes, because CMAKE_MAKE_PROGRAM, at least on Linux,
      includes the full path to the "ninja" binary; this effectively disables
      compile/link jobs pools.
      
      Use CMAKE_GENERATOR STREQUAL "Ninja" as a more reliable check.
      
      llvm-svn: 239069
      999b8345
    • Chris Bieneman's avatar
      [CMake] Add warning for using compile and link pools on unsupported versions... · 762cbe70
      Chris Bieneman authored
      [CMake] Add warning for using compile and link pools on unsupported versions of CMake or non-ninja generators.
      
      Summary: I've gotten feedback from users on CMake 2.8 that the compile and link pool options were not working. This is expected so I'm adding a warning so we can report invalid configurations to users.
      
      Reviewers: eugenis
      
      Reviewed By: eugenis
      
      Subscribers: llvm-commits
      
      Differential Revision: http://reviews.llvm.org/D10193
      
      llvm-svn: 239044
      762cbe70
    • Daniel Sanders's avatar
      Include BPF target in CMake builds. · 51867c63
      Daniel Sanders authored
      llvm-svn: 239035
      51867c63
  5. May 14, 2015
  6. Apr 13, 2015
  7. Apr 07, 2015
  8. Mar 27, 2015
    • Derek Schuff's avatar
      CMake: enable installing utils · ef9928e3
      Derek Schuff authored
      Added a new boolean CMake flag, LLVM_INSTALL_UTILS. When set,
      the 'install' target will include in the bin directory the
      utils binaries - e.g. FileCheck. This mirrors the autoconfig
      behavior.
      
      Test Plan:
      Locally verified that utils binaries are copied when flag is set,
      and not copied when flag is not set.
      
      Reviewers: jfb, dschuff, beanz
      
      Reviewed By: beanz
      
      Subscribers: llvm-commits
      
      Differential Revision: http://reviews.llvm.org/D8587
      
      Patch by Mircea Trofin
      
      llvm-svn: 233385
      ef9928e3
  9. Mar 26, 2015
    • Sanjoy Das's avatar
      [ADT][CMake][AutoConf] Fail-fast iterators for DenseMap · 8ce6499b
      Sanjoy Das authored
      Summary:
      This patch is an attempt at making `DenseMapIterator`s "fail-fast".
      Fail-fast iterators that have been invalidated due to insertion into
      the host `DenseMap` deterministically trip an assert (in debug mode)
      on access, instead of non-deterministically hitting memory corruption
      issues.
      
      Enabling fail-fast iterators breaks the LLVM C++ ABI, so they are
      predicated on `LLVM_ENABLE_ABI_BREAKING_CHECKS`.
      `LLVM_ENABLE_ABI_BREAKING_CHECKS` by default flips with
      `LLVM_ENABLE_ASSERTS`, but can be clamped to ON or OFF using the CMake /
      autoconf build system.
      
      Reviewers: chandlerc, dexonsmith, rnk, zturner
      
      Subscribers: llvm-commits
      
      Differential Revision: http://reviews.llvm.org/D8351
      
      llvm-svn: 233310
      8ce6499b
  10. Mar 25, 2015
    • Justin Bogner's avatar
      test: Fix the dependencies for the check-llvm-* targets · 35b4b1a4
      Justin Bogner authored
      In r233009 we gained specific check-llvm-* build targets for invoking
      specific parts of the test suite, but they were copying the
      dependencies for check-all, rather than just listing the dependencies
      for check-llvm.
      
      This moves the creation of these targets next to the check-llvm
      target, and uses that target's configuration rather than the check-all
      config.
      
      llvm-svn: 233174
      35b4b1a4
  11. Mar 23, 2015
  12. Mar 18, 2015
    • Chris Bieneman's avatar
      Revert "Generate targets for each lit suite." · 244bbf8b
      Chris Bieneman authored
      This change broke Polly. I'll track down the failure when I have a chance and re-apply the change.
      
      llvm-svn: 232676
      244bbf8b
    • Chris Bieneman's avatar
      Generate targets for each lit suite. · 86ee1515
      Chris Bieneman authored
      Summary:
      This change makes CMake scan for lit suites and generate a target for each lit test suite. The targets follow the format check-<project>-<suite path>.
      
      For example:
      check-llvm-unit - Runs the LLVM unit tests
      check-llvm-codegen-arm - Runs the ARM codeine tests
      
      Note: These targets are not generated during multi-configuration generators (i.e. Xcode and Visual Studio) because target clutter impacts UI usability.
      
      Reviewers: chandlerc
      
      Subscribers: aemerson, llvm-commits
      
      Differential Revision: http://reviews.llvm.org/D8380
      
      llvm-svn: 232671
      86ee1515
    • Reid Kleckner's avatar
      CMake: Disable ENABLE_EXPORTS for executables with MSVC · 3e8c445c
      Reid Kleckner authored
      The MSVC linker won't produce a .lib file for an executable that doesn't
      export anything, and LLVM doesn't maintain dllexport annotations or .def
      files listing all C++ symbols. It also doesn't support exporting all
      symbols, like binutils ld.
      
      CMake 3.2 changed the Ninja generator to list both the .exe and .lib
      files as outputs of executable build targets. Ninja would always re-link
      executables with ENABLE_EXPORTS because the .lib output file was not
      present, and therefore the target was out of date.
      
      llvm-svn: 232662
      3e8c445c
  13. Mar 10, 2015
  14. Mar 07, 2015
  15. Feb 27, 2015
  16. Feb 25, 2015
    • Zachary Turner's avatar
      [CMake] Set policy CMP0051 to OLD globally. · b7e41581
      Zachary Turner authored
      When you use generator expressions in a library sources list,
      and then later access the SOURCES property, the OLD behavior
      (CMake 3.0 and earlier) would not include these expressions in
      the SOURCES property.  The NEW behavior (starting in CMake 3.1)
      is that they do include the generator expressions in the SOURCES
      property.
      
      Differential Revision: http://reviews.llvm.org/D7870
      Reviewed By: Chris Bieneman
      
      llvm-svn: 230396
      b7e41581
  17. Feb 24, 2015
  18. Feb 23, 2015
  19. Feb 20, 2015
  20. Feb 18, 2015
  21. Feb 15, 2015
  22. Feb 14, 2015
  23. Feb 09, 2015
  24. Feb 03, 2015
  25. Jan 14, 2015
  26. Dec 29, 2014
    • Chandler Carruth's avatar
      [py3] Teach the CMake build to reject Python versions older than 2.7. · d86ab891
      Chandler Carruth authored
      Continue to require Python 2 however as recent experiments suggest
      LLDB's build requires it.
      
      llvm-svn: 224948
      d86ab891
    • Chandler Carruth's avatar
      [cmake] Start making LLVM_LIBDIR_SUFFIX effective by adding it to · a78e24e5
      Chandler Carruth authored
      *numerous* places where it was missing in the CMake build. The primary
      change here is that the suffix is now actually used for all of the lib
      directories in the LLVM project's CMake. The various subprojects still
      need similar treatment.
      
      This is the first of a series of commits to try to make LLVM's cmake
      effective in a multilib Linux installation. I don't think many people
      are seriously using this variable so I'm hoping the fallout will be
      minimal. A somewhat unfortunate consequence of the nature of these
      commits is that until I land all of them, they will in part make the
      brokenness of our multilib support more apparant. At the end, things
      should actually work.
      
      llvm-svn: 224919
      a78e24e5
  27. Dec 09, 2014
    • Chris Bieneman's avatar
      Adding a new option to CMake to disable C++ atexit on llvm-shlib. · 5d388e11
      Chris Bieneman authored
      Summary:
      This is desirable for WebKit and other clients of the llvm-shlib because C++ exit time destructors have a tendency to crash when invoked from multi-threaded applications.
      
      Ideally this option will be temporary, because the ideal fix is to just not have exit time destructors.
      
      Reviewers: chapuni, ributzka
      
      Reviewed By: ributzka
      
      Subscribers: llvm-commits
      
      Differential Revision: http://reviews.llvm.org/D6572
      
      llvm-svn: 223805
      5d388e11
Loading