History log of /external/llvm/CMakeLists.txt
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
cddc3e03e4ec99c0268c03a126195173e519ed58 04-Mar-2016 Pirama Arumuga Nainar <pirama@google.com> Update aosp/master LLVM for rebase to r256229

http://b/26987366

(cherry picked from commit f3ef5332fa3f4d5ec72c178a2b19dac363a19383)

Change-Id: Ic75dcb63191d65df1b69724576392c0aaeb47728
/external/llvm/CMakeLists.txt
6948897e478cbd66626159776a8017b3c18579b9 01-Jul-2015 Pirama Arumuga Nainar <pirama@google.com> Update aosp/master LLVM for rebase to r239765

Bug: 20140355: This rebase pulls the upstream fix for the spurious
warnings mentioned in the bug.

Change-Id: I7fd24253c50f4d48d900875dcf43ce3f1721a3da
/external/llvm/CMakeLists.txt
0c7f116bb6950ef819323d855415b2f2b0aad987 06-May-2015 Pirama Arumuga Nainar <pirama@google.com> Update aosp/master LLVM for rebase to r235153

Change-Id: I9bf53792f9fc30570e81a8d80d296c681d005ea7
/external/llvm/CMakeLists.txt
4c5e43da7792f75567b693105cc53e3f1992ad98 08-Apr-2015 Pirama Arumuga Nainar <pirama@google.com> Update aosp/master llvm for rebase to r233350

Change-Id: I07d935f8793ee8ec6b7da003f6483046594bca49
/external/llvm/CMakeLists.txt
ebe69fe11e48d322045d5949c83283927a0d790b 23-Mar-2015 Stephen Hines <srhines@google.com> Update aosp/master LLVM for rebase to r230699.

Change-Id: I2b5be30509658cb8266be782de0ab24f9099f9b9
/external/llvm/CMakeLists.txt
37ed9c199ca639565f6ce88105f9e39e898d82d0 01-Dec-2014 Stephen Hines <srhines@google.com> Update aosp/master LLVM for rebase to r222494.

Change-Id: Ic787f5e0124df789bd26f3f24680f45e678eef2d
/external/llvm/CMakeLists.txt
c6a4f5e819217e1e12c458aed8e7b122e23a3a58 21-Jul-2014 Stephen Hines <srhines@google.com> Update LLVM for rebase to r212749.

Includes a cherry-pick of:
r212948 - fixes a small issue with atomic calls

Change-Id: Ib97bd980b59f18142a69506400911a6009d9df18
/external/llvm/CMakeLists.txt
dce4a407a24b04eebc6a376f8e62b41aaa7b071f 29-May-2014 Stephen Hines <srhines@google.com> Update LLVM for 3.5 rebase (r209712).

Change-Id: I149556c940fb7dc92d075273c87ff584f400941f
/external/llvm/CMakeLists.txt
36b56886974eae4f9c5ebc96befd3e7bfe5de338 24-Apr-2014 Stephen Hines <srhines@google.com> Update to LLVM 3.5a.

Change-Id: Ifadecab779f128e62e430c2b4f6ddd84953ed617
/external/llvm/CMakeLists.txt
d1b770d24dea3dc93a7c0f75cf61e3400cde73b0 25-Nov-2013 Bill Wendling <isanbard@gmail.com> Merging r195379:
------------------------------------------------------------------------
r195379 | hans | 2013-11-21 14:47:21 -0800 (Thu, 21 Nov 2013) | 7 lines

CMake: Some changes to package version names:

- Allow overriding PACKAGE_VERSION from the command-line
- Use PACKAGE_VERSION to set CPACK_PACKAGE_VERSION (used by the Win installer)
- Don't include the version number in the CPack install dir or registry key.

Differential revision: http://llvm-reviews.chandlerc.com/D2245
------------------------------------------------------------------------


git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@195674 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
7adae8e795504660ba68bd7e44db8deaf1721630 13-Nov-2013 Hans Wennborg <hans@hanshq.net> Revert my CMake patches concerning building with /MT (r194589, r194596)

Reid pointed out we already have LLVM_USE_CRT_{buildtype} to set it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194604 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
4ac2e3c604f938ce3db5dc0af413e1010c1b99c9 13-Nov-2013 Hans Wennborg <hans@hanshq.net> CMake: make building with /MT an option instead of always forcing it
for release builds.

This is a follow-up to r194589. Aaron pointed out that building
libraries with /MT and using them in an application that uses a
different run-time library can be a bad idea.

Move the option to build with /MT behind a CMake option so it can be
turned on selectively, such as when building the toolchain installer.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194596 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
14de0899bcb4c8805786f7323c4fd476574e76a9 31-Oct-2013 Rafael Espindola <rafael.espindola@gmail.com> Modify CMakeLists.txt to work around pr17763 and bring some bots back.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193813 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
92978909723343336aa6314115ec0642d6eb8e41 28-Oct-2013 Bill Wendling <isanbard@gmail.com> Remove 2.4 from the list of supported Python versions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193541 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
4d1a9256752048f34c6091cc145fce9f89d20985 17-Oct-2013 Hans Wennborg <hans@hanshq.net> CMake: set stack size for MSVC in just one place

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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192912 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
651c467130fbed3ec5624de011e3920545099d1d 04-Oct-2013 Alexey Samsonov <samsonov@google.com> Restore LLVM_BUILD_RUNTIME option that was deleted in r191835, but is still used to control building of compiler-rt and libcxx

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191948 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
dd5d86d992eb129ecd0bb013d2db2d6a0e8d2605 02-Oct-2013 Chandler Carruth <chandlerc@gmail.com> Remove the very substantial, largely unmaintained legacy PGO
infrastructure.

This was essentially work toward PGO based on a design that had several
flaws, partially dating from a time when LLVM had a different
architecture, and with an effort to modernize it abandoned without being
completed. Since then, it has bitrotted for several years further. The
result is nearly unusable, and isn't helping any of the modern PGO
efforts. Instead, it is getting in the way, adding confusion about PGO
in LLVM and distracting everyone with maintenance on essentially dead
code. Removing it paves the way for modern efforts around PGO.

Among other effects, this removes the last of the runtime libraries from
LLVM. Those are being developed in the separate 'compiler-rt' project
now, with somewhat different licensing specifically more approriate for
runtimes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191835 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
19c450af62ee4c352c4aa7dd428ae01526c58501 25-Sep-2013 Rafael Espindola <rafael.espindola@gmail.com> Set the minimal stack size with msvc when using cmake >= 2.8.11.

This makes sure we get the same behavior with all supported cmake versions. Once
we support only versions >= 2.8.11 we can experiment with other values or just
setting it for some binaries.

Patch by Greg Bedwell.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191372 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
e179b31bfcb6a49de5fe7df7586a2aade9191e08 30-Aug-2013 Daniel Dunbar <daniel@zuster.org> [conf] Add config variable to disable crash related overrides.

- We do some nasty things w.r.t. installing or overriding signal handlers in
order to improve our crash recovery support or interaction with crash
reporting software, and those things are not necessarily appropriate when
LLVM is being linked into a client application that has its own ideas about
how to do things. This gives those clients a way to disable that handling at
build time.

- Currently, the code this guards is all Apple specific, but other platforms
might have the same concerns so I went for a more generic configure
name. Someone who is more familiar with library embedding on Windows can
handle choosing which of the Windows/Signals.inc behaviors might make sense
to go under this flag.

- This also fixes the proper autoconf'ing of ENABLE_BACKTRACES. The code
expects it to be undefined when disabled, but the autoconf check was just
defining it to 0.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189694 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
002062b024c094279d4b0ed7db13a69159b2d8ba 30-Aug-2013 Reid Kleckner <reid@kleckner.net> Substitute LLVM's version into the msbuild property file at config time

Requires shuffling the CPack code up before add_subdirectory(tools), but
that's where the version settings are anyway.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189615 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
110b5209d92f224050f2755539bda8f1d801f94b 28-Aug-2013 Hans Wennborg <hans@hanshq.net> cmake: Add msbuild integration to the install

This adds the msbuild integration files to the install, provides batch scripts
for (un)installing it in a convenient way, and hooks up the nsis installer to
run those scripts.

Differential Revision: http://llvm-reviews.chandlerc.com/D1537

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189434 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
d19346524ce01a16dd1228fa71e3511986aa2718 26-Aug-2013 Hans Wennborg <hans@hanshq.net> CMake: move lto.h install to tools/lto/CMakeLists.txt

It looked misplaced in the main CMakeLists.txt file.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189230 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
5b83d0c092776732d60c5964876c16993a6213b6 24-Aug-2013 Michael Gottesman <mgottesman@apple.com> [autotools->cmake] Enable generation of doxygen documentation via cmake.

I am going to add in a subsequent patch support for generating the llvm
manpage.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189164 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
2982c08884a30e868f74b8824b5b456a3cb544c9 24-Aug-2013 Hans Wennborg <hans@hanshq.net> CMake: Add LLVM_INSTALL_TOOLCHAIN_ONLY option.

Differential Revision: http://llvm-reviews.chandlerc.com/D1428

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189155 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
da44b4f68bcf2adcb74214670a266b43a1a6888f 16-Aug-2013 Hans Wennborg <hans@hanshq.net> CMake: polish the Windows packaging rules

This tweaks the CMake rules for building an installation package on Windows:
- Sets license file (otherwise nsis shows an ugly default)
- Adds LLVM logo
- Shows "do you want to add this to the system path" dialog.

Differential Revision: http://llvm-reviews.chandlerc.com/D1414

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188509 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
20e4636c12cd1455d9f2cad46c81cbca6e0451dc 15-Aug-2013 Michael Gottesman <mgottesman@apple.com> Fixed typo in CMakeLists.txt.

