aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Config
Commit message (Collapse)AuthorAgeFilesLines
* Handles libffi on the CMake build.Oscar Fuentes2011-01-211-3/+3
| | | | | | Patch by arrowdodger! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123976 91177308-0d34-0410-b5e6-96231b3b80d8
* Add some platform checks. Also fix a typo on a Makefile.Oscar Fuentes2011-01-171-11/+11
| | | | | | Patch by arrowdodger! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123659 91177308-0d34-0410-b5e6-96231b3b80d8
* Make config.h.cmake similar to config.h.inOscar Fuentes2011-01-151-65/+89
| | | | | | Patch by arrowdodger! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123539 91177308-0d34-0410-b5e6-96231b3b80d8
* Reorder macros on config.h.cmake to easily compare it againstOscar Fuentes2011-01-141-54/+77
| | | | | | | | config.h.in. Patch by arrowdodger! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123445 91177308-0d34-0410-b5e6-96231b3b80d8
* Add some platform tests.Oscar Fuentes2011-01-131-7/+7
| | | | | | Patch by arrowdodger! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123388 91177308-0d34-0410-b5e6-96231b3b80d8
* Platform tests for argz_* functions.Oscar Fuentes2011-01-131-5/+5
| | | | | | Patch by arrowdodger! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123376 91177308-0d34-0410-b5e6-96231b3b80d8
* Add to the CMake build some options and platform tests supported byOscar Fuentes2011-01-111-8/+11
| | | | | | | | the traditional build. Patch by arrowdodger! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123233 91177308-0d34-0410-b5e6-96231b3b80d8
* Rewrite handling of LLVM_ENABLE_PIC. It was being processed afterOscar Fuentes2011-01-091-1/+1
| | | | | | | | config.h was generated, so it had no effect on it. Thanks to arrowdodger for pointing out this and a tentative patch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123119 91177308-0d34-0410-b5e6-96231b3b80d8
* Support/FileSystem: Fix MinGW build. It doesn't have _chsize_s.Michael J. Spencer2010-12-031-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120826 91177308-0d34-0410-b5e6-96231b3b80d8
* Apparently OS X 10.4 doesn't have __crashreporter_info__.Eric Christopher2010-12-031-0/+3
| | | | | | | Try to fix building on the wayback machine. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120801 91177308-0d34-0410-b5e6-96231b3b80d8
* Endian: Get rid of LLVM_IS_HOST_BIG_ENDIAN.Michael J. Spencer2010-10-221-3/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117124 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename LLVM_IS_TARGET_BIG_ENDIAN to LLVM_IS_HOST_BIG_ENDIAN to reflect what ↵Michael J. Spencer2010-10-221-1/+1
| | | | | | it actually means. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117092 91177308-0d34-0410-b5e6-96231b3b80d8
* Support: Add Endian.hMichael J. Spencer2010-10-211-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117057 91177308-0d34-0410-b5e6-96231b3b80d8
* First step to allowing the resource directory of Clang to be adjusted forChandler Carruth2010-10-192-0/+6
| | | | | | | | | | | strange packaging environments. The primary result of this is to expose a (normally empty) CLANG_RESOURCE_DIR string in the autoconf and CMake builds. This will in turn be used by a subsequent commit to Clang. Regenerated configure and config.h.in thanks to Nick. =D git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116802 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for viewing graphviz graphs with xdot.py.Dan Gohman2010-09-271-3/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114832 91177308-0d34-0410-b5e6-96231b3b80d8
* Attempt to support platforms which don't have fenv.h.Dan Gohman2010-09-172-0/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114196 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix LLVM target initialization to deal with sociopathic outside projectsEric Christopher2010-08-304-12/+36
| | | | | | | | | | | | 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
* Regenerate.Eric Christopher2010-08-251-6/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112042 91177308-0d34-0410-b5e6-96231b3b80d8
* configure: Add detection of the linker version string.Daniel Dunbar2010-08-111-0/+3
| | | | | | | - Review appreciated, as long as you understand that I understand that this is a horrible hack. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110883 91177308-0d34-0410-b5e6-96231b3b80d8
* Avoid multiple definition warnings when both config.h andOscar Fuentes2010-08-102-0/+12
| | | | | | | | llvm-config.h are included. This is the cmake counterpart of r110547. See bug #7809. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110753 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a bit of a hack to avoid multiple defines of variables inEric Christopher2010-08-082-0/+12
| | | | | | | config.h and llvm-config.h. This could probably be improved. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110547 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: set configure macro LLVM_PREFIXOscar Fuentes2010-08-082-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110536 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: configure header llvm-config.hOscar Fuentes2010-08-081-0/+84
| | | | | | | 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
* Fix PR7809 by creating a header for just llvm variables that can beEric Christopher2010-08-081-0/+84
| | | | | | | included in exported interfaces. Update a couple of exported interfaces. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110532 91177308-0d34-0410-b5e6-96231b3b80d8
* build: Add LLVM_NATIVE_ARCHNAME, which has the sensible value, without "Target"Daniel Dunbar2010-08-032-0/+6
| | | | | | appended. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110109 91177308-0d34-0410-b5e6-96231b3b80d8
* Regenerate.Owen Anderson2010-07-191-0/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108738 91177308-0d34-0410-b5e6-96231b3b80d8
* Pull in the libCrashReporterClient.a information with a warning comment.Eric Christopher2010-06-281-4/+0
| | | | | | | Remove library check and regenerate configure. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107028 91177308-0d34-0410-b5e6-96231b3b80d8
* Look for and use a different darwin crash reporter library.Eric Christopher2010-06-221-0/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106576 91177308-0d34-0410-b5e6-96231b3b80d8
* improve portability to systems that don't have round, patch byChris Lattner2010-05-151-0/+3
| | | | | | | Evzen Muller! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103877 91177308-0d34-0410-b5e6-96231b3b80d8
* Add new configure option, --disable-timestamps, intended to turn off ↵Daniel Dunbar2010-05-101-0/+3
| | | | | | | | | anything which would mess up binary/object comparisons. Currently: - Disables 'Built on ...' in 'foo --version'. - Disables timestamps from being embedded into .dir files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103423 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a check for posix_spawn.Eric Christopher2010-04-161-0/+3
| | | | | | | Regenerate configure and other autoconf files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101444 91177308-0d34-0410-b5e6-96231b3b80d8
* Tell Valgrind when we modify already-executed machine code so it knowsJeffrey Yasskin2010-03-152-0/+6
| | | | | | | | | 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
* Reconfigure with autoconf-2.60, and fix autoconf.ac to work with that version.Jeffrey Yasskin2010-02-031-18/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95191 91177308-0d34-0410-b5e6-96231b3b80d8
* Regenerate configure.Torok Edwin2010-01-261-37/+17
| | | | | | | With the previous cleanup to configure.ac, configure is now only 393k, instead of 1.1M! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94535 91177308-0d34-0410-b5e6-96231b3b80d8
* Add CMake and configure logic to create llvm/Config/Disassemblers.defs.Daniel Dunbar2009-11-251-0/+29
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89839 91177308-0d34-0410-b5e6-96231b3b80d8
* Add configure options for specifying where to look for libstdc++.Rafael Espindola2009-11-162-0/+24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@88943 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Hopefully unbreak the build by mimicking the changes on theOscar Fuentes2009-11-121-0/+3
| | | | | | | other build system about the new C_INCLUDE_DIRS configure option. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86960 91177308-0d34-0410-b5e6-96231b3b80d8
* Add the --with-c-include-dirs to llvm's configure.Rafael Espindola2009-11-121-0/+3
| | | | | | | | The clang patch is next. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86955 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Pass -lm to check_symbol_exists for detecting several mathOscar Fuentes2009-11-121-1/+1
| | | | | | | | | 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
* CMake: Detect gv, circo, twopi, neato, fdo, dot and dotty.Oscar Fuentes2009-11-091-4/+28
| | | | | | | Patch by Arnaud Allard de Grandmaison! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86547 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Detect dotty.Oscar Fuentes2009-11-051-2/+2
| | | | | | | Patch by Arnaud Allard de Grandmaison! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86153 91177308-0d34-0410-b5e6-96231b3b80d8
* Undo pthread patch from rev. 83930 & 83823. Credit to Paul Davey.Edward O'Callaghan2009-10-141-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84083 91177308-0d34-0410-b5e6-96231b3b80d8
* Regenerate configure for rev. 83823 putback.Edward O'Callaghan2009-10-131-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83930 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix LLVM CMake build system so that it may now work on Solaris and AuroraUX.Edward O'Callaghan2009-10-121-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83819 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a compile failure introduced by r82675 on MinGW which doesn't haveJeffrey Yasskin2009-09-252-0/+6
| | | | | | | | 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
* re-apply r80197, now that iterator.h is not mentioned any moreGabor Greif2009-08-271-3/+15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80254 91177308-0d34-0410-b5e6-96231b3b80d8
* --- Reverse-merging r80147 into '.':Bill Wendling2009-08-271-15/+3
| | | | | | | | | | | | | | | | | | | | | | | 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
* Regenerate configureDouglas Gregor2009-08-261-3/+15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80173 91177308-0d34-0410-b5e6-96231b3b80d8
* revert r78628 and r78803 as these are not needed any moreGabor Greif2009-08-251-3/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80048 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove alloca config.h support.Daniel Dunbar2009-08-242-30/+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