summaryrefslogtreecommitdiff
path: root/autoconf
Commit message (Collapse)AuthorAge
...
* autoconf: fix clang detectionDylan Noblesmith2012-02-04
| | | | | | | Now this works with and without --with-clang-srcdir, with and without an out-of-tree build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149749 91177308-0d34-0410-b5e6-96231b3b80d8
* Replace the old --with-cxx-* configure options with a single ↵Rafael Espindola2012-02-03
| | | | | | | | | --with-gcc-toolchain that just uses the new toolchain probing logic. This fixes linking with -m32 on 64 bit systems (the /32 dir was not being added to the search). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149651 91177308-0d34-0410-b5e6-96231b3b80d8
* autoconf: fix build/src dir confusionDylan Noblesmith2012-02-02
| | | | | | | | | | | This was the cause of the silent failure to generate clang's config.h. My bad. Fix on r149563 / r149568. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149574 91177308-0d34-0410-b5e6-96231b3b80d8
* autoconf: restore old clang-srcdir behaviorDylan Noblesmith2012-02-02
| | | | | | | | | Keep the string empty when unspecified. Undoes part of r149563. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149568 91177308-0d34-0410-b5e6-96231b3b80d8
* autoconf: honor --with-clang-srcdirDylan Noblesmith2012-02-02
| | | | | | | | | | configure was silently failing to produce anything in the case where clang wasn't at tools/clang/, resulting in compilation errors much later in the build when config.h didn't exist. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149563 91177308-0d34-0410-b5e6-96231b3b80d8
* autoconf: generate clang's private config.h headerDylan Noblesmith2012-02-01
| | | | | | | | | | | | | The CMake build already generated one. Follows clang r149497. This brings us one step closer to compiling and configuring clang separately from LLVM using the autoconf build, too. (I lack the right version of autoconf et al. to regen, but it was a simple change, so I just updated configure manually.) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149498 91177308-0d34-0410-b5e6-96231b3b80d8
* comment tweaksGabor Greif2012-01-26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149060 91177308-0d34-0410-b5e6-96231b3b80d8
* Makefile: add missing files to FilesToConfigDylan Noblesmith2012-01-17
| | | | | | | | | And fix the comment about where the FilesToConfig variable is. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148282 91177308-0d34-0410-b5e6-96231b3b80d8
* revert r147542 after comments from Joerg SonnenbergerSebastian Pop2012-01-05
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147608 91177308-0d34-0410-b5e6-96231b3b80d8
* use getHostTriple instead of getDefaultTargetTriple in getClosestTargetForJITSebastian Pop2012-01-04
| | | | | | | | | | Get back getHostTriple. For JIT compilation, use the host triple instead of the default target: this fixes some JIT testcases that used to fail when the compiler has been configured as a cross compiler. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147542 91177308-0d34-0410-b5e6-96231b3b80d8
* Happy new year 2012!NAKAMURA Takumi2012-01-01
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147395 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for mipsel in configure. Fixes PR11669. Patch by Sylvestre Ledru.Rafael Espindola2011-12-28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147312 91177308-0d34-0410-b5e6-96231b3b80d8
* Attempt #2 to fix mingw crossbuild. This time with more ugly hacks!Benjamin Kramer2011-12-22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147196 91177308-0d34-0410-b5e6-96231b3b80d8
* Make the -fvisibility-inlines-hidden check more thorough in a hopeless ↵Benjamin Kramer2011-12-22
| | | | | | attempt to fix mingw cross-compiles. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147191 91177308-0d34-0410-b5e6-96231b3b80d8
* Add configure support for kfreebsd and hurd. Patch by Sylvestre Ledru.Rafael Espindola2011-12-22
| | | | | | Fixes pr11620. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147143 91177308-0d34-0410-b5e6-96231b3b80d8
* capitalize project name, reference bugzillaDylan Noblesmith2011-12-18
| | | | | | | | | | | | | And fix the double-[]. It was including the [] as part of the project name somehow, resulting in PACKAGE_TARNAME "-llvm-" and a strange docdir default: ./configure --help | grep docdir --docdir=DIR documentation root [DATAROOTDIR/doc/-llvm-] git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146849 91177308-0d34-0410-b5e6-96231b3b80d8
* Hexagon backend supportTony Linthicum2011-12-12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146412 91177308-0d34-0410-b5e6-96231b3b80d8
* configure: Don't warn about compiler-rt checked out into projects/.Daniel Dunbar2011-12-07
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146084 91177308-0d34-0410-b5e6-96231b3b80d8
* llvm-config: Replace with C++ version (was llvm-config-2).Daniel Dunbar2011-12-01
| | | | | | - Another reapply of r144300, with hopefully one last fix. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145623 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert commit 145449 (ddunbar) since it is breaking the dragonegg buildbots.Duncan Sands2011-12-01
| | | | | | | | | Original commit message: llvm-config: Replace with C++ version (was llvm-config-2). - Reapply of r144300, with lots of fixes/migration easement in between. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145582 91177308-0d34-0410-b5e6-96231b3b80d8
* llvm-config: Replace with C++ version (was llvm-config-2).Daniel Dunbar2011-11-29
| | | | | | - Reapply of r144300, with lots of fixes/migration easement in between. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145449 91177308-0d34-0410-b5e6-96231b3b80d8
* Add an optional separate install prefix for internal components. rdar://10217046Bob Wilson2011-11-28
| | | | | | | | | | | Some files installed by clang are not relevant for general users and we'd like to be able to install them to a different location. This adds a new --with-internal-prefix configure option and a corresponding PROJ_internal_prefix makefile variable, which defaults to the standard prefix. A tool makefile can specify that it should be installed to this internal prefix by defining INTERNAL_TOOL. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145234 91177308-0d34-0410-b5e6-96231b3b80d8
* rename ENABLE_THREADS to LLVM_ENABLE_THREADSDylan Noblesmith2011-11-28
| | | | | | | | | | | Now that it needs to be exported in a public header (Valgrind.h) it should be prefixed to avoid collision with other projects. Add it to llvm-config.h as well. This'll require regenerating the configure script after this commit, but I don't have the required autoconf version. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145214 91177308-0d34-0410-b5e6-96231b3b80d8
* Add configure checking for pread(2) and use it to save a syscall when ↵Benjamin Kramer2011-11-22
| | | | | | reading files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145061 91177308-0d34-0410-b5e6-96231b3b80d8
* Add an option '--enable-libcpp' that will have the compiler pass onEric Christopher2011-11-11
| | | | | | options to use libc++ as the default c++ library. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144413 91177308-0d34-0410-b5e6-96231b3b80d8
* rename LLVM_HOSTTRIPLE into LLVM_DEFAULT_TARGET_TRIPLESebastian Pop2011-11-01
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143501 91177308-0d34-0410-b5e6-96231b3b80d8
* derive LLVM_HOSTTRIPLE from targetSebastian Pop2011-11-01
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143500 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove the Alpha backend.Dan Gohman2011-10-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143164 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert 142997. It doesn't work on Mac OS or the BSDs, which all use the BSDCharles Davis2011-10-26
| | | | | | | | version of the install program, which does not have the --strip-program switch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143009 91177308-0d34-0410-b5e6-96231b3b80d8
* Search for and use the strip program and pass it to install for itEric Christopher2011-10-26
| | | | | | | | to use for stripping final executables. Patch by Simon Atanasyan! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142997 91177308-0d34-0410-b5e6-96231b3b80d8
* Handle newer cases for freebsd which is approaching 10.0 and not 1.0.Eric Christopher2011-10-26
| | | | | | Patch by Dimitry Andric! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142995 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove the Blackfin backend.Dan Gohman2011-10-25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142880 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove the SystemZ backend.Dan Gohman2011-10-24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142878 91177308-0d34-0410-b5e6-96231b3b80d8
* autoconf: Introduce --with-clang-srcdir, to build out-of-tree clang as ↵NAKAMURA Takumi2011-10-16
| | | | | | tools/clang on tools/Makefile. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142102 91177308-0d34-0410-b5e6-96231b3b80d8
* ToT is now for 3.1.Bill Wendling2011-10-15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142044 91177308-0d34-0410-b5e6-96231b3b80d8
* ocaml bindings: add findlib META supportTorok Edwin2011-10-14
| | | | | | | This makes it easier to link against LLVM libs, especially if you are using _oasis. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141992 91177308-0d34-0410-b5e6-96231b3b80d8
* configure: [cygming] Set --disable-embed-stdcxx by default on --enable-shared.NAKAMURA Takumi2011-10-13
| | | | | | Many distros provide stdc++.dll recently. --enable-embed-stdcxx might confuse people. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141875 91177308-0d34-0410-b5e6-96231b3b80d8
* We're no longer going to bother supporting platforms that don'tEric Christopher2011-09-23
| | | | | | | | support C89. We probably didn't support them anyways. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140361 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove the rest of the compiler checking from the top level configureEric Christopher2011-09-21
| | | | | | script. Only the testsuite project needs to know this information. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140220 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove llvm-gcc and various compiler handling from llvm. It's not neededEric Christopher2011-09-20
| | | | | | here anymore and has been migrated to the test-suite project. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140216 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix typos.Eric Christopher2011-09-20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140194 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove llvmc and assorted build machinery for it.Eric Christopher2011-09-19
| | | | | | | | The problems that llvmc solved have largely been subsumed with the tasks that the clang driver can accomplish, but llvmc lacks flexibility and depends too heavily on the EOL'd llvm-gcc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140093 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename LLVM_MULTITHREADED define and fix build without threads.Eric Christopher2011-09-19
| | | | | | Patch by Arrowdodger. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140064 91177308-0d34-0410-b5e6-96231b3b80d8
* Move the AC_PROG_CC checks earlier in the configure file. The latenessEric Christopher2011-09-16
| | | | | | | | | | | | of the original check meant that configure was caching the default CC check and using that instead of the result of AC_PROG_CC in both configure checks and during compilation. This wasn't affecting C++ so it was hard to notice. Regenerate configure. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139937 91177308-0d34-0410-b5e6-96231b3b80d8
* Have the llvm configure process look for clang, then llvm-gcc, and then gccEric Christopher2011-09-16
| | | | | | on all platforms. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139934 91177308-0d34-0410-b5e6-96231b3b80d8
* Update config.sub, config.guess and configure.Ivan Krasin2011-08-23
| | | | | | | | | | | | | | | | | The motivation to do that: 1. Now, llvm would use the stock config.sub. Before that we had an uncommitted FreeBSD-related patch. Now, it has been upstreamed and comes back. It means that it would be easier to update these files in the next time (less magic knowledge) 2. Fix a typo for pseudo-CPUs: 32e[lb] -> [lb]e32, 64e[lb]->[lb]64. One of these CPUs is used for PNaCl and it was not really convenient to have a CPU that starts with a digit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138323 91177308-0d34-0410-b5e6-96231b3b80d8
* Add NativeClient operating system support.Ivan Krasin2011-08-18
| | | | | | | | | | | | | | | | | This patch adds support of NativeClient (*-*-nacl) OS support to LLVM. It's already supported in autoconf/config.sub. The motivation for this change is to start upstreaming PNaCl work. The whole set of patches include llvm backends (i686, x86_64, ARM), llvm-gcc (probably, would not be upstreamed because it's deprecated) and clang (the work has been just started, the amount of changes is going to be low and the most of the work is expected to be done close to the mainline). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138005 91177308-0d34-0410-b5e6-96231b3b80d8
* Update autoconfig/config.{sub,guess} to the latest versionIvan Krasin2011-08-18
| | | | | | | | | | | | | from the GNU upstream: git://git.savannah.gnu.org/config.git 1. It eliminates a local LLVM patch for auroraux (because, the mainline config.sub has already got support of auroraux) 2. It adds several new recognized target cpus and operating systems (in particular, PNaCl) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137984 91177308-0d34-0410-b5e6-96231b3b80d8
* Update the default bug report url in autoconf.Chad Rosier2011-08-02
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136721 91177308-0d34-0410-b5e6-96231b3b80d8
* Combine all MC initialization routines into one. e.g. InitializeX86MCAsmInfo,Evan Cheng2011-07-22
| | | | | | | InitializeX86MCInstrInfo, etc. are combined into InitializeX86TargetMC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135812 91177308-0d34-0410-b5e6-96231b3b80d8