We were marking both LLVMBUILDOUTPUT and LLVMBUILDERRORS as
ERROR_VARIABLES when clearly LLVMBUILDOUTPUT should be marked as
OUTPUT_VARIABLE.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188444 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
8d8bdff6d7eccb05bf16e18141263ee72ea8296b 12-Aug-2013 Chandler Carruth <chandlerc@gmail.com> Target a minimal terminfo library rather than necessarily a full curses
library for color support detection. This still will use a curses
library if that is all we have available on the system. This change
tries to use a smaller subset of the curses library, specifically the
subset that is on some systems split off into a separate library. For
example, if you install ncurses configured --with-tinfo, a 'libtinfo' is
install that provides just the terminfo querying functionality. That
library is now used instead of curses when it is available.

This happens to fix a build error on systems with that library because
when we tried to link ncurses into the binary, we didn't pull tinfo in
as well. =]

It should also provide an easy path for supporting the NetBSD
libterminfo library, but as I don't have access to a NetBSD system I'm
leaving adding that support to those folks.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188160 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
f7364d5833f700eefd7919326bfa5724da1461c3 07-Aug-2013 Chandler Carruth <chandlerc@gmail.com> Add support for linking against a curses library when available and
using it to detect whether or not a terminal supports colors. This
replaces a particularly egregious hack that merely compared the TERM
environment variable to "dumb". That doesn't really translate to
a reasonable experience for users that have actually ensured their
terminal's capabilities are accurately reflected.

This makes testing a terminal for color support somewhat more expensive,
but it is called very rarely anyways. The important fast path when the
output is being piped somewhere is already in place.

The global lock may seem excessive, but the spec for calling into curses
is *terrible*. The whole library is terrible, and I spent quite a bit of
time looking for a better way of doing this before convincing myself
that this was the fundamentally correct way to behave. The damage of the
curses library is very narrowly confined, and we continue to use raw
escape codes for actually manipulating the colors which is a much sane
system than directly using curses here (IMO).

If this causes trouble for folks, please let me know. I've tested it on
Linux and will watch the bots carefully. I've also worked to account for
the variances of curses interfaces that I could finde documentation for,
but that may not have been sufficient.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187874 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
6aebd5facbbc80787270cc1b18bffbf6c6f655e8 30-Jul-2013 Eric Christopher <echristo@gmail.com> Add capability for building with -gsplit-dwarf to the cmake build.

In limited testing this seems to work. Caveat emptor.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187452 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
6fccaafd8be0eb7619b5a210387b0d1254ef4174 25-Jul-2013 Rafael Espindola <rafael.espindola@gmail.com> Remove the mblaze backend from llvm.

Approval in here http://lists.cs.uiuc.edu/pipermail/llvmdev/2013-July/064169.html

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187145 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
a009d53c4d97e4b9ffe17cb2f6442a40e7407ac8 17-Jul-2013 Duncan Sands <baldrick@free.fr> Tweak the cmake interaction between CMAKE_BUILD_TYPE and LLVM_ENABLE_ASSERTIONS.
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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186499 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
84bb3a2af228e0ee04d4b872cd0760f74253d3a3 26-Jun-2013 Andy Gibbs <andyg1001@hotmail.co.uk> Support using "host" as a target in LLVM_TARGETS_TO_BUILD when using cmake.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184923 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
dfad9e314e3425ac2656ee08cd20c5b306514e51 24-Jun-2013 Reid Kleckner <reid@kleckner.net> Look for Python 2 before Python 3 in CMakeLists.txt

All of LLVM's Python scripts only support Python 2 for widely understood
reasons.

Patch by Yonggang Luo.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184732 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
67295357ccab93cb4f4490cc96ab177c0906181f 22-May-2013 Rafael Espindola <rafael.espindola@gmail.com> Allow duplicates in LLVM_TARGETS_TO_BUILD and LLVM_EXPERIMENTAL_TARGETS_TO_BUILD.

Should fix the cmake bots that were already building R600.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182447 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
059d36026688bd684d4df7dbaa63093d515a3530 22-May-2013 Rafael Espindola <rafael.espindola@gmail.com> Make R600 non-experimental.

The r600 backend has been in tree for some time now. Marking it as
non-experimental to avoid accidental breakage.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182442 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
233a4d7124ecf9611804e3c75102cdcf7d2fd074 19-May-2013 Tim Northover <t.p.northover@gmail.com> AArch64: enable MCJIT unittests

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182217 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
baa52fff392bbf2133eb0c948d56bdc4e4c1b7f9 07-May-2013 Rafael Espindola <rafael.espindola@gmail.com> Change version to 3.4 in the cmake build too.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181353 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
9887cbed0597256b72742c5891a35f197e790e9d 06-May-2013 Ulrich Weigand <ulrich.weigand@de.ibm.com> [SystemZ] Add to --enable-targets=all

This patch finally enables the SystemZ target in the default build
(with --enable-targets=all).

Patch by Richard Sandiford.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181209 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
735ab83b3cbe18c97ec9e397c41fa21a7ef639a4 06-May-2013 Ulrich Weigand <ulrich.weigand@de.ibm.com> [SystemZ] Add configure bits

This patch wires up the SystemZ target in configure, so that it can now be
built using --enable-targets=systemz. It is not yet included in the default
build (--enable-targets=all); this will be done by a follow-up patch.

Patch by Richard Sandiford.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181208 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
ee03c949b85036b68c261dcc27dca064ee7e525d 23-Apr-2013 Alexey Samsonov <samsonov@google.com> Add basic zlib support to LLVM. This would allow to use compression/uncompression in selected LLVM tools.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180083 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
eaa752f5e1c10fc7fdbfb7f497a75c623677cb1e 15-Apr-2013 Tim Northover <Tim.Northover@arm.com> Enable all targets by default on Visual Studio.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179518 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
7ef742dca17ee5971af94cda040f545cdd3464b2 10-Apr-2013 Tim Northover <Tim.Northover@arm.com> Revert "TMP"

This reverts commit e652085eacbec62e4157d08d3f2f875e6e6d5bb4.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179172 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
2318508117fbc567bfef5b67a63c91ff7fad2697 10-Apr-2013 Tim Northover <Tim.Northover@arm.com> TMP

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179170 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
3455b32b3e795ea27a31b6cb1c225812515e3e2c 05-Apr-2013 Rafael Espindola <rafael.espindola@gmail.com> Move yaml2obj to tools too.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178904 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
46af06799732192ec7c8d0cc76ea151874b51129 05-Apr-2013 Rafael Espindola <rafael.espindola@gmail.com> Move obj2yaml to tools to sort out make's dependencies.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178835 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
436633e2a281ff620f2f4d9a06b33d3a99924717 04-Apr-2013 Rafael Espindola <rafael.espindola@gmail.com> Don't export symbols in every binary on linux.

On freebsd this makes sure that symbols are exported on the binaries that need
them. The net result is that we should get symbols in the binaries that need
them on every platform.

On linux x86-64 this reduces the size of the bin directory from 262MB to 250MB.

Patch by Stephen Checkoway.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178725 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
777fccbe65f23d8a19bde1a8b69776c9a9209476 26-Mar-2013 Alexey Samsonov <samsonov@google.com> Add CMake option LLVM_USE_SANITIZER={Address,Memory,MemoryWithOrigins} to simplify bootstrap of LLVM/Clang under ASan/MSan

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177992 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
32d0b2a9e8fd29c12ceea164db953767dd199b1f 18-Feb-2013 Tim Northover <Tim.Northover@arm.com> Revert CMake version bump since we don't actually need 2.8.6 any more.

The problem call was removed in the interim. Apologies.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175435 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
e741c65814b8a473f6e398b236d0baed37d82f08 18-Feb-2013 Tim Northover <Tim.Northover@arm.com> Note minimum required version of CMake

We already use features from 2.8.6, this just gives a slightly more friendly
message when the dependency isn't met.

Patch from Keith Walker.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175434 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
579ad50f511d663f3d2797af2ad8c7218ee89606 14-Feb-2013 David Chisnall <csdavec@swan.ac.uk> On FreeBSD, we need to look in /usr/local/include so that libxml2 finds iconv.h

Patch by Jonathan Anderson!



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175167 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
4c40840d385835be0bc478cc0b957ff8f2beba95 04-Feb-2013 Tim Northover <Tim.Northover@arm.com> Enable AArch64 as a target built by default.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174322 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
1d3b7e749d988c4d8fa289287597891a7c432fd5 13-Dec-2012 Joel Jones <joel_k_jones@apple.com> Fix spelling

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170130 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
cbc478ebc1f93df073f5883dda561995e15f6f46 10-Dec-2012 NAKAMURA Takumi <geek4civic@gmail.com> [CMake] TARGET_TRIPLE may be internal alias of LLVM_DEFAULT_TARGET_TRIPLE.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169726 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
537d9a7768a2a541b11b980184196fa453c37c6f 17-Nov-2012 Benjamin Kramer <benny.kra@googlemail.com> Kick off 3.3 cycle for LLVM trunk.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168272 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
66ce3daf577b0da4ceeafbaec34cba2a91aba533 14-Nov-2012 Eric Christopher <echristo@gmail.com> Fix CMake build.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167986 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
770b97b995aace9177a80510b7fd3cdab21dde0e 28-Sep-2012 Andrew Kaylor <andrew.kaylor@intel.com> Removing dependency on third party library for Intel JIT event support.
Patch committed on behalf of Kirill Uhanov

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164831 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
53347ed2f8b6a80a36b0450a13eaa44da983ac3d 28-Sep-2012 Benjamin Kramer <benny.kra@googlemail.com> Make backtraces work again with both the configure and cmake build.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164817 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
df2598871e07fe5eda960c5a461b55eced1e1657 20-Aug-2012 Sebastian Pop <spop@codeaurora.org> enable cross compilation with cmake

