aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/config-ix.cmake
Commit message (Collapse)AuthorAgeFilesLines
* Add a portable strerror*() wrapper, llvm::sys::StrError(). This includes theJeffrey Yasskin2009-07-011-0/+3
| | | | | | | | | 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-291-2/+2
| | | | | | 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-261-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74284 91177308-0d34-0410-b5e6-96231b3b80d8
* Define LLVM_NATIVE_ARCH in CMake, so that lli can actually JITDouglas Gregor2009-06-171-0/+44
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73616 91177308-0d34-0410-b5e6-96231b3b80d8
* More portability checks for CMake's config.h.Douglas Gregor2009-06-051-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72975 91177308-0d34-0410-b5e6-96231b3b80d8
* Properly detect malloc_zone_statistics in CMake build systemDouglas Gregor2009-06-041-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72873 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Use libdl only when available. Fixes build on FreeBSD.Oscar Fuentes2009-05-231-0/+1
| | | | 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-181-0/+1
| | | | | | | | 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-111-0/+3
| | | | | | | fix Clang PRs 4148 and 4183. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71448 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Detects libpthread and sets HAVE_LIBPTHREAD.Oscar Fuentes2009-05-061-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71084 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: defines and uses macro add_llvm_definitions for keeping trackOscar Fuentes2009-04-041-0/+5
| | | | | | | | | | | | | 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
* Remove configurey-fu to autodetect hash_map and hash_set now that they areNick Lewycky2009-03-091-17/+0
| | | | | | | 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-141-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64555 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: when building shared libraries, use -fPIC for compilingOscar Fuentes2008-11-201-0/+3
| | | | | | | 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-181-2/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59565 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Removed some cruft.Oscar Fuentes2008-10-291-6/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58358 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: GetTargetTriple: new module for determining the targetOscar Fuentes2008-10-261-0/+4
| | | | | | | triple. Assign to LLVM_HOSTTRIPLE so it figures in config.h. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58176 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: MSVC++ no longer uses a special configuration method.Oscar Fuentes2008-10-251-5/+30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58132 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial support for the CMake build system.Oscar Fuentes2008-09-221-0/+93
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56419 91177308-0d34-0410-b5e6-96231b3b80d8