summaryrefslogtreecommitdiff
path: root/cmake/config-ix.cmake
AgeCommit message (Collapse)AuthorFilesLines
2010-10-07CMake: Fix warning in gtest.Michael J. Spencer1-0/+2
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115935 91177308-0d34-0410-b5e6-96231b3b80d8
2010-09-24Fix whitespace.Michael J. Spencer1-3/+3
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114724 91177308-0d34-0410-b5e6-96231b3b80d8
2010-09-17cmake: test for the presence of fenv.hOscar Fuentes1-0/+1
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114205 91177308-0d34-0410-b5e6-96231b3b80d8
2010-09-03Fix cmake build without native target selected.Oscar Fuentes1-3/+3
The cmake (+ MSVC) build is broken if you don't select your native target. e.g. 'cmake -D LLVM_TARGETS_TO_BUILD="MyNonNativeTarget" .' This is because cmake currently sets the LLVM_NATIVE_* definitions regardless of whether the native target is selected (causing build errors). Patch by Mike Gist! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112946 91177308-0d34-0410-b5e6-96231b3b80d8
2010-08-30Fix LLVM target initialization to deal with sociopathic outside projectsEric Christopher1-1/+3
that like to randomly define things like "X86", regenerate autoconf bits and update cmake. Fixes PR7852. Patch by Xerxes Rånby! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112499 91177308-0d34-0410-b5e6-96231b3b80d8
2010-08-08CMake: set configure macro LLVM_PREFIXOscar Fuentes1-0/+2
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110536 91177308-0d34-0410-b5e6-96231b3b80d8
2010-08-08CMake: configure header llvm-config.hOscar Fuentes1-0/+5
This is the cmake equivalent of r110532, which fixed bug #7809. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110535 91177308-0d34-0410-b5e6-96231b3b80d8
2010-08-03build: Add LLVM_NATIVE_ARCHNAME, which has the sensible value, without "Target"Daniel Dunbar1-0/+1
appended. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110109 91177308-0d34-0410-b5e6-96231b3b80d8
2010-06-23Don't link against libm and libpthread which don't exist in BeOS/Haiku. Also,Nick Lewycky1-1/+1
Haiku like Linux provides <regex.h>, so use it. Patch by Paul Davey! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106620 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-15Tell Valgrind when we modify already-executed machine code so it knowsJeffrey Yasskin1-0/+1
to re-instrument the code. We depend on the system valgrind.h to avoid adding a new license. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98529 91177308-0d34-0410-b5e6-96231b3b80d8
2009-11-12CMake: Pass -lm to check_symbol_exists for detecting several mathOscar Fuentes1-0/+6
functions like floorf, ceilf, ... Add test for detecting nearbyintf. This change was prompted by test/Transforms/SimplifyLibCalls/floor.ll git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86954 91177308-0d34-0410-b5e6-96231b3b80d8
2009-11-10CMake: Remove unnecessary `unset' which was not supported by old cmakeOscar Fuentes1-1/+0
releases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86644 91177308-0d34-0410-b5e6-96231b3b80d8
2009-11-09CMake: Detect gv, circo, twopi, neato, fdo, dot and dotty.Oscar Fuentes1-7/+20
Patch by Arnaud Allard de Grandmaison! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86547 91177308-0d34-0410-b5e6-96231b3b80d8
2009-11-07Fix CMake reporting of target triple.Daniel Dunbar1-1/+0
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86419 91177308-0d34-0410-b5e6-96231b3b80d8
2009-11-07Stop running get_target_triple more than we need to.Daniel Dunbar1-0/+3
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86418 91177308-0d34-0410-b5e6-96231b3b80d8
2009-11-05CMake: Detect dotty.Oscar Fuentes1-0/+9
Patch by Arnaud Allard de Grandmaison! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86153 91177308-0d34-0410-b5e6-96231b3b80d8
2009-11-05CMake: do not test for pthread and dl libraries on Windows (exceptOscar Fuentes1-6/+12
Cygwin). Fixes PR 5368. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86152 91177308-0d34-0410-b5e6-96231b3b80d8
2009-10-28Teach cmake that mk[sd]temp is defined in stdlib.h on some systems.Benjamin Kramer1-3/+3
This fixes parallel build with clang on glibc platforms. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85414 91177308-0d34-0410-b5e6-96231b3b80d8
2009-10-26Move DataTypes.h to include/llvm/System, update all users. This breaks the lastChandler Carruth1-2/+2
direct inclusion edge from System to Support. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85086 91177308-0d34-0410-b5e6-96231b3b80d8
2009-10-12Fix LLVM CMake build system so that it may now work on Solaris and AuroraUX.Edward O'Callaghan1-0/+1
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83819 91177308-0d34-0410-b5e6-96231b3b80d8
2009-10-05CMake misses a check for sbrk on NetBSD.Edward O'Callaghan1-0/+1
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83341 91177308-0d34-0410-b5e6-96231b3b80d8
2009-10-01Teach CMake to look for bidirectional_iterator, iterator, forward_iterator, ↵Douglas Gregor1-4/+44
uint64_t, and u_int64_t, from Yonggang Luo git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83203 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-25Fix a compile failure introduced by r82675 on MinGW which doesn't haveJeffrey Yasskin1-0/+1
setenv(). This patch just disables the test rather than getting putenv() to work. Thanks to Sandeep Patel for reporting the problem. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82797 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-13CMake: New user-settable variable LLVM_TARGET_ARCH useful whenOscar Fuentes1-4/+9
cross-compiling. Patch by Xerxes Rånby! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81722 91177308-0d34-0410-b5e6-96231b3b80d8
2009-08-27re-apply r80197, now that iterator.h is not mentioned any moreGabor Greif1-5/+0
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80254 91177308-0d34-0410-b5e6-96231b3b80d8
2009-08-27--- Reverse-merging r80147 into '.':Bill Wendling1-0/+5
A include/llvm/ADT/iterator.cmake U autoconf/configure.ac --- Reverse-merging r80161 into '.': U cmake/config-ix.cmake --- Reverse-merging r80171 into '.': U Makefile --- Reverse-merging r80173 into '.': U configure U include/llvm/Config/config.h.in --- Reverse-merging r80180 into '.': A include/llvm/ADT/iterator.h.in Despite common miscomceptions, iterator.h is alive and well. It broke the build bots for several hours. And yet no one bothered to look at them. Gabor and Doug, please review your changes and make sure that they actually build before resubmitting them. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80197 91177308-0d34-0410-b5e6-96231b3b80d8
2009-08-26De-bork CMake buildDouglas Gregor1-5/+0
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80161 91177308-0d34-0410-b5e6-96231b3b80d8
2009-08-26Ignore -fPIC test on Windows. Suggested by Yonggang Luo.Oscar Fuentes1-1/+5
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80111 91177308-0d34-0410-b5e6-96231b3b80d8
2009-08-24Remove alloca config.h support.Daniel Dunbar1-2/+0
- I did not actually remove the configure test itself, someone who can regenerate configure should do this (see FIXME in autoconf/configure.ac) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79881 91177308-0d34-0410-b5e6-96231b3b80d8
2009-07-27CMake configuration: find mkdtemp, mkstemp, mktemp.Douglas Gregor1-0/+3
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77219 91177308-0d34-0410-b5e6-96231b3b80d8
2009-07-24Remove the IA-64 backend.Dan Gohman1-2/+0
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76920 91177308-0d34-0410-b5e6-96231b3b80d8
2009-07-17Implement cmake LLVM_MULTITHREADED gcc atomic builtin checks.Xerxes Ranby1-0/+3
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76221 91177308-0d34-0410-b5e6-96231b3b80d8
2009-07-01Add a portable strerror*() wrapper, llvm::sys::StrError(). This includes theJeffrey Yasskin1-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
2009-06-29Fix CMake checks for pthread_getspecific and pthread_rwlock_init, from ↵Douglas Gregor1-2/+2
Xerxes Ranby git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74426 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-26CMake: add configure checks for pthread_rwlock_init and pthread_getspecificDouglas Gregor1-0/+2
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74284 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-17Define LLVM_NATIVE_ARCH in CMake, so that lli can actually JITDouglas Gregor1-0/+44
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73616 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-05More portability checks for CMake's config.h.Douglas Gregor1-0/+3
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72975 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-04Properly detect malloc_zone_statistics in CMake build systemDouglas Gregor1-0/+2
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72873 91177308-0d34-0410-b5e6-96231b3b80d8
2009-05-23CMake: Use libdl only when available. Fixes build on FreeBSD.Oscar Fuentes1-0/+1
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72311 91177308-0d34-0410-b5e6-96231b3b80d8
2009-05-18termios.h contains the winsize structure we need to determine theDouglas Gregor1-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
2009-05-11Add terminal width detection to llvm::sys::Process. This is needed toDouglas Gregor1-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
2009-05-06CMake: Detects libpthread and sets HAVE_LIBPTHREAD.Oscar Fuentes1-0/+4
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71084 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-04CMake: defines and uses macro add_llvm_definitions for keeping trackOscar Fuentes1-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
2009-03-09Remove configurey-fu to autodetect hash_map and hash_set now that they areNick Lewycky1-17/+0
no longer used in LLVM. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66406 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-14Add mode_t to the config.h generated by cmake on win32. Used by clang.Cedric Venet1-0/+1
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64555 91177308-0d34-0410-b5e6-96231b3b80d8
2008-11-20CMake: when building shared libraries, use -fPIC for compilingOscar Fuentes1-0/+3
partially linked objects. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59699 91177308-0d34-0410-b5e6-96231b3b80d8
2008-11-18CMake: Option for enabling/disabling threads.Oscar Fuentes1-2/+11
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59565 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-29CMake: Removed some cruft.Oscar Fuentes1-6/+6
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58358 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-26CMake: GetTargetTriple: new module for determining the targetOscar Fuentes1-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
2008-10-25CMake: MSVC++ no longer uses a special configuration method.Oscar Fuentes1-5/+30
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58132 91177308-0d34-0410-b5e6-96231b3b80d8