This patch allows us to use cmake to specify a cross compiler: target different
than host. In particular, it moves LLVM_DEFAULT_TARGET_TRIPLE and TARGET_TRIPLE
variables from cmake/config-ix.cmake to the toplevel CMakeLists.txt to make them
available at configure time.

Here is the command line that I have used to test my patches to create a Hexagon
cross compiler hosted on x86:

$ cmake -G Ninja -D LLVM_TARGETS_TO_BUILD:STRING=Hexagon -D TARGET_TRIPLE:STRING=hexagon-unknown-linux-gnu -D LLVM_DEFAULT_TARGET_TRIPLE:STRING=hexagon-unknown-linux-gnu -D LLVM_TARGET_ARCH:STRING=hexagon-unknown-linux-gnu ..
$ ninja check

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162219 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
385401a325b284ee8a3fbf0781b0e36e4ade3406 16-Aug-2012 Victor Oliveira <Victor.Oliveira@amd.com> bug in experimental targets



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161995 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
0e80e182a9401e6ae82df30ae93ef4b4585082f0 09-Aug-2012 Victor Oliveira <Victor.Oliveira@amd.com> Support for experimental targets

Added LLVM_EXPERIMENTAL_TARGETS_TO_BUILD in CMake and --enable-experimental-targets in configure.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161561 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
9469dd3a717a0dbe45bf668903ed804f27028b0a 08-Aug-2012 Sebastian Pop <spop@codeaurora.org> revert my previous patch

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161505 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
6174fd7ed09e9d183d84fb3485a714c5b0c67e4a 08-Aug-2012 Sebastian Pop <spop@codeaurora.org> enable Hexagon target from cmake

This patch allows us to use cmake to specify a cross compiler for Hexagon.

In particular, the patch adds a missing case for the target Hexagon in
cmake/config-ix.cmake, and it moves LLVM_DEFAULT_TARGET_TRIPLE and TARGET_TRIPLE
variables from cmake/config-ix.cmake to the toplevel CMakeLists.txt to make them
available at configure time. Here is the command line that I have used to test
my patches:

$ cmake -G Ninja -D BUILD_SHARED_LIBS:BOOL=ON -D LLVM_TARGETS_TO_BUILD:STRING=Hexagon -D TARGET_TRIPLE:STRING=hexagon-unknown-linux-gnu -D LLVM_DEFAULT_TARGET_TRIPLE:STRING=hexagon-unknown-linux-gnu -D LLVM_TARGET_ARCH:STRING=hexagon-unknown-linux-gnu -D LLVM_ENABLE_PIC:BOOL=OFF ..
$ ninja check

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161504 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
a915f247f72570a994d55cd0d2961cd2d7bbd0e1 02-Aug-2012 Michael J. Spencer <bigcheesegs@gmail.com> Add yaml2obj. A utility to convert YAML to binaries.

yaml2obj takes a textual description of an object file in YAML format
and outputs the binary equivalent. This greatly simplifies writing
tests that take binary object files as input.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161205 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
38cda13c058a32ff4e84dd44ebd5b5f0e25b948e 16-Jul-2012 Tom Stellard <thomas.stellard@amd.com> Revert "Build script changes for R600/SI Codegen v6"

This reverts commit e3013202259ed1e006c21817c63cf25d75982721.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160301 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
a93c8a89c148a92a4234e0dcc76231b13bebc4e7 16-Jul-2012 Tom Stellard <thomas.stellard@amd.com> Build script changes for R600/SI Codegen v6

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160272 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
cf23bd3d8f7e7dec6331043295dbf1ec92fedb4f 30-Jun-2012 Chandler Carruth <chandlerc@gmail.com> Hoist LLVM's lit testsuite infrastructure into module so that it can be
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
/external/llvm/CMakeLists.txt
c57b8885581aa3d512abc76991cd145d7e019852 19-Jun-2012 Marshall Clow <mclow@qualcomm.com> New test tool: obj2yaml

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158730 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
42a0b48dd3773574f648c19b4d9abafb6b4a4f16 24-May-2012 Justin Holewinski <jholewinski@nvidia.com> Remove the PTX back-end and all of its artifacts (triple, etc.)

This back-end was deprecated in favor of the NVPTX back-end.

NV_CONTRIB

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157417 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
80fa4723b9b7cb9d78d71648095e4e2804681402 09-May-2012 Manuel Klimek <klimek@google.com> Make it possible to switch off solution folders. VS Express does not support
them, and requires the user to click away one error message per folder on
project load.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156472 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
754935418133ece1f51d1857a61d538797c34891 07-May-2012 Preston Gurd <preston.gurd@intel.com> Make IntelJITEvents and OProfileJIT as optional libraries and add
optional library support to the llvm-build tool:
- Add new command line parameter to llvm-build: “--enable-optional-libraries”
- Add handing of new llvm-build library type “OptionalLibrary”
- Update Cmake and automake build systems to pass correct flags to llvm-build
based on configuration

Patch by Dan Malea!



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156319 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
49683f3c961379fbc088871a5d6304950f1f1cbc 04-May-2012 Justin Holewinski <jholewinski@nvidia.com> This patch adds a new NVPTX back-end to LLVM which supports code generation for NVIDIA PTX 3.0. This back-end will (eventually) replace the current PTX back-end, while maintaining compatibility with it.

The new target machines are:

nvptx (old ptx32) => 32-bit PTX
nvptx64 (old ptx64) => 64-bit PTX

The sources are based on the internal NVIDIA NVPTX back-end, and
contain more functionality than the current PTX back-end currently
provides.

NV_CONTRIB

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156196 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
5bfe3bf8d1fc37b6a10ce295195810a2cd9fe43d 21-Apr-2012 NAKAMURA Takumi <geek4civic@gmail.com> CMake: Prune redundant LLVM_COMPILER_JOBS from llvm/CMakeLists.txt. HandleLLVMOptions.cmake has it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155284 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
b85b2d5a55919953d7e18398d8cd87291728b297 20-Apr-2012 Benjamin Kramer <benny.kra@googlemail.com> Kick off 3.2 cycle for LLVM trunk.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155211 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
61c3d3001515619ce112ae6e26b7d127a4db1b1c 17-Apr-2012 Manuel Klimek <klimek@google.com> Goodbye, JSONParser...

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154930 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
93210e847a1496b24cef881723e57c489082dcfe 04-Apr-2012 Michael J. Spencer <bigcheesegs@gmail.com> Add YAML parser to Support.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153977 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
a443e5b1f1013612950fc3c9ebfafca60a1c20df 23-Mar-2012 Eric Christopher <echristo@apple.com> Remove the C backend.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153307 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
61b1851a205cb8dd29c1d3d4231efb8f8f7da283 13-Mar-2012 Eli Bendersky <eli.bendersky@intel.com> Add profiling support for Intel Parallel Amplifier XE (VTune) for JITted code in LLVM.

Also refactor the existing OProfile profiling code to reuse the same interfaces with the VTune profiling code.
In addition, unit tests for the profiling interfaces were added.

This patch was prepared by Andrew Kaylor and Daniel Malea, and reviewed in the llvm-commits list by Jim Grosbach



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152620 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
fde8237cd9c7e0eb503e6c53994c9c9d19cbb4c6 13-Feb-2012 Dylan Noblesmith <nobled@dreamwidth.org> add LLVM_VERSION_MAJOR and _MINOR defines

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
/external/llvm/CMakeLists.txt
2b2c7b9c5256d7cfc7786ed8012bc90c3d50c176 04-Feb-2012 Dylan Noblesmith <nobled@dreamwidth.org> cmake: update outdated CPack version info

Left over from r116516.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149751 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
bb7cd0cf31f845b9445b5fa35d0b52dd096609ad 01-Feb-2012 Dylan Noblesmith <nobled@dreamwidth.org> cmake: make BUILD_SHARED_LIBS a visible option

It could only be specified on the commandline, and wouldn't show
up as an option in the GUI or when invoked via `cmake -i` at all.

This also tells CMake that it's a BOOL, rather than "UNINITIALIZED".



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149506 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
7fe0e03fb068406b9a67930c278aff661ef271e8 18-Dec-2011 Dylan Noblesmith <nobled@dreamwidth.org> capitalize project name, reference bugzilla

And fix the double-[]. It was including the [] as part of
the project name somehow, resulting in PACKAGE_TARNAME "-llvm-"
and a strange docdir default:

