Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jul 7, 2012
  1. @chapuni

    LLVMConfig.cmake.in: Quote around @LLVM_INSTALL_PREFIX@, or it would …

    chapuni authored
    …not accept whitespace paths.
    
    Thanks to Kai.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159887 91177308-0d34-0410-b5e6-96231b3b80d8
Commits on Jul 2, 2012
  1. @chandlerc

    Revert r159588, and apply a more principled fix. Place the fix for this

    chandlerc authored
    in the abstraction for lit test suites so that the various other layers
    of abstraction pick up the same behavioral fix, and so that we still get
    a complete list of dependencies for the 'check-all' target.
    
    This should fix the follow-on issues of the same nature with various
    other build targets, including Clang targets. Sorry for the churn, and
    again thanks to Matt for testing and breaking this more thoroughly.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159593 91177308-0d34-0410-b5e6-96231b3b80d8
  2. @chandlerc

    Switch from using a lit.cfg-generator variable that happens to be found

    chandlerc authored
    due to strange scoping rules to the actual canonical variable name
    within the LLVM CMake build.
    
    No functionality changed.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159575 91177308-0d34-0410-b5e6-96231b3b80d8
Commits on Jun 30, 2012
  1. @chandlerc

    Hoist LLVM's lit testsuite infrastructure into module so that it can be

    chandlerc authored
    re-used. Also, build in direct support for accumulating a set of lit
    parameters, arguments, and testsuites to run as part of a 'check-all'
    rule. This sinks 'check-all' from a Clang-specific construct to
    a generic construct of the project.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159482 91177308-0d34-0410-b5e6-96231b3b80d8
Commits on Jun 29, 2012
  1. @chandlerc

    Add a missing common variable to the lit.site.cfg generation. This was

    chandlerc authored
    only used in the Clang tree, but it seems reasonable to support.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159399 91177308-0d34-0410-b5e6-96231b3b80d8
Commits on Jun 28, 2012
  1. @chandlerc

    Move the setup for variables that are expanded in the lit.site.cfg into

    chandlerc authored
    a dedicated helper function. This will enable re-using the same logic
    for Clang's lit setup, etc.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159333 91177308-0d34-0410-b5e6-96231b3b80d8
Commits on Jun 24, 2012
  1. @chapuni

    LLVMProcessSources.cmake: [MSVC] Don't add "PROPERTIES HEADER_FILE_ON…

    chapuni authored
    …LY" to *.def.
    
    FIXME: Shall we put *.def(s) to the folder?
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159102 91177308-0d34-0410-b5e6-96231b3b80d8
Commits on Jun 21, 2012
  1. @chandlerc

    Avoid using the recently added APPEND_STRING feature. This should

    chandlerc authored
    restore support for CMake versions before 2.8.6 -- sorry for the
    trouble!
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158930 91177308-0d34-0410-b5e6-96231b3b80d8
  2. @chandlerc

    Completely refactor the structuring of unittest CMake files to match the

    chandlerc authored
    Makefiles, the CMake files in every other part of the LLVM tree, and
    sanity.
    
    This should also restore the output tree structure of all the unit
    tests, sorry for breaking that, and thanks for letting me know.
    
    The fundamental change is to put a CMakeLists.txt file in the unittest
    directory, with a single test binary produced from it. This has several
    advantages:
    
    - No more weird directory stripping in the unittest macro, allowing it
      to be used more readily in other projects.
    - No more directory prefixes on all the source files.
    - Allows correct and precise use of LLVM's per-directory dependency
      system.
    - Allows use of the checking logic for source files that have not been
      added to the CMake build. This uncovered a file being skipped with
      CMake in LLVM and one in Clang's unit tests.
    - Makes Specifying conditional compilation or other custom logic for JIT
      tests easier.
    
    It did require adding the concept of an explicit 'optional' source file
    to the CMake build so that the missing-file check can skip cases where
    the file is *supposed* to be missing. =]
    
    This is another chunk of refactoring the CMake build in order to make it
    usable for other clients like CompilerRT / ASan / TSan.
    
    Note that this is interdependent with a Clang CMake change.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158909 91177308-0d34-0410-b5e6-96231b3b80d8
  3. @chandlerc

    Factor the logic for setting up a GoogleTest unit test executable into

    chandlerc authored
    a helper function in CMake. This will allow us to share all of this
    logic with Clang, and eventually CompilerRT.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158896 91177308-0d34-0410-b5e6-96231b3b80d8
  4. @chandlerc

    Remove one of the LLVM-specific CMake hacks in favor of standard CMake

    chandlerc authored
    facilities.
    
    This was only used in one place in LLVM, and was used pervasively (but
    with different code!) in Clang. It has no advantages over the standard
    CMake facilities and in some cases disadvantages.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158889 91177308-0d34-0410-b5e6-96231b3b80d8
Commits on Jun 17, 2012
  1. @chapuni
