Oscar Fuentes
e985061bd1
Handle InstPrinter's on the CMake build.
...
llvm-svn: 115402
2010-10-02 02:38:42 +00:00
Nick Lewycky
7103df7a51
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
llvm-svn: 115393
2010-10-02 01:06:42 +00:00
Jim Grosbach
469a7a27d9
Update CMake files for recent AsmPrinter->InstPrinter changes. Can someone who
...
is more familiar with CMake please review?
llvm-svn: 115391
2010-10-02 00:39:56 +00:00
Oscar Fuentes
748691cf20
Added library LLVMPIC16passes to CMake build.
...
llvm-svn: 114952
2010-09-28 14:02:45 +00:00
Oscar Fuentes
3c58c66484
Added PTX target to the CMake build.
...
llvm-svn: 114951
2010-09-28 14:02:36 +00:00
Oscar Fuentes
9297448bed
New cmake options LLVM_INCLUDE_X (X = {TOOLS, EXAMPLES, TESTS}) for
...
not generating build targets for those parts of the build.
llvm-svn: 114797
2010-09-25 20:43:06 +00:00
Oscar Fuentes
40caeda472
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)
llvm-svn: 114795
2010-09-25 20:25:25 +00:00
Michael J. Spencer
3302cf4ac1
CMake: Don't include tools, unittets, or examples as available targets
...
unless LLVM_INCLUDE_X is ON. LLVM_BUILD_X implies LLVM_INCLUDE_X
llvm-svn: 114747
2010-09-24 19:10:51 +00:00
Michael J. Spencer
090c16fb92
CMake: Build unittests.
...
llvm-svn: 114725
2010-09-24 09:01:13 +00:00
Douglas Gregor
51d3d883cb
Bump LLVM in CMake makefiles to 2.9
...
llvm-svn: 114640
2010-09-23 14:19:21 +00:00
Michael J. Spencer
90f807fda5
Revert "CMake: Get rid of LLVMLibDeps.cmake and export the libraries normally."
...
This reverts commit r113632
Conflicts:
cmake/modules/AddLLVM.cmake
llvm-svn: 113819
2010-09-13 23:59:48 +00:00
Michael J. Spencer
af30c48d99
CMake: Add llvm-lit to CMake build.
...
llvm-svn: 113762
2010-09-13 17:52:38 +00:00
Michael J. Spencer
60e98e663a
CMake: Fix mingw32 build.
...
llvm-svn: 113676
2010-09-11 02:13:39 +00:00
Michael J. Spencer
98ad3f2ea7
CMake: Get rid of LLVMLibDeps.cmake and export the libraries normally.
...
llvm-svn: 113632
2010-09-10 21:14:25 +00:00
Chandler Carruth
eddd738031
Attempt to remove the MSIL backend from CMake as well based on Chris's r112375.
...
llvm-svn: 112464
2010-08-30 07:25:54 +00:00
Oscar Fuentes
d45ea50baa
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.
llvm-svn: 110560
2010-08-09 03:26:43 +00:00
Oscar Fuentes
86529ccfff
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.
llvm-svn: 110296
2010-08-05 01:25:48 +00:00
Oscar Fuentes
059ece6905
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.
llvm-svn: 110121
2010-08-03 17:28:09 +00:00
Oscar Fuentes
f7877443fa
Bump cmake_minimum_required to version 2.8
...
llvm-svn: 110110
2010-08-03 15:07:17 +00:00
Oscar Fuentes
385fb0166a
Lets the CMake GUI show a list of possible values for LLVM_USE_CRT
...
Patch by nobled!
llvm-svn: 110057
2010-08-02 19:00:34 +00:00
Chris Lattner
1ac58ea0f3
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.
llvm-svn: 108869
2010-07-20 18:25:19 +00:00
Daniel Dunbar
20281ec272
Fix LLVM CMake PACKAGE_VERSION variable.
...
llvm-svn: 106861
2010-06-25 16:29:14 +00:00
Oscar Fuentes
294c226be4
CMake: Add options for using static runtime on MSVC++ build.
...
Patch by Victor Zverovich!
llvm-svn: 98821
2010-03-18 13:52:05 +00:00
Wesley Peck
299e815510
Adding MBlaze to cmake target list.
...
llvm-svn: 97806
2010-03-05 15:15:55 +00:00
Daniel Dunbar
ccf1e38020
CMake: Add MCParser directory.
...
llvm-svn: 94135
2010-01-22 02:04:33 +00:00
Douglas Gregor
57be824b19
Fix CMake build for InstCombine changes
...
llvm-svn: 92519
2010-01-04 21:58:55 +00:00
Daniel Dunbar
d7bfe3a398
Don't default warnings to ON on MSVC, the spew is enough to triple the build time. :/
...
llvm-svn: 90251
2009-12-01 19:11:36 +00:00
Tobias Grosser
840de36ec2
Fix copy paste bug
...
llvm-svn: 90220
2009-12-01 08:43:33 +00:00
Oscar Fuentes
d34503f4a0
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!
llvm-svn: 90188
2009-12-01 02:21:51 +00:00
Oscar Fuentes
804fe4f685
* CMakeLists.txt: Adds warnings flags for g++. Fixes PR 5647.
...
llvm-svn: 90170
2009-11-30 23:50:14 +00:00
Daniel Dunbar
b3a0b9b025
Add CMake and configure logic to create llvm/Config/Disassemblers.defs.
...
llvm-svn: 89839
2009-11-25 04:30:13 +00:00
Oscar Fuentes
6cbe196ddc
CMake: generate targets for tools and examples even when
...
LLVM_BUILD_TOOLS or LLVM_BUILD_EXAMPLES are OFF.
llvm-svn: 89635
2009-11-23 00:21:43 +00:00
Daniel Dunbar
8b7b923ac6
Turn LLVM_BUILD_EXAMPLES off by default in CMake builds, to match Makefiles &
...
Clang.
llvm-svn: 89211
2009-11-18 17:42:22 +00:00
Oscar Fuentes
c15d72f14b
CMake: Hopefully unbreak the build by mimicking the changes on the
...
other build system about the new C_INCLUDE_DIRS configure option.
llvm-svn: 86960
2009-11-12 06:48:09 +00:00
Daniel Dunbar
c41ee3a43d
Prevent warning spew about -fPIC when using CMake generated Xcode project files.
...
llvm-svn: 86427
2009-11-08 00:34:22 +00:00
Oscar Fuentes
8072b6dafe
CMake: install .def files from source `include/llvm' directory.
...
llvm-svn: 85587
2009-10-30 11:42:08 +00:00
Oscar Fuentes
5e0b3e4973
CMake: Install .inc files too.
...
llvm-svn: 85285
2009-10-27 20:04:22 +00:00
Oscar Fuentes
9f52db1419
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!
llvm-svn: 85282
2009-10-27 19:57:29 +00:00
Edward O'Callaghan
af49208035
Fix LLVM CMake build system so that it may now work on Solaris and AuroraUX.
...
llvm-svn: 83819
2009-10-12 04:00:11 +00:00
Chris Lattner
1aa661ce46
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").
llvm-svn: 83288
2009-10-05 02:29:51 +00:00
Daniel Dunbar
15437d0bd2
Add count/not tools as executables.
...
- Apparently, I'm willing to do incredibly stupid things in the name of portability.
llvm-svn: 82685
2009-09-24 06:23:57 +00:00
Daniel Dunbar
5b14b53729
Initial support for running LLVM tests from cmake.
...
llvm-svn: 82534
2009-09-22 07:38:44 +00:00
Daniel Dunbar
076bf0d011
CMake: Fix definition of LTDL_SHLIB_EXT for Darwin.
...
llvm-svn: 82530
2009-09-22 06:09:37 +00:00
Oscar Fuentes
8edea46b44
CMake: New user-settable variable LLVM_TARGET_ARCH useful when
...
cross-compiling.
Patch by Xerxes Rånby!
llvm-svn: 81722
2009-09-13 22:18:38 +00:00
Gabor Greif
c243e77bde
revert r78628 and r78803 as these are not needed any more
...
llvm-svn: 80048
2009-08-25 23:02:21 +00:00
Douglas Gregor
5125b4bacd
TOT is 2.7svn for CMake, too
...
llvm-svn: 79730
2009-08-22 06:30:31 +00:00
Oscar Fuentes
896c999947
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.
llvm-svn: 79339
2009-08-18 15:29:35 +00:00
Oscar Fuentes
5c90c2282e
CMake: Removed traces of obsolete variable LLVM_PLO_FLAGS.
...
llvm-svn: 79204
2009-08-16 21:01:16 +00:00
Oscar Fuentes
3ccb434b2f
CMake: New option LLVM_BUILD_TOOLS. Renamed LLVM_EXAMPLES to
...
LLVM_BUILD_EXAMPLES and set default to true. Documented.
llvm-svn: 79203
2009-08-16 20:56:30 +00:00
Oscar Fuentes
3e0998e270
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.
llvm-svn: 79180
2009-08-16 07:44:02 +00:00