./configure --help | grep docdir
--docdir=DIR documentation root [DATAROOTDIR/doc/-llvm-]



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146849 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
76f13017fc67b35f10b61e05c13f3643b714fccf 16-Dec-2011 Manuel Klimek <klimek@google.com> Adds a JSON parser and a benchmark (json-bench) to catch performance regressions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146735 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
6f20c61e07b570ad95fec81437972d653b362e63 13-Dec-2011 Chandler Carruth <chandlerc@gmail.com> Don't default the *cached* list of targets to build to an explicit list
of the targets we know about. Because this is cached, rebuilds won't
detect when new targets show up. It's also a bit simpler to just say
"all". If users want to restrict the target set, they can still do so,
and then the cache will preserve what they have explicitly set this
field to.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146467 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
b4b54153ad760c69a00a08531abef4ed434a5092 12-Dec-2011 Tony Linthicum <tlinth@codeaurora.org> Hexagon backend support

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146412 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
08216787ae1106ed46990317d5f5363925a40175 11-Dec-2011 NAKAMURA Takumi <geek4civic@gmail.com> llvm/CMakeLists.txt: Fix LLVM_LIT_TOOLS_DIR since r143728. Cygwin does not need optional tools dir. MSVC and mingw may need one.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146339 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
cb497b888aabebe13de431c8a6e7c7d31f4dea0c 01-Dec-2011 Daniel Dunbar <daniel@zuster.org> llvm-config: Replace with C++ version (was llvm-config-2).
- Another reapply of r144300, with hopefully one last fix.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145623 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
f6ace1924344b6bbeafe82494138f9673c22bddc 01-Dec-2011 Duncan Sands <baldrick@free.fr> Revert commit 145449 (ddunbar) since it is breaking the dragonegg buildbots.
Original commit message:
llvm-config: Replace with C++ version (was llvm-config-2).
- Reapply of r144300, with lots of fixes/migration easement in between.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145582 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
2662c83a594b5df8deef2a540595a5faa72cfbdc 29-Nov-2011 Daniel Dunbar <daniel@zuster.org> llvm-config: Replace with C++ version (was llvm-config-2).
- Reapply of r144300, with lots of fixes/migration easement in between.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145449 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
1ad92131abbed3d2992d5996969274a8e1ae9a6b 10-Nov-2011 Daniel Dunbar <daniel@zuster.org> Revert r144300 "llvm-config: Replace with C++ version (was llvm-config-2).",
which didn't appear ready for prime time.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144309 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
a6f5a81285bab84212209d47b1238505512c7c87 10-Nov-2011 Daniel Dunbar <daniel@zuster.org> llvm-config: Replace with C++ version (was llvm-config-2).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144300 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
83337302595a6b85523be8522c2b6105c8e159d1 10-Nov-2011 Daniel Dunbar <daniel@zuster.org> build/Make & CMake: Pass the appropriate --native-target and --enable-targets
options to llvm-build, so the all-targets etc. components are defined properly.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144255 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
2f5d547aa66cfe79827c7f22ba40321f8c548096 05-Nov-2011 Chandler Carruth <chandlerc@gmail.com> CMake should join the party in a post 3.0 world. ;] This brings CMake's
version in-line with the configure-based version.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143834 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
965d2feeddd4bb672396e620b8c2f402f7bb99d6 05-Nov-2011 Daniel Dunbar <daniel@zuster.org> build/cmake: Enable initial llvm-build integration.
- Generates the llvm-config-2 LibraryDependencies.inc file.
- Generates dependency information so that cmake will automatically reconfigure
when LLVMBuild.txt files are changed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143793 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
a54c8ea8cfcba3682afb53301b93ecc59fc9897a 05-Nov-2011 Daniel Dunbar <daniel@zuster.org> build/cmake: Change to require Python be available.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143742 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
7b1dd9aaf10e5e7db2c29c7e4cf187b0dff6304e 04-Nov-2011 Daniel Dunbar <daniel@zuster.org> build/cmake: Coalesce the configuration time header include fragment generation
for target definitions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143731 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
a0c8d2d00731ccadb799b629fcfe7eaccb3d79ab 04-Nov-2011 Daniel Dunbar <daniel@zuster.org> build/cmake: Coalesce in-tree sanity checks.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143730 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
275f686e3b16566a4633641df3e657a298db9d9d 04-Nov-2011 Daniel Dunbar <daniel@zuster.org> build/cmake: Tidy up specification of build/include options for (tools, runtime,
examples, and tests).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143729 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
c8f399d0c78c8f6575e582378c5c0b5d16c97048 04-Nov-2011 Daniel Dunbar <daniel@zuster.org> build/cmake: Move all the user controllable options into top-level CMakeLists
for consistency.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143728 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
b0d9ce567f5aee3af94c290d7cd52b1582c27b4f 04-Nov-2011 Daniel Dunbar <daniel@zuster.org> build/cmake: Use tblgen macro directly instead of llvm_tablegen, which just
added a layer of indirection with no value (not even conciseness).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143727 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
33ba8b0e96acde0d8ab1ffc565a5ef4c8b6b6ac2 28-Oct-2011 Dan Gohman <gohman@apple.com> Remove the Alpha backend.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143164 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
3e6157de576e349d33a9b08d103405b3a8fb9159 25-Oct-2011 Dan Gohman <gohman@apple.com> Remove the Blackfin backend.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142880 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
29074ccf6cb00a3cbe32a3b7809d970ecaf8c9bf 25-Oct-2011 Dan Gohman <gohman@apple.com> Remove the SystemZ backend.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142878 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
de8f33c199f3bf2049b0b732169f2bd8717469c6 06-Oct-2011 Peter Collingbourne <peter@pcc.me.uk> Build system infrastructure for multiple tblgens.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141266 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
7c788888872233748da10a8177a9a1eb176c1bc8 01-Oct-2011 Peter Collingbourne <peter@pcc.me.uk> Move TableGen's parser and entry point into a library

This is the first step towards splitting LLVM and Clang's tblgen executables.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140951 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
dca6cdd6a14195c3ebbbb5d2c668445be119aaec 21-Jul-2011 Bruno Cardoso Lopes <bruno.cardoso@gmail.com> Added the infrastructute necessary for MIPS JIT support. Patch by Vladimir
Stefanovic. I removed the part that actually emits the instructions cause
I want that to get in better shape first and in incremental steps. This
also makes it easier to review the upcoming parts.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135678 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
2341a3c3318cf0d2cceadd8fa9b7b543b6e4f2d5 17-Jul-2011 Oscar Fuentes <ofv@wanadoo.es> Fix CMake build on Solaris

When building LLVM/Clang on Solaris. The generated makefiles would
have an extraneous semi-colon character in them prior to this change
due to the way the 'CMAKE_CXX_FLAGS' variable was defined. Simply
adjusting the definition by moving the current CMAKE_CXX_FLAGS value
within the quotes solves the problem.

Patch by Art Haas!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135361 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
bcffb1fbb85a88cb99f7c2115a5f78e860d7fc46 29-Apr-2011 Nick Lewycky <nicholas@mxc.ca> Rename profile_rt.so to libprofile_rt.so under configure+make (it already was
under cmake).

Add libprofile_rt.a so that we can tell clang to link against it in --coverage
mode. Also turn it on by default in cmake builds.

Oscar, this touches a change you made for EXCLUDE_FROM_ALL support -- I think
I've done the right thing, but please let me know (or fix and commit) if not!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130470 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
e88c724ff09b3d24bcb515b382ded9ee4e885ee5 26-Apr-2011 Nick Lewycky <nicholas@mxc.ca> Add cmakefiles to build profile_rt.so!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130191 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
7a2bdde0a0eebcd2125055e0eacaca040f0b766c 15-Apr-2011 Chris Lattner <sabre@nondot.org> Fix a ton of comment typos found by codespell. Patch by
Luis Felipe Strano Moraes!



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129558 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
db3480c432bff2be4ab26630343545ba66f00dac 23-Mar-2011 Oscar Fuentes <ofv@wanadoo.es> Supports building with a list of targets that does not contain
X86. Fixes PR9533.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128154 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
89234e1e28a150138ea46dd3bee7c44d3dc0e4fe 21-Mar-2011 Oscar Fuentes <ofv@wanadoo.es> Removed workaround for unspecified build problem on MinGW.

Tested that MinGW/MSYS builds fine without that.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128033 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
ebc2fc1e2cf9a16f04fc9f720fbb704dbe509397 08-Mar-2011 Bill Wendling <isanbard@gmail.com> Change the next release number to 3.0svn.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127213 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
d9f574b724a208ec38761e250d83fcc2480e685c 01-Mar-2011 Oscar Fuentes <ofv@wanadoo.es> Cmake fix for option defaults not being set correctly on first run

On the first cmake run before the caches has been updated with the
default options, options defined after HandleLLVMOptions are always
treated as off inside HandleLLVMOptions.

Patch by Erik Olofsson!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126790 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
f67cf018abb6f562e7d1044c31d24ca443139218 27-Feb-2011 Oscar Fuentes <ofv@wanadoo.es> Install include/llvm/Support/LICENSE.TXT. PR9321.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126571 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
afcf6ac7a85601690d43e73ee504e281fa6244aa 21-Feb-2011 NAKAMURA Takumi <geek4civic@gmail.com> CMake: Define LLVM_INCLUDE_TESTS in cmake/modules/HandleLLVMOptions.cmake. It affects testing stuff on clang-standalone build.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126107 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
0b85d07d4611e7d704bf6550fbc624aff36a53b4 20-Feb-2011 Oscar Fuentes <ofv@wanadoo.es> Put targets on folders, if the IDE supports the feature.

Requires CMake 2.8.3 or newer.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126092 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
6d857ca4d71548f5cdb57b106cc1a12fc2c93e9d 18-Feb-2011 Oscar Fuentes <ofv@wanadoo.es> Move library stuff out of the toplevel CMakeLists.txt file.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125968 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
742c0dd8fd24b45d39e5ed73c61617c44a0e2d8c 17-Feb-2011 Oscar Fuentes <ofv@wanadoo.es> New library: LLVMX86Utils.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125786 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
c08830d46d7a5943fdb5e0d21354d9c06aa21b0e 14-Feb-2011 Oscar Fuentes <ofv@wanadoo.es> Add current binary and source directories to the header search list
for all compiler invocations.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125513 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
5a858e3416b13c2d796dfb9fc31f1e216e0acc2c 05-Feb-2011 Oscar Fuentes <ofv@wanadoo.es> Moved more stuff to HandleLLVMOptions.cmake

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124968 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
d931dca6e57cf9ceb4ceb04c23debe93e96eb7f9 03-Feb-2011 Oscar Fuentes <ofv@wanadoo.es> Moved to Clang's source tree its configuration options and associated
macros.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124824 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
d538e249224a91f85bd4297c71b2bfa71113a9ad 03-Feb-2011 Oscar Fuentes <ofv@wanadoo.es> Changes for building Clang and others using LLVM as an external
library.

