summaryrefslogtreecommitdiff
path: root/cmake
Commit message (Collapse)AuthorAge
* 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
* CMake: Detects libpthread and sets HAVE_LIBPTHREAD.Oscar Fuentes2009-05-06
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71084 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Added notes pointing to the LLVM CMake documentation.Oscar Fuentes2009-04-04
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68429 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: defines and uses macro add_llvm_definitions for keeping trackOscar Fuentes2009-04-04
| | | | | | | | | | | | | 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
* CMake: Build system fixes for XCode. llvm-config still causes us some ↵Douglas Gregor2009-03-16
| | | | | | serious trouble, but it's less serious than it used to be git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67056 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Make sure to build TableGen'd files in the binary directoryDouglas Gregor2009-03-16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67052 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove configurey-fu to autodetect hash_map and hash_set now that they areNick Lewycky2009-03-09
| | | | | | | no longer used in LLVM. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66406 91177308-0d34-0410-b5e6-96231b3b80d8
* Add mode_t to the config.h generated by cmake on win32. Used by clang.Cedric Venet2009-02-14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64555 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Tests PERL availability with PERL_EXECUTABLE variable.Oscar Fuentes2009-01-22
| | | | | | | | On MSVC 64bits, does not put underscore before the symbol name on the /INCLUDE linker parameter. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62738 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: replace `rm' with portable invocations of cmake.Oscar Fuentes2009-01-07
| | | | | | | Based on a bug report by Yonggang Luo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61875 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a link issue I ran into trying compiling LLVM on MinGW with CMake. Eli Friedman2008-11-30
| | | | | | | | | Hopefully this doesn't break anyone else's build... it shouldn't unless the MinGW variable means something other than compiling with MinGW. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60273 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Do not rebuild the world when tblgen changes but the .inc filesOscar Fuentes2008-11-21
| | | | | | | it produces are not affected by the change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59763 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: when building shared libraries, use -fPIC for compilingOscar Fuentes2008-11-20
| | | | | | | partially linked objects. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59699 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Option for enabling/disabling threads.Oscar Fuentes2008-11-18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59565 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: MSVC: Pass list of components the right way to msvc_llvm_configOscar Fuentes2008-11-16
| | | | | | | | and siblings. Support targets whose name does not end on `CodeGen'. Remove a performance bottleneck. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59383 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Forces linking of the rest of architecture targets and itsOscar Fuentes2008-11-15
| | | | | | | | | 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
* CMake: Adds header and TableGen files to Visual Studio solution. A newOscar Fuentes2008-11-15
| | | | | | | | dummy library, `llvm_headers_do_not_build', is created for containing all header and TableGen files under include/llvm. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59346 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Use LLVM_MAIN_SRC_DIR instead of CMAKE_SOURCE_DIR, forOscar Fuentes2008-11-14
| | | | | | | | | consistency. Patch by Kevin Andre! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59326 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Fixed dependencies of .cpp source files on .td and tablegennedOscar Fuentes2008-11-14
| | | | | | | files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59325 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Updated library dependency info used for MSVC++.Oscar Fuentes2008-11-11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59079 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Removed unnecessary library path setting that was breaking theOscar Fuentes2008-11-11
| | | | | | | | | build on OS X. Fix by Jjgod Jiang! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59048 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Fixed cross-compiling.Oscar Fuentes2008-11-10
| | | | | | | | `clean' makefile target removes add-hoc directory created for building the native tablegen. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59005 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Builds a native tblgen when cross-compiling and the user didn'tOscar Fuentes2008-11-10
| | | | | | | set LLVM_TABLEGEN. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58953 91177308-0d34-0410-b5e6-96231b3b80d8