Commits on Jun 8, 2012
  1. @tobig

    cmake: Pass the -m32 flag to modules if LLVM_BUILD_32_BITS is enabled

    tobig authored
    This was previously only done for executables and shared libraries, but not
    for modules. As modules are essentially shared libraries (that need to be
    dlopened explicitly), threating them the same as shared libraries seems
    reasonable. This fixes the LLVM_BUILD_32_BITS build of Polly.
    
    Contributed by: Ondra Hosek  <ondra.hosek@gmail.com>
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158195 91177308-0d34-0410-b5e6-96231b3b80d8
Commits on Jun 7, 2012
  1. @Bigcheese

    [CMake] Promote extension warnings to errors.

    Bigcheese authored
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158176 91177308-0d34-0410-b5e6-96231b3b80d8
  2. @Bigcheese

    [CMake] Order MSVC warnings numerically.

    Bigcheese authored
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158171 91177308-0d34-0410-b5e6-96231b3b80d8
  3. @Bigcheese

    [CMake] Adjust MSVC warnings.

    Bigcheese authored
    Remove /Wall from LLVM_ENABLE_WARNINGS (it's useless) and promote 4239
    to a level 1 warning.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158170 91177308-0d34-0410-b5e6-96231b3b80d8
Commits on May 23, 2012
  1. Fix how CMake appends -m32 to linker command-lines

    Tim Northover authored
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157337 91177308-0d34-0410-b5e6-96231b3b80d8
Commits on May 8, 2012
  1. @espindola

    Adding -fcolor-diagnostics is causing problem to users that parse the…

    espindola authored
    … build
    
    output. Peter Collingbourne also reports that it is showing up in
    $(llvm-config --cflags).
    
    Revert this for now since I don't know enough cmake to fix it properly.
    
    This reverts commit 18efed7.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156392 91177308-0d34-0410-b5e6-96231b3b80d8
Commits on May 5, 2012
  1. @ddunbar

    [build] Add build check for ::arc4random().

    ddunbar authored
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156236 91177308-0d34-0410-b5e6-96231b3b80d8
Commits on May 4, 2012
  1. @espindola

    Pass -fcolor-diagnostics when it is supported. This makes a differenc…

    espindola authored
    …e when
    
    using cmake+ninja, since ninja buffers the compiler output.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156150 91177308-0d34-0410-b5e6-96231b3b80d8
Commits on May 3, 2012
  1. @krememek
Commits on Apr 26, 2012
  1. @Bigcheese

    [CMake] Restructure how Clang, Polly and other external projects get …

    Bigcheese authored
    …included.
    
    While making lld build under the tools directory I decided to refactor how this
    works.
    
    There is now a macro, add_llvm_external_project, which takes the name of the
    expected subdirectory. This sets up two CMake options.
    
     * LLVM_EXTERNAL_${NAME}_SOURCE_DIR
         This is the path to the source. It defaults to
         ${CMAKE_CURRENT_SOURCE_DIR}/${name}.
     * LLVM_EXTERNAL_${NAME}_BUILD
         Enable and disable building the tool as part of LLVM.
    
    I chose LLVM_EXTERNAL_${NAME} as a prefix so they all show up together in the
    GUI.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155654 91177308-0d34-0410-b5e6-96231b3b80d8
Commits on Apr 21, 2012
  1. @chapuni

    CMake: Enable LLVM_COMPILER_JOBS on all MS IDEs. We don't support old…

    chapuni authored
    …er environments than VS9.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155285 91177308-0d34-0410-b5e6-96231b3b80d8
  2. @chapuni

    CMake: Prune redundant LLVM_COMPILER_JOBS from llvm/CMakeLists.txt. H…

    chapuni authored
    …andleLLVMOptions.cmake has it.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155284 91177308-0d34-0410-b5e6-96231b3b80d8
Commits on Mar 26, 2012
  1. Add InitializeNativeTargetDisassembler function.

    Eric Christopher authored
    Patch by Ojab.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153476 91177308-0d34-0410-b5e6-96231b3b80d8
Commits on Mar 1, 2012
  1. @Bigcheese

    Minimal changes for LLVM to compile under VS11.

    Bigcheese authored
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151849 91177308-0d34-0410-b5e6-96231b3b80d8
Commits on Feb 28, 2012
  1. @espindola

    Enable -Wcovered-switch-default again, but add -Werror to the checks …

    espindola authored
    …to make
    
    sure we don't use it with compilers that don't support it.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151665 91177308-0d34-0410-b5e6-96231b3b80d8
  2. @chandlerc

    Temporarily revert r151609, which enabled a new warning for LLVM and

    chandlerc authored
    Clang builds. The detection logic for compilers that support the warning
    isn't working. Rafael is going to investigate it, but didn't want people
    to have to wade through build spam until then.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151649 91177308-0d34-0410-b5e6-96231b3b80d8
  3. @espindola
Commits on Feb 13, 2012
  1. @nobled

    add LLVM_VERSION_MAJOR and _MINOR defines

    nobled authored
    This is useful for clients that want to maintain compatibility
    across multiple releases of LLVM. Currently users like Klee and
    Mesa all have to roll their own 'parse llvm-config --version
    output and generate defines' solution.
    
    Also reuse the new macros so that version information is less
    redundant/likely to fall out of sync again in the future.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150405 91177308-0d34-0410-b5e6-96231b3b80d8
Commits on Jan 30, 2012
  1. @chapuni
Commits on Jan 25, 2012
  1. @espindola

    -fvisibility-inlines-hidden is a c++ only option.

    espindola authored
    Thanks to Peter Collingbourne for noticing it.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148913 91177308-0d34-0410-b5e6-96231b3b80d8
Commits on Jan 24, 2012
  1. @chandlerc

    Undo an over zealous rename. This bit of the CMake build really is

    chandlerc authored
    dealing in the host triple, be honest about it and document the decision
    to default the target triple to the host triple unless overridden.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148822 91177308-0d34-0410-b5e6-96231b3b80d8
Commits on Jan 20, 2012
  1. @espindola

    Don't use -fvisibility-inlines-hidden on mingw to try to avoid a lot of

    espindola authored
    warnings from gcc.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148539 91177308-0d34-0410-b5e6-96231b3b80d8
  2. @espindola

    cmake: pass -fvisibility-inlines-hidden if it is supported. In a

    espindola authored
    Release+Asserts build with -DBUILD_SHARED_LIBS=ON, the install
    directory goes from 72MB to 70MB.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148530 91177308-0d34-0410-b5e6-96231b3b80d8
Something went wrong with that request. Please try again.