Installs tblgen (required by Clang).

Translates handling of user settings and platform-dependant options to
its own file, where it can included by another project.

Installs the .cmake files required by projects like Clang.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124816 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
596937914548c181f2504aad3b709189e87a561b 21-Jan-2011 Oscar Fuentes <ofv@wanadoo.es> Handles libffi on the CMake build.

Patch by arrowdodger!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123976 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
119266c4ae2803e11229034b74813242b5978566 17-Jan-2011 Francois Pichet <pichet2000@gmail.com> Suppress warning "switch statement contains 'default' but no 'case' labels" on MSVC.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123610 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
19823b19baaaa7638e4e69d7e1342dfee0ef9f2f 11-Jan-2011 Oscar Fuentes <ofv@wanadoo.es> Add to the CMake build some options and platform tests supported by
the traditional build.

Patch by arrowdodger!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123233 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
6abea2b0a451afd0ae47f471a3bb2bdc5b1d3f04 09-Jan-2011 Oscar Fuentes <ofv@wanadoo.es> Apply -fPIC to C sources too.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123122 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
2c5e0b8b981dc9d1ea575037b9befa8c3b6102b8 09-Jan-2011 Oscar Fuentes <ofv@wanadoo.es> Rewrite handling of LLVM_ENABLE_PIC. It was being processed after
config.h was generated, so it had no effect on it.

Thanks to arrowdodger for pointing out this and a tentative patch.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123119 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
53bf3ee82ba9fb6e6008b9752d4f8f4e71a4bfe4 07-Jan-2011 Oscar Fuentes <ofv@wanadoo.es> Don't use -O3 on Mingw, as people report it as unreliable. Use -O2
instead.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123028 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
784a176bc38c0dea540217dd5c7f6f0c77e89205 20-Dec-2010 Oscar Fuentes <ofv@wanadoo.es> New cmake option LLVM_APPEND_VC_REV for controlling when the VC
revision id is appended to the LLVM version string. Defaults to
OFF.

Until now the VC revision id was always appended to the revision
string whenever cmake was invoked (either explicitly or implicitly
because a cmake source file changed). This was causing massive
recompilations because config.h are reconfigured with the new contents
of PACKAGE_VERSION.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122240 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
57e9104318a6b3b37f4c590b9229991600e1b0dc 18-Dec-2010 Michael J. Spencer <bigcheesegs@gmail.com> CMake: Cleanup and document MSVC warning flags.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122115 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
014e189069f5613e696bfc81f817e8d93fc5bae8 09-Dec-2010 Michael J. Spencer <bigcheesegs@gmail.com> CMake: Add FileUpdate to the build.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121386 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
97b2f727650357c5e3634853463e2fe493f4cdf7 07-Dec-2010 Francois Pichet <pichet2000@gmail.com> Promote "enumerator in switch of enum is not handled" to level 1 warning on MSVC. It was disabled by default.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121096 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
b361452ef9ad9453b2874cd12fc9ee65085d1f57 04-Dec-2010 Francois Pichet <pichet2000@gmail.com> Disable C++ exception handling on MSVC.
Total size of bin\Release on disk goes from 82.9 MB to 74.2 MB. (~10% saving)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120908 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
1f6efa3996dd1929fbc129203ce5009b620e6969 29-Nov-2010 Michael J. Spencer <bigcheesegs@gmail.com> Merge System into Support.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120298 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
d420e7b76cefb350a9cb89f1fb417f3f42636e30 27-Nov-2010 NAKAMURA Takumi <geek4civic@gmail.com> CMake: lit(check.vcproj) can run with multiple configurations on Visual Studio.

Unittests need LLVM_BUILD_MODE to pick up each test.

Confirmed on CentOS5, Mingw, MSYS, and with possible configurations on VS8 and VS10.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120212 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
0b8f0a208e9849c7ea50173b98acb51efbe1f2c7 20-Nov-2010 Francois Pichet <pichet2000@gmail.com> Disable warning C4291 on MSVC. Caused because class AttributeList provides a non implemented operator delete without a corresponding new.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119902 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
4c8710d9171da1e46ee6e209c9ffc44944869a20 19-Nov-2010 NAKAMURA Takumi <geek4civic@gmail.com> CMakeLists.txt: On MSVS10, touch LLVM.sln as workaround, w/e project files are changed, to avoid the Dialog Hell. Thanks to Oscar.

