summaryrefslogtreecommitdiff
path: root/cmake
Commit message (Collapse)AuthorAge
* CMake: Don't use copy_if_different for TableGen output, because it does not ↵Douglas Gregor2009-08-22
| | | | | | work with IDE targets git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79732 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix cmake build on non-x86 targets. Patch byDuncan Sands2009-08-19
| | | | | | | Xerxes Rånby. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79419 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Updated library dependencies.Oscar Fuentes2009-08-17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79223 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: LLVMConfig assigns LLVMX86 to the `native' componentOscar Fuentes2009-08-17
| | | | | | | name. Updated LLVM_LINK_COMPONENTS of Kaleidoscope. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79219 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Discriminate MINGW, MSYS, CYGWIN: does not try to build llvm-config ↵Oscar Fuentes2009-08-16
| | | | | | under mingw without msys. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79202 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix the MSVC build again.Benjamin Kramer2009-08-16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79186 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Hopefully this will fix the build on VS. I can't replicate theOscar Fuentes2009-08-16
| | | | | | | | | | | | | 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
* CMake: Revert r79144. It reverted a change necessary for correctOscar Fuentes2009-08-16
| | | | | | | parallel builds. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79177 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert 78996. It was breaking MSVC builds.Benjamin Kramer2009-08-15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79144 91177308-0d34-0410-b5e6-96231b3b80d8
* Move XCore AsmPrinter to XCore/AsmPrinter directory.Richard Osborne2009-08-15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79094 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Updated library dependence info.Oscar Fuentes2009-08-14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79038 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Automatic regeneration of the library dependencies file.Oscar Fuentes2009-08-14
| | | | | | | | | | | | It doesn't stop or reconfigure the build, though, so the user will see a broken build that magically succeeds at the next attempt. It is technically possible to halt the build with a helpful message, and even to automatically restart the build using the new dependencies as it we did when llvm-config was used by cmake for learning dependencies. This is left on the TODO list. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79004 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Builds main LLVM Target library before its sublibraries. ThisOscar Fuentes2009-08-14
| | | | | | | | 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
* CMake: Use LLVM_COMMON_DEPENDS on add_llvm_executable.Oscar Fuentes2009-08-14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78990 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: updated library dependencies.Oscar Fuentes2009-08-14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78976 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Fixed sed script for translating library dependencies fromOscar Fuentes2009-08-12
| | | | | | | LibDeps.txt format to LLVMLibDeps.cmake format. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78789 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Localized dependency on Perl.Oscar Fuentes2009-08-12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78788 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Rely on llvm_config again for obtaining the list of requiredOscar Fuentes2009-08-12
| | | | | | | | | | | libraries for an executable. Now LLVMConfig uses a new system for sorting library dependencies, as the list of dependent libraries for each entry of FinalLibDeps.txt no longer is topologically sorted. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78787 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: updated library dependencies.Oscar Fuentes2009-08-12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78786 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: cmake/modules/LLVMLibDeps.cmake: Use unix line endings.Oscar Fuentes2009-08-12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78785 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Moved hard-coded library dependencies to its own file.Oscar Fuentes2009-08-12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78784 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: target triple for MSVC on Windows 64.Oscar Fuentes2009-08-12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78753 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake configuration: find mkdtemp, mkstemp, mktemp.Douglas Gregor2009-07-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77219 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove the IA-64 backend.Dan Gohman2009-07-24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76920 91177308-0d34-0410-b5e6-96231b3b80d8
* Sketch support for target specific assembly parser.Daniel Dunbar2009-07-17
| | | | | | | - 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
* Implement cmake LLVM_MULTITHREADED gcc atomic builtin checks.Xerxes Ranby2009-07-17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76221 91177308-0d34-0410-b5e6-96231b3b80d8
* Regerate CMake library dependencies.Daniel Dunbar2009-07-16
| | | | | | | - Added a sed script to do this in the comments. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75872 91177308-0d34-0410-b5e6-96231b3b80d8
* Kill off cmake magic to force linking.Daniel Dunbar2009-07-16
| | | | | | | | - 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
* Tweak CMake component lookup, I misunderstood what was happening here.though. :(Daniel Dunbar2009-07-15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75757 91177308-0d34-0410-b5e6-96231b3b80d8
* Teach Makefiles & CMake to link in the <TARGET>Info library when linking theDaniel Dunbar2009-07-15
| | | | | | | | | TARGET component. - Also, updated some CMake library dependencies, it is still missing some though. :( git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75755 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: tablegen: Add .td files under the inlude/llvm directoryOscar Fuentes2009-07-13
| | | | | | | hierarchy to the list of dependencies. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75510 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a portable strerror*() wrapper, llvm::sys::StrError(). This includes theJeffrey Yasskin2009-07-01
| | | | | | | | | Windows variant, strerror_s, but I couldn't test that. I'll update configure and config.h.in in a subsequent patch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74621 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix CMake checks for pthread_getspecific and pthread_rwlock_init, from ↵Douglas Gregor2009-06-29
| | | | | | Xerxes Ranby git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74426 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: add configure checks for pthread_rwlock_init and pthread_getspecificDouglas Gregor2009-06-26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74284 91177308-0d34-0410-b5e6-96231b3b80d8
* Add missing dependencies to the CMake build system.Douglas Gregor2009-06-25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74161 91177308-0d34-0410-b5e6-96231b3b80d8
* Reinstate target dependencies on Table_gen targets in CMakeDouglas Gregor2009-06-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74003 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: remove support for llvm-config-generated dependencies in the buildDouglas Gregor2009-06-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73979 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminate some unused code in CMa'e add_llvm_target. No functionality change.Douglas Gregor2009-06-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73970 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminate object-relinking support from CMake. Fixes PR 4429 andDouglas Gregor2009-06-23
| | | | | | | | 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
* Define LLVM_NATIVE_ARCH in CMake, so that lli can actually JITDouglas Gregor2009-06-17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73616 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: New variable LLVM_LIBDIR_SUFFIX.Oscar Fuentes2009-06-12
| | | | | | | Patch by Ingmar Vanhassel! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73216 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Fixed parallel build problem related to native tblgen whenOscar Fuentes2009-06-11
| | | | | | | cross-compiling. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73180 91177308-0d34-0410-b5e6-96231b3b80d8
* More portability checks for CMake's config.h.Douglas Gregor2009-06-05
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72975 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Use explicit dependencies for Xcode (as well as MSVC), to makeDouglas Gregor2009-06-04
| | | | | | | the CMake-generated Xcode project build properly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72883 91177308-0d34-0410-b5e6-96231b3b80d8
* Properly detect malloc_zone_statistics in CMake build systemDouglas Gregor2009-06-04
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72873 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Set LIBS on llvm-config so we can query the system librariesOscar Fuentes2009-05-27
| | | | | | | used by CMake with --ldflags. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72470 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Use libdl only when available. Fixes build on FreeBSD.Oscar Fuentes2009-05-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72311 91177308-0d34-0410-b5e6-96231b3b80d8
* termios.h contains the winsize structure we need to determine theDouglas Gregor2009-05-18
| | | | | | | | width of a terminal. Don't try to get the width of a terminal if we don't have this header. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72018 91177308-0d34-0410-b5e6-96231b3b80d8
* Add terminal width detection to llvm::sys::Process. This is needed toDouglas Gregor2009-05-11
| | | | | | | fix Clang PRs 4148 and 4183. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71448 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Use pthread library when requested and available.Oscar Fuentes2009-05-06
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71116 91177308-0d34-0410-b5e6-96231b3b80d8