FIXME: This could be removed with future version of CMake.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119780 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
b977f04c5bfddb4f3f34b9666897253932d9402f 18-Nov-2010 Wesley Peck <peckw@wesleypeck.com> Make MCJIT work with CMake.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119589 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
68b3f0c40e29e461dbbc85370078692df4336b42 15-Nov-2010 Michael J. Spencer <bigcheesegs@gmail.com> Add LLVMObject Library.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119107 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
db2c50907f9423767b423aca313e2182ee7b71c4 14-Nov-2010 Oscar Fuentes <ofv@wanadoo.es> Detect presence of AsmPrinter's. Remove some cruft too.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119077 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
01928b9a406d2f3b3efb36794b3729b6738884a6 14-Nov-2010 Chris Lattner <sabre@nondot.org> hopefully unbreak the cmake build, patch by frits van bommel.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119069 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
14b0c056e699adc0fdda46aca05ac7b2452e32a2 14-Nov-2010 Oscar Fuentes <ofv@wanadoo.es> CMakeLists.txt: removed mismatched endif predicate.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119064 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
aeafb894fa09b381701a2706dde27f1d3df80340 14-Nov-2010 Chris Lattner <sabre@nondot.org> hopefully fix cmake as well.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119058 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
1139691e3aadff751c035f38f835d436ec6cf10a 14-Nov-2010 Chris Lattner <sabre@nondot.org> move all the target's asmprinters into the main target. The piece
that should be split out is the InstPrinter (if a target is mc'ized).
This change makes all the targets be consistent.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119056 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
e7ae70b137f9944da30494a45dc660fa60b80b66 11-Nov-2010 NAKAMURA Takumi <geek4civic@gmail.com> CMake: Add the new option "LLVM_LIT_ARGS".

Defaults:
if (MSVC OR XCODE): "-sv --no-progress-bar"
else: "-sv"

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118776 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
15b337c28da771b8426fafad58f2e2f81ca4c64e 26-Oct-2010 NAKAMURA Takumi <geek4civic@gmail.com> CMake: Build utils/KillTheDoctor only on MSVC for now.

Mingw does not have the header <dbghelp.h>.
Thanks to Daniel Newton, testing it on mingw.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117352 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
6b241160eddc96ec098c74a041a327d545df6ff7 19-Oct-2010 Chandler Carruth <chandlerc@gmail.com> First step to allowing the resource directory of Clang to be adjusted for
strange packaging environments. The primary result of this is to expose
a (normally empty) CLANG_RESOURCE_DIR string in the autoconf and CMake builds.
This will in turn be used by a subsequent commit to Clang.

Regenerated configure and config.h.in thanks to Nick. =D


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116802 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
4d156d3a251ef3f8d9b52cbcb91c937f11d4da2f 14-Oct-2010 Oscar Fuentes <ofv@wanadoo.es> Added basic support for CPack.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116516 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
b2b9b768ef59d7b18a8b6f06cce5a8c80aa11f9e 12-Oct-2010 Francois Pichet <pichet2000@gmail.com> Disable warning C4267 for MSVC. Otherwise it generate literally thousands of warnings when targeting x64. The warning occurs because int is 32 bit but size_t is 64 bit on Win64.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116274 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
bbb9ea7b70971df53eedfb42fc9cb606f815eaaa 11-Oct-2010 Michael J. Spencer <bigcheesegs@gmail.com> Add KillTheDoctor.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116216 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
60cb528246dd01b80b1b1260a2a877ea488e620a 11-Oct-2010 Chris Lattner <sabre@nondot.org> Per discussion with Sanjiv, remove the PIC16 target from mainline. When/if
it comes back, it will be largely a rewrite, so keeping the old codebase
in tree isn't helping anyone.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116190 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
bab2b012d65127ca4d6fafb47ae5dbe12320201e 02-Oct-2010 Oscar Fuentes <ofv@wanadoo.es> Handle InstPrinter's on the CMake build.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115402 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
c57707dd8782325e1c5fe9eef091caa99c351825 02-Oct-2010 Nick Lewycky <nicholas@mxc.ca> Revert patches r115363 r115367 r115391 due to build breakage:
llvm[2]: Updated LibDeps.txt because dependencies changed
llvm[2]: Checking for cyclic dependencies between LLVM libraries.
find-cycles.pl: Circular dependency between *.a files:
find-cycles.pl: libLLVMMSP430AsmPrinter.a libLLVMMSP430CodeGen.a



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115393 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
0e69aff03aa796563f7b21e9dbb17344efa017c4 02-Oct-2010 Jim Grosbach <grosbach@apple.com> Update CMake files for recent AsmPrinter->InstPrinter changes. Can someone who
is more familiar with CMake please review?

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115391 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
4dbb2dbf764498e6f03de0459b9c40fba5e608be 28-Sep-2010 Oscar Fuentes <ofv@wanadoo.es> Added library LLVMPIC16passes to CMake build.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114952 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
b2c70cfc71f401ae7eae26b29ea081bf7e7b917f 28-Sep-2010 Oscar Fuentes <ofv@wanadoo.es> Added PTX target to the CMake build.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114951 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
a6c1dbd541d93359a7dd8fbcba3d7f0bf77e60c5 25-Sep-2010 Oscar Fuentes <ofv@wanadoo.es> New cmake options LLVM_INCLUDE_X (X = {TOOLS, EXAMPLES, TESTS}) for
not generating build targets for those parts of the build.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114797 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
066de857f813991cb8985c7b10e130b32c878bd6 25-Sep-2010 Oscar Fuentes <ofv@wanadoo.es> Reverting "CMake: Don't include tools, unittets, or examples as
available targets unless LLVM_INCLUDE_X is ON. LLVM_BUILD_X implies
LLVM_INCLUDE_X"

It breaks the configuration phase when cmake is invoked without
parameters, it is too complex for the purpose and introduces an
incovenience for the user (as both LLVM_BUILD_X and LLVM_INCLUDE_X
must set to OFF for not including X on the build)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114795 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
4b794c9a9990fdea831966c7ebd3be46efe261a1 24-Sep-2010 Michael J. Spencer <bigcheesegs@gmail.com> CMake: Don't include tools, unittets, or examples as available targets
unless LLVM_INCLUDE_X is ON. LLVM_BUILD_X implies LLVM_INCLUDE_X

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114747 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
ee6944f4ab4258e6b7b9c91c0c18444193d6f55a 24-Sep-2010 Michael J. Spencer <bigcheesegs@gmail.com> CMake: Build unittests.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114725 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
6b5db9500cdab089f0875d1cf8b9f85036463625 23-Sep-2010 Douglas Gregor <dgregor@apple.com> Bump LLVM in CMake makefiles to 2.9

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114640 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
3a210e2d302758101ac06946e86027b327c7d0f3 14-Sep-2010 Michael J. Spencer <bigcheesegs@gmail.com> Revert "CMake: Get rid of LLVMLibDeps.cmake and export the libraries normally."

This reverts commit r113632

Conflicts:

cmake/modules/AddLLVM.cmake

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113819 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
becf392e3bff4e547789633b4ad095b49e93684e 13-Sep-2010 Michael J. Spencer <bigcheesegs@gmail.com> CMake: Add llvm-lit to CMake build.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113762 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
1c4e934666b3fa672a3dd8f933671da4b95447db 11-Sep-2010 Michael J. Spencer <bigcheesegs@gmail.com> CMake: Fix mingw32 build.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113676 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
4e9c939312ff73bd0c6a6485fd5f97012f5910fa 10-Sep-2010 Michael J. Spencer <bigcheesegs@gmail.com> CMake: Get rid of LLVMLibDeps.cmake and export the libraries normally.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113632 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
83944b7dbe8ac82a8461e20cac3075e839297dd1 30-Aug-2010 Chandler Carruth <chandlerc@gmail.com> Attempt to remove the MSIL backend from CMake as well based on Chris's r112375.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112464 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
6252e987096e5b7154f18cca04d8e1cadc7373da 09-Aug-2010 Oscar Fuentes <ofv@wanadoo.es> CMake: system for providing llvm-config-like features to the user.

The user can use a cmake function for obtaining the LLVM libraries
corresponding to a list of LLVM components.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110560 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
02a8f76d58cbc44fbcd55f29d2eccbfac49df794 05-Aug-2010 Oscar Fuentes <ofv@wanadoo.es> New system for choosing CRT type on MSVC.

Is setted on a per build type basis. This is useful for generators
that comprise several build types, i.e. VC++ solutions.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110296 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
ee9931755434f8809c072efd0cc1fa70ccb2763e 03-Aug-2010 Oscar Fuentes <ofv@wanadoo.es> CMake: add version control info to PACKAGE_VERSION, if available.

Adds "svn" or "git", depending on the VCS used. If svn, adds the
revision number as well.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110121 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
c677c5d6958c07d2126e05e696e8c086ac8c5c38 03-Aug-2010 Oscar Fuentes <ofv@wanadoo.es> Bump cmake_minimum_required to version 2.8


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110110 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
cb95a2bf285da4cf7251df4dd45239b530381835 02-Aug-2010 Oscar Fuentes <ofv@wanadoo.es> Lets the CMake GUI show a list of possible values for LLVM_USE_CRT

Patch by nobled!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110057 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
847da55716e9c1d39c08ed052bc86d28796cb91f 20-Jul-2010 Chris Lattner <sabre@nondot.org> start straightening out libedis's dependencies and make it fit
better in the llvm world. Among other things, this changes:

1. The guts of libedis are now moved into lib/MC/MCDisassembler
2. llvm-mc now depends on lib/MC/MCDisassembler, not tools/edis,
so edis and mc don't have to be built in series.
3. lib/MC/MCDisassembler no longer depends on the C api, the C
API depends on it.
4. Various code cleanup changes.

There is still a lot to be done to make edis fit with the llvm
design, but this is an incremental step in the right direction.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108869 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
e53cd1a7a175977f2944a64db09763e51dd05ba2 25-Jun-2010 Daniel Dunbar <daniel@zuster.org> Fix LLVM CMake PACKAGE_VERSION variable.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106861 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
3f0cc8c268ef17536690907dbdf3ef488e8fe994 18-Mar-2010 Oscar Fuentes <ofv@wanadoo.es> CMake: Add options for using static runtime on MSVC++ build.

Patch by Victor Zverovich!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98821 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
c84a9566cb41ef19f25ab2685c503624d0c8ddd7 05-Mar-2010 Wesley Peck <peckw@wesleypeck.com> Adding MBlaze to cmake target list.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97806 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
4bd8dc39fb5c26326f644f77d82e0df30893a244 22-Jan-2010 Daniel Dunbar <daniel@zuster.org> CMake: Add MCParser directory.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94135 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
f1c3a8650a37793add9ce4fbf2e8337bc94eb0bb 04-Jan-2010 Douglas Gregor <dgregor@apple.com> Fix CMake build for InstCombine changes

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92519 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
9ea3a2c9fc64bd7ac459ffea050c81c0c793f7ca 01-Dec-2009 Daniel Dunbar <daniel@zuster.org> Don't default warnings to ON on MSVC, the spew is enough to triple the build time. :/

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90251 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
602071f8ff510ee4f3c48161381597dfe13f460d 01-Dec-2009 Tobias Grosser <grosser@fim.uni-passau.de> Fix copy paste bug

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90220 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
f12a90098aec2f8e496ab67ccbe119e19fbe40c3 01-Dec-2009 Oscar Fuentes <ofv@wanadoo.es> Add two CMake flags LLVM_ENABLE_PEDANTIC and LLVM_ENABLE_WERROR,
PEDANTIC defaults to ON and WERROR default to off.

Also add MSVC warnings. To disable warnings add the flags
LLVM_ENABLE_WARNINGS (default on).

Patch by Tobias Grosser!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90188 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
2343b106371d7152d25beca5a5f8dc12349b41b3 01-Dec-2009 Oscar Fuentes <ofv@wanadoo.es> * CMakeLists.txt: Adds warnings flags for g++. Fixes PR 5647.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90170 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
fa3f0b9bc2a0dff0a71a8d6f666bfab35e7decb4 25-Nov-2009 Daniel Dunbar <daniel@zuster.org> Add CMake and configure logic to create llvm/Config/Disassemblers.defs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89839 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
b8352de5514276e7e66998744e5d9eb477076d29 23-Nov-2009 Oscar Fuentes <ofv@wanadoo.es> CMake: generate targets for tools and examples even when
LLVM_BUILD_TOOLS or LLVM_BUILD_EXAMPLES are OFF.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89635 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
e1caa98c5bfecbd0ac0920c09b7a1b4b1e9184a5 18-Nov-2009 Daniel Dunbar <daniel@zuster.org> Turn LLVM_BUILD_EXAMPLES off by default in CMake builds, to match Makefiles &
Clang.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89211 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
8e3c16917c2d37011c3cfe1eb5b7111ab428e80a 12-Nov-2009 Oscar Fuentes <ofv@wanadoo.es> CMake: Hopefully unbreak the build by mimicking the changes on the
other build system about the new C_INCLUDE_DIRS configure option.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86960 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
36206182e12bb2728f88eaebf3082eb66d637635 08-Nov-2009 Daniel Dunbar <daniel@zuster.org> Prevent warning spew about -fPIC when using CMake generated Xcode project files.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86427 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
bc2eb13d008f25a0ffc1bf2d60616f88bf477922 30-Oct-2009 Oscar Fuentes <ofv@wanadoo.es> CMake: install .def files from source `include/llvm' directory.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85587 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
a2281e72dcf6ee661d0a0336ca115bdb9ff1d191 27-Oct-2009 Oscar Fuentes <ofv@wanadoo.es> CMake: Install .inc files too.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85285 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
1d7c43b7e730346540cf843e2618fe1342d93405 27-Oct-2009 Oscar Fuentes <ofv@wanadoo.es> Rather than excluding quite some things, and still installing
CMakeLists.txt, Makefiles, ... it's better to whitelist what we really
want to install.

Patch by Ingmar Vanhassel!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85282 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
c6cf5fe595cd3cec3f8320ec29118e0e2b39b28c 12-Oct-2009 Edward O'Callaghan <eocallaghan@auroraux.org> Fix LLVM CMake build system so that it may now work on Solaris and AuroraUX.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83819 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
dbf75e813e6d3b0de0487fe3afcc458717535e02 05-Oct-2009 Chris Lattner <sabre@nondot.org> remove llvm-db: it is completely broken and if anyone wants to do a debugger,
they should not base it on llvm-db (which not following almost any "best practices").


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83288 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
48f7ce88a6040c12d4c7d0a5bd208cf1e0bda9d1 24-Sep-2009 Daniel Dunbar <daniel@zuster.org> Add count/not tools as executables.
- Apparently, I'm willing to do incredibly stupid things in the name of portability.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82685 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
a177492108c404f297536da8c27a75a3c87635d7 22-Sep-2009 Daniel Dunbar <daniel@zuster.org> Initial support for running LLVM tests from cmake.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82534 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
05dafd82077e439ffe1490410c380e6c14f60646 22-Sep-2009 Daniel Dunbar <daniel@zuster.org> CMake: Fix definition of LTDL_SHLIB_EXT for Darwin.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82530 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
a9ff1392ea5d21b2dd9fbe37a0f268b2834211d0 14-Sep-2009 Oscar Fuentes <ofv@wanadoo.es> CMake: New user-settable variable LLVM_TARGET_ARCH useful when
cross-compiling.

Patch by Xerxes RĂ„nby!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81722 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
2f3fa88a2515e1ba9c5a3a8cc4add0b79b492ba0 26-Aug-2009 Gabor Greif <ggreif@gmail.com> revert r78628 and r78803 as these are not needed any more

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80048 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
022fc3e70ab2cae3c0fc646b420128de2bfa9f67 22-Aug-2009 Douglas Gregor <dgregor@apple.com> TOT is 2.7svn for CMake, too

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79730 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
1e02bf092a9fd770add1e416121411e30afd86b3 18-Aug-2009 Oscar Fuentes <ofv@wanadoo.es> CMake: LLVM_ENABLE_PIC now defaults to ON, as in `configure'. This is
required on some platforms for building shared libraries that link to
the LLVM libraries.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79339 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
34888816e802fb83a84ca0c7cc7b7a21d9fcd764 16-Aug-2009 Oscar Fuentes <ofv@wanadoo.es> CMake: Removed traces of obsolete variable LLVM_PLO_FLAGS.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79204 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
c81f56d9ec9e58d68187579af40d0ef645843766 16-Aug-2009 Oscar Fuentes <ofv@wanadoo.es> CMake: New option LLVM_BUILD_TOOLS. Renamed LLVM_EXAMPLES to
LLVM_BUILD_EXAMPLES and set default to true. Documented.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79203 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
69e973d79b2c591ed706e81cfea052ad840e5102 16-Aug-2009 Oscar Fuentes <ofv@wanadoo.es> CMake: Hopefully this will fix the build on VS. I can't replicate the
failure with VS 9.0, nmake and cmake 2.6.4. The buildbot output does
not show the patch level of cmake, it just says 2.6.

Sadly, parallel builds are broken due to recent changes on LLVM Target
libraries and its auxiliaries (TargetInfo, AsmPrinter, AsmParser). I
have a patch for stablishing the correct dependencies, but cmake is
buggy and generates makefiles that can't handle them.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79180 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
b78829ee38d9939e3a19a151665dd6768f5e53c7 16-Aug-2009 Oscar Fuentes <ofv@wanadoo.es> CMake: Revert r79144. It reverted a change necessary for correct
parallel builds.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79177 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
04ef5428cda4813f6d61e3454dbd07e5a5c9874f 15-Aug-2009 Benjamin Kramer <benny.kra@googlemail.com> Revert 78996. It was breaking MSVC builds.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79144 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
3d3ed3657268ab814a7f9ca952b32148d493c0be 14-Aug-2009 Oscar Fuentes <ofv@wanadoo.es> CMake: Builds main LLVM Target library before its sublibraries. This
way we ensure that tablegenned files exist before they are #include'd
by the LLVM Target sublibraries. Required for parallel builds.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78996 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
75caad4f1a0d9126fcdb1f7fbae1d343ff4c6f47 14-Aug-2009 Oscar Fuentes <ofv@wanadoo.es> CMake: Corrected indentation on a block of code.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78992 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
9befba80be6dcf0eeb7c9808ec05b37519169ff3 12-Aug-2009 Gabor Greif <ggreif@gmail.com> here comes the CMAKE part on LLVM_COMPACT_SENTINELS; see also r78628 and r78661

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78803 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
fdb9677ae93c9ba53aac1d6da2720cd5f760f38d 12-Aug-2009 Oscar Fuentes <ofv@wanadoo.es> CMake: Localized dependency on Perl.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78788 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
4ae953b7470ea0acf35fc7cb003888f8c7881152 12-Aug-2009 Oscar Fuentes <ofv@wanadoo.es> CMake: Do not install files with .tmp suffix.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78769 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
2803365c4e6120f05605cf90619e7e7f0df5d7d6 12-Aug-2009 Oscar Fuentes <ofv@wanadoo.es> CMake: Re-enabled build of llvm-config. Removed recursive invocation
of cmake.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78768 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
73b7bb7b07fdf63f699698d4027dd981fd46ce80 02-Aug-2009 Jakob Stoklund Olesen <stoklund@2pi.dk> Build Blackfin target with autoconf and cmake.

Note that configure was edited by hand. Will somebody with the correct version of autoconf please regenerate?

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77898 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
d2cb3d2c32b8f53bf94d56fbdd48503ace28df4b 24-Jul-2009 Dan Gohman <gohman@apple.com> Remove the IA-64 backend.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76920 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
4d20c24fe678595b5e08639a5bd9440abb746e4b 20-Jul-2009 Douglas Gregor <dgregor@apple.com> Build FileCheck from with CMake

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76449 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
3f189a3eb40208c75ea33cf75e7183a48087541a 20-Jul-2009 Daniel Dunbar <daniel@zuster.org> CMake support for SystemZ.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76384 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
2c4df5a95d980260fa67c9360a4f24f397727d29 19-Jul-2009 Daniel Dunbar <daniel@zuster.org> MSVC: Disable 4351, a completely useless warning: "warning: I'm not miscompiling
this". Um, ok, thanks!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76355 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
092a9dda2d13918a6410db26f41c7b5aa97ff989 17-Jul-2009 Daniel Dunbar <daniel@zuster.org> Sketch support for target specific assembly parser.
- Not fully enabled yet, need a configure regeneration.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76230 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
fef02e9af2250b5bc6cfe4ed1f018d4a5383809c 16-Jul-2009 Daniel Dunbar <daniel@zuster.org> Kill off cmake magic to force linking.
- This isn't needed anymore, we require clients to call the appropriate
initialization routines using TargetSelect.h.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75871 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
b5a8c08bb1d13f371d1a813174fa157a8777d95e 15-Jul-2009 Daniel Dunbar <daniel@zuster.org> Add TargetInfo directories to CMake's list.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75752 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
6761c5d609b45f246c3098034683e47113f9f635 13-Jul-2009 Oscar Fuentes <ofv@wanadoo.es> CMake: Refuses to work for out-of-source builds when tablegenned files
are found mixed with the sources. Fixes PR 4522.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75522 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
a51984b8ba7b676520508bd6641fe861f64cbb2b 09-Jul-2009 Richard Pennington <rich@pennware.com> bug 4524: Add MSP430 to the cmake build.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75170 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
e8c81ea3f8e00c55f55d7f0aa9a1ff6a97211786 06-Jul-2009 Oscar Fuentes <ofv@wanadoo.es> CMake: Fixes previous change: CMAKE_BUILD_TYPE is unknown when
generating project files for MSVC.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74809 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
af10910cc5655ecf8e897f329bdeb0b393f7eb48 05-Jul-2009 Oscar Fuentes <ofv@wanadoo.es> CMake: Avoids defining _DEBUG on MSVC Release builds. Fixes PR 4379.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74794 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
ecc63f8687c4eb746b69336316685fe9b224adfb 24-Jun-2009 Daniel Dunbar <daniel@zuster.org> Start flushing out MCContext.
- Lives inside new library lib/MC (LLVMMC.a)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74013 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
8756a8db5b14fac4ad7e3a0a11cc0b3c115e826d 23-Jun-2009 Douglas Gregor <dgregor@apple.com> CMake: remove support for llvm-config-generated dependencies in the build

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73979 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
7e9e36a23e07dfb0d7ceda3e76450073c0534f35 23-Jun-2009 Douglas Gregor <dgregor@apple.com> Eliminate object-relinking support from CMake. Fixes PR 4429 and
cleans up the CMake-based build system a bit. Started by a patch from
Xerxes RĂ„nby.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73969 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
5dd4272c4780ce82641583a966168cade0c0f045 17-Jun-2009 Douglas Gregor <dgregor@apple.com> CMake: Only include LLVM example executables in the build if requested by the user

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73566 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
1555a23335400143f2b54a66aedc4b5cbbb79f8d 16-Jun-2009 Douglas Gregor <dgregor@apple.com> Introduce new headers whose inclusion forces linking and
initialization of all targets (InitializeAllTargets.h) or assembler
printers (InitializeAllAsmPrinters.h). This is a step toward the
elimination of relinked object files, so that we can build normal
archives.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73543 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
af0f65fe6ad750983eadcb03b7c41143cca73298 12-Jun-2009 Oscar Fuentes <ofv@wanadoo.es> CMake: New variable LLVM_LIBDIR_SUFFIX.

Patch by Ingmar Vanhassel!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73216 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
99b94892f5fd7463103dbfbd5ddf1dc833593951 11-Jun-2009 Oscar Fuentes <ofv@wanadoo.es> CMake: Fixed parallel build problem related to native tblgen when
cross-compiling.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73180 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
4ba3a0ec6c43ea4110c91b29a0925828df0f1643 08-Jun-2009 Stefanus Du Toit <stefanus.dutoit@rapidmind.com> Allow setting the C runtime to be used with MSVC from cmake.

Patch by Tareq Siraj.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73084 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
318de6070119f7ace92fa542ffb85b0a1c9f9479 06-Jun-2009 Douglas Gregor <dgregor@apple.com> More portability checks for CMake's config.h.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72975 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
8eeb96d2d56f05fe6cf95a835f66c72410215be2 04-Jun-2009 Douglas Gregor <dgregor@apple.com> CMake: Use explicit dependencies for Xcode (as well as MSVC), to make
the CMake-generated Xcode project build properly.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72883 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
76941b273316eca4559c05ef34bfc88f13db64f1 04-Jun-2009 Oscar Fuentes <ofv@wanadoo.es> CMake: Renamed LLVM_ENABLE_ASSERTS to
LLVM_ENABLE_ASSERTIONS. Fine-tuned the logic that controls the
definition of NDEBUG and _DEBUG macros.

Thanks to Jay Foad for this suggestions.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72864 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
81a875585c23ddc914e2f2955d87d1bf84696aa1 03-Jun-2009 Oscar Fuentes <ofv@wanadoo.es> CMake: Implements and documents option LLVM_ENABLE_ASSERTS.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72774 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
34fc51710a0c2c699f38d02814306afa343a633a 05-Apr-2009 Oscar Fuentes <ofv@wanadoo.es> CMake: Added notes pointing to the LLVM CMake documentation.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68429 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
9a0107db7237d55e23ac0c2399bab46e8cf94b34 05-Apr-2009 Oscar Fuentes <ofv@wanadoo.es> CMake: defines and uses macro add_llvm_definitions for keeping track
of compiler parameters explicitly added by the build
specification. This macro replaces the cmake built-in
`add_definitions'.

Detects glibc and defines _GNU_SOURCE accordingly.

Resolves bug 3882.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68428 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
48fe63526e35ddaee7e98879596a569911f41319 20-Mar-2009 Sebastian Redl <sebastian.redl@getdesigned.at> Fix the Win32 VS2008 build:
- Make type declarations match the struct/class keyword of the definition.
- Move AddSignalHandler into the namespace where it belongs.
- Correctly call functions from template base.
- Some other small changes.
With this patch, LLVM and Clang should build properly and with far less noise under VS2008.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67347 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
5c6bf65a090e799462af8ce6afbbb6dc1f3f78f5 06-Mar-2009 Oscar Fuentes <ofv@wanadoo.es> CMake: auto-discover project files under the projects/ subdirectory.

Patch by Viktar Zviarovich!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66230 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
8c46e8573e2c8b3e1f048c68c61e2fc452703234 28-Jan-2009 Chris Lattner <sabre@nondot.org> Enable PACKAGE_VERSION in cmake builds, this unbreaks the clang build with cmake.
Patch by Piotr Rak!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63213 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
64fb4c8ccd4b8dbf3105f5fbbec03dea7c908f59 20-Nov-2008 Oscar Fuentes <ofv@wanadoo.es> CMake: Option for building with -fPIC.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59739 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
6307b9440a3b8814bae8a29611fab5a57156576b 19-Nov-2008 Oscar Fuentes <ofv@wanadoo.es> CMake: Support for building 32 bits shared libraries on 64 bits GNU
systems. BUILD_32_BITS option renamed to LLVM_BUILD_32_BITS.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59568 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
4b442836fcb77e6d6b731a6d6bb3f31b36bc8870 19-Nov-2008 Oscar Fuentes <ofv@wanadoo.es> CMake: Option for enabling/disabling threads.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59565 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
7f6f21ebaec41354c20b241483adc45def794db4 15-Nov-2008 Oscar Fuentes <ofv@wanadoo.es> CMake: Forces linking of the rest of architecture targets and its
respective asm printers on MSVC.

Based on a patch by Scott Graham.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59379 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
232ed2d3733b497f3a1b7a392eb0c9e60cfed228 15-Nov-2008 Oscar Fuentes <ofv@wanadoo.es> CMake: Removed some cruft.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59376 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
422fcf3837e43c430b39d440efbbe369b1aea053 15-Nov-2008 Oscar Fuentes <ofv@wanadoo.es> CMake: Moved generation of Intrinsics.gen to
include/llvm/CMakeLists.txt. Does it with the `tablegen' cmake macro.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59342 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
cccecb8ea2a314f22d9081e339e74a1779ef684c 14-Nov-2008 Oscar Fuentes <ofv@wanadoo.es> CMake: Use LLVM_MAIN_SRC_DIR instead of CMAKE_SOURCE_DIR, for
consistency.

Patch by Kevin Andre!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59326 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
6326a0d5090110c334a3a554bfb10b37a6fe4709 14-Nov-2008 Oscar Fuentes <ofv@wanadoo.es> CMake: Disallow in-source builds except when building with the Visual
Studio IDE. CMake would overwrite the makefiles distributed with LLVM.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59292 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
41bdedf17a512d47c060479f65ce996c54c93ffe 10-Nov-2008 Oscar Fuentes <ofv@wanadoo.es> CMake: Builds a native tblgen when cross-compiling and the user didn't
set LLVM_TABLEGEN.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58953 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
4f21c1358d17a0092f5980a20de74fac0dbd2693 10-Nov-2008 Oscar Fuentes <ofv@wanadoo.es> CMake: Implement magic word `all' for selecting all targets. Check
that specified targets are known.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58951 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
02516ba8b4c1c77b81370f8bd712daadb44cd14a 10-Nov-2008 Oscar Fuentes <ofv@wanadoo.es> CMake: Non-working code for auto-building the native tblgen util when
cross-compiling.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58950 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
3ab40ca3d507ec9d212a3ba498e0d6837634a5ad 09-Nov-2008 Oscar Fuentes <ofv@wanadoo.es> CMake: Support for cross-compiling. For now, requires a previously
built native tblgen which is passed to cmake in the variable
LLVM_TABLEGEN.

See

http://www.cmake.org/Wiki/CmakeMingw

for a quick example on how to cross-compile with CMake.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58939 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
9380c05f2d992aa65352058e798068349854b6fe 07-Nov-2008 Richard Osborne <richard@xmos.com> Add XCore backend to CMake build.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58843 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
b0c56992ceca735fd77181c114ee250df354a255 04-Nov-2008 Oscar Fuentes <ofv@wanadoo.es> CMake: Support for building 32 bit mode libs and binaries on
Linux/x86-64.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58677 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
1d083f408bed5f1b27310dc98a6f47025a88571d 30-Oct-2008 Cedric Venet <cedric.venet@laposte.net> Change the name of the generated solution file for a CMake build. (from 'project' to 'LLVM').
!!!!!!!!!! Warning !!!!!!!!!!!!!!!
If you already have created a solution with cmake, you will need to manually open to the new one.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58461 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
0a48698cbc5722b1b3534c68e9bf19c155a7673c 30-Oct-2008 Oscar Fuentes <ofv@wanadoo.es> CMake: Reverted some unintentional changes on the previous commit.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58435 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
4fd38b8d583fb9742167b41e2fb8aad5d4be8996 30-Oct-2008 Oscar Fuentes <ofv@wanadoo.es> CMake: Cygwin pretends to be Unix.
Patch by Jay Foad.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58434 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
980e842153e868fc0c5c261311d965d00271ca5d 29-Oct-2008 Oscar Fuentes <ofv@wanadoo.es> CMake: Removed some cruft.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58358 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
619ce78b213121c6841d78cfeb55d0d07764622a 26-Oct-2008 Oscar Fuentes <ofv@wanadoo.es> CMake: Removed unnecessary macro definitions. They are defined in
config.h


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58177 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
f7e73b98d23151949b39401a69078a443894a17b 25-Oct-2008 Oscar Fuentes <ofv@wanadoo.es> CMake: Directed bug reports to llvmbugs.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58134 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
de98db33fb10a13ead2fa56d6d4c944cedb8fbad 25-Oct-2008 Oscar Fuentes <ofv@wanadoo.es> CMake: MSVC++ no longer uses a special configuration method.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58132 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
1dc9716121ed3da5ffae3eb25031469620f275e8 22-Oct-2008 Oscar Fuentes <ofv@wanadoo.es> CMake: `make install' for libraries, executables and header files.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57945 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
63f97201dc9dcebbe84d1b73113166c64212b4b8 17-Oct-2008 Dan Gohman <gohman@apple.com> Fun x86 encoding tricks: when adding an immediate value of 128,
use a SUB instruction instead of an ADD, because -128 can be
encoded in an 8-bit signed immediate field, while +128 can't be.
This avoids the need for a 32-bit immediate field in this case.

A similar optimization applies to 64-bit adds with 0x80000000,
with the 32-bit signed immediate field.

To support this, teach tablegen how to handle 64-bit constants.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57663 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
e1ad087fcbb51ed66e450d010f849b5792b4b6fc 26-Sep-2008 Oscar Fuentes <ofv@wanadoo.es> CMake: Builds all targets.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56641 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
a789af239ca97bf23a268101f9f6e89d3f164647 24-Sep-2008 Oscar Fuentes <ofv@wanadoo.es> CMake: Disabled some warnings for MSVC.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56565 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
1d8e4cfdb71d7055561a130a5844c5d093aa5ee8 22-Sep-2008 Oscar Fuentes <ofv@wanadoo.es> CMake build system: support for parallel builds.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56453 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt
3d01fc7de86c75926e4e5ac7cc49f0116018893d 22-Sep-2008 Oscar Fuentes <ofv@wanadoo.es> Initial support for the CMake build system.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56419 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/CMakeLists.txt