Commit Graph

650 Commits

Author SHA1 Message Date
Chandler Carruth
6b241160ed First step to allowing the resource directory of Clang to be adjusted for
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
2010-10-19 08:21:25 +00:00
Eric Christopher
14074e8ec4 Fix the last two commits to configure - configure is a generated file.
Made necessary edits to configure.ac and regenerated.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116291 91177308-0d34-0410-b5e6-96231b3b80d8
2010-10-12 02:42:05 +00:00
Chris Lattner
60cb528246 Per discussion with Sanjiv, remove the PIC16 target from mainline. When/if
it comes back, it will be largely a rewrite, so keeping the old codebase
in tree isn't helping anyone.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116190 91177308-0d34-0410-b5e6-96231b3b80d8
2010-10-11 05:44:40 +00:00
Jim Grosbach
7ac1609a3b Rename the AsmPrinter directory to InstPrinter for those targets that have
been MC-ized for assembly printing. MSP430 is mostly so, but still has the
asm printer and lowering code in the printer subdir for the moment.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115360 91177308-0d34-0410-b5e6-96231b3b80d8
2010-10-01 22:39:28 +00:00
Dan Gohman
48fd5a79e0 Add support for viewing graphviz graphs with xdot.py.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114832 91177308-0d34-0410-b5e6-96231b3b80d8
2010-09-27 16:28:34 +00:00
Dan Gohman
c6ce9d65cd Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114197 91177308-0d34-0410-b5e6-96231b3b80d8
2010-09-17 20:08:35 +00:00
Nick Lewycky
de2e4ac0a6 Update configure for change to autoconf/configure.ac to add PTX backend.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113236 91177308-0d34-0410-b5e6-96231b3b80d8
2010-09-07 18:14:42 +00:00
Eric Christopher
b26697ca9e Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113160 91177308-0d34-0410-b5e6-96231b3b80d8
2010-09-06 18:47:10 +00:00
Eric Christopher
753f3265da Fix LLVM target initialization to deal with sociopathic outside projects
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-30 18:34:48 +00:00
Chris Lattner
885b661e10 remove the MSIL backend. It isn't maintained, is buggy, has no testcases
and hasn't kept up with ToT.  Approved by Anton.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112375 91177308-0d34-0410-b5e6-96231b3b80d8
2010-08-28 16:33:36 +00:00
Eric Christopher
0a0073daab Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112042 91177308-0d34-0410-b5e6-96231b3b80d8
2010-08-25 08:45:06 +00:00
Mikhail Glushenkov
4b643c0dfd Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111095 91177308-0d34-0410-b5e6-96231b3b80d8
2010-08-15 07:07:17 +00:00
Daniel Dunbar
ee0f32d723 configure: Add detection of the linker version string.
- 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
2010-08-11 23:53:59 +00:00
Eric Christopher
21d3eeb02b Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110548 91177308-0d34-0410-b5e6-96231b3b80d8
2010-08-08 09:20:39 +00:00
Eric Christopher
a1cba686af Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110533 91177308-0d34-0410-b5e6-96231b3b80d8
2010-08-08 02:44:25 +00:00
Dan Gohman
56fb5f920e Remove CVS artifacts.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110207 91177308-0d34-0410-b5e6-96231b3b80d8
2010-08-04 16:25:01 +00:00
Daniel Dunbar
b1247c313d build: Add LLVM_NATIVE_ARCHNAME, which has the sensible value, without "Target"
appended.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110109 91177308-0d34-0410-b5e6-96231b3b80d8
2010-08-03 14:26:17 +00:00
Eric Christopher
f759841c28 Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109647 91177308-0d34-0410-b5e6-96231b3b80d8
2010-07-28 20:26:43 +00:00
Eric Christopher
2a1a44fe60 Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109164 91177308-0d34-0410-b5e6-96231b3b80d8
2010-07-22 21:13:48 +00:00
Owen Anderson
519f179fa7 Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108740 91177308-0d34-0410-b5e6-96231b3b80d8
2010-07-19 19:42:01 +00:00
Owen Anderson
009f20a389 Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108738 91177308-0d34-0410-b5e6-96231b3b80d8
2010-07-19 19:24:55 +00:00
Eric Christopher
4411fbe25e Pull in the libCrashReporterClient.a information with a warning comment.
Remove library check and regenerate configure.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107028 91177308-0d34-0410-b5e6-96231b3b80d8
2010-06-28 18:25:51 +00:00
Eric Christopher
654dee4875 Look for and use a different darwin crash reporter library.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106576 91177308-0d34-0410-b5e6-96231b3b80d8
2010-06-22 21:01:04 +00:00
Dan Gohman
943005e094 Fix a spello affecting platforms where the configure check fails.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105273 91177308-0d34-0410-b5e6-96231b3b80d8
2010-06-01 16:22:27 +00:00
Dan Gohman
da612d6226 -retain-symbols-file is not what it seems. Update the makefiles
and configury to use --version-script.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105271 91177308-0d34-0410-b5e6-96231b3b80d8
2010-06-01 14:56:56 +00:00
Daniel Dunbar
dd464df687 Add new configure option, --disable-timestamps, intended to turn off 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
2010-05-10 20:11:56 +00:00
mike-m
68cb31901c Overhauled llvm/clang docs builds. Closes PR6613.
NOTE: 2nd part changeset for cfe trunk to follow.

*** PRE-PATCH ISSUES ADDRESSED

- clang api docs fail build from objdir
- clang/llvm api docs collide in install PREFIX/
- clang/llvm main docs collide in install
- clang/llvm main docs have full of hard coded destination
  assumptions and make use of absolute root in static html files;
  namely CommandGuide tools hard codes a website destination
  for cross references and some html cross references assume
  website root paths

*** IMPROVEMENTS

- bumped Doxygen from 1.4.x -> 1.6.3
- splits llvm/clang docs into 'main' and 'api' (doxygen) build trees
- provide consistent, reliable doc builds for both main+api docs
- support buid vs. install vs. website intentions
- support objdir builds
- document targets with 'make help'
- correct clean and uninstall operations
- use recursive dir delete only where absolutely necessary
- added call function fn.RMRF which safeguards against botched 'rm -rf';
  if any target (or any variable is evaluated) which attempts
  to remove any dirs which match a hard-coded 'safelist', a verbose
  error will be printed and make will error-stop.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103213 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-06 23:45:43 +00:00
Daniel Dunbar
f913878474 Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102720 91177308-0d34-0410-b5e6-96231b3b80d8
2010-04-30 17:12:26 +00:00
Dan Gohman
39ed6789c5 Fix an autoconf bug: The second argument to AC_LANG_PROGRAM is code that
gets placed inside a main function, and should not itself be a main
function. This is silently hidden in GCC-hosted builds because the
inner main looks like a nested function declaration, which GCC supports.
In builds with compilers which do not support nested functions (by default),
this was causing an error, which caused these autoconf checks to fail, 
leaving their options disabled.

This fixes test/Feature/load_module.ll on x86_64-unknown-linux-gnu
llvm-gcc selfhost builds, among other things.

This also includes a regenerated configure, as the diff is small and telling.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102288 91177308-0d34-0410-b5e6-96231b3b80d8
2010-04-25 00:12:20 +00:00
Dan Gohman
391569c4b9 Regenerate configure script.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101561 91177308-0d34-0410-b5e6-96231b3b80d8
2010-04-16 22:59:06 +00:00
Eric Christopher
e429182c01 Add a check for posix_spawn.
Regenerate configure and other autoconf files.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101444 91177308-0d34-0410-b5e6-96231b3b80d8
2010-04-16 05:14:21 +00:00
Daniel Dunbar
195d2dec10 configure: Fix default value for optimize_option, I messed up the test condition
in r86005 and unintentionally changed the default from -O3 to -O2.

 - It's odd the things automated perf testing turns up! :)

 - Also, the configure diff is messed up slightly. It looks like someone either
   didn't regenerate configure correctly (or I didn't), or autoconf has some
   funnyness in it. Eric, any ideas?

This has been at -O2 for so long, that I am slightly nervous that this change
will uncover miscompiles of LLVM on other systems. If that is the case, I think
we should just set the default universally at -O3, and let developers/vendors
use -O3 if they want it and have tested it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100941 91177308-0d34-0410-b5e6-96231b3b80d8
2010-04-10 18:56:24 +00:00
Jeffrey Yasskin
ea2212207e Touch configure so it regenerates Disassemblers.def to include ARM so
people stop seeing a broken build in EDDisassembler.cpp



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100782 91177308-0d34-0410-b5e6-96231b3b80d8
2010-04-08 17:19:20 +00:00
John Criswell
52c02866ba Fixed spurious warning problem noticed by Daniel Dunbar. The configure script
now configures prerequisite projects individually but also ignores them in the
big project switch statement to avoid the incorrect warning.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99506 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-25 13:59:09 +00:00
John Criswell
0157f50437 Force configuration of some projects before others. In particular, some
projects rely upon llvm-gcc, the LLVM test suite, and poolalloc.  This ensures
that the aforementioned projects have their object trees created first so that
other projects can find their object trees when they themselves are configured.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98998 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-19 21:31:39 +00:00
Tanya Lattner
dc29dff1dc Regenerate configure.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98990 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-19 21:22:13 +00:00
John Criswell
5a12971246 Updated copyright year to 2010.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98985 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-19 21:04:16 +00:00
Jeffrey Yasskin
f28411f732 Tell Valgrind when we modify already-executed machine code so it knows
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
2010-03-15 04:57:55 +00:00
Eric Christopher
ec27496f4a Move the docsdir to /usr/share/doc/llvm to match other projects.
Fixes PR6267.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97549 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-02 05:17:21 +00:00
Eric Christopher
c771850380 Make sure we save CXXFLAGS before setting it as pedantic and regenerate
configure.

Fixes PR6388.

Patch by Yann Droneaud!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97548 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-02 05:06:54 +00:00
John Criswell
7def293487 Added SAFECode (safecode) to the list of projects to automatically configure.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97179 91177308-0d34-0410-b5e6-96231b3b80d8
2010-02-25 22:57:19 +00:00
Jeffrey Yasskin
c90171961d Try r96559 for the third time. This time the shared library is only built if
--enable-shared is passed to configure.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97119 91177308-0d34-0410-b5e6-96231b3b80d8
2010-02-25 06:34:33 +00:00
Jeffrey Yasskin
407fbdd161 Roll back r96959 again.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96981 91177308-0d34-0410-b5e6-96231b3b80d8
2010-02-23 20:53:37 +00:00
Wesley Peck
a70f28ce7d Adding the MicroBlaze backend.
The MicroBlaze is a highly configurable 32-bit soft-microprocessor for
use on Xilinx FPGAs. For more information see:
http://www.xilinx.com/tools/microblaze.htm
http://en.wikipedia.org/wiki/MicroBlaze

The current LLVM MicroBlaze backend generates assembly which can be
compiled using the an appropriate binutils assembler.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96969 91177308-0d34-0410-b5e6-96231b3b80d8
2010-02-23 19:15:24 +00:00
Jeffrey Yasskin
ea6c39d417 Roll r96559 forward again, adding libLLVM-2.7svn.so to LLVM. This links 3 of
the examples shared to make sure the shared library keeps working.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96959 91177308-0d34-0410-b5e6-96231b3b80d8
2010-02-23 18:10:07 +00:00
Daniel Dunbar
9851567a10 Initial configure support for using Clang as the LLVM capable compiler.
Comes in two parts:
 1. Use --with-clang=path/to/clang/compiler to select an installed clang, or
    --with-built-clang to have the makefiles use the clang which will be built
    as the LLVM capable compiler. If neither is given, --with-built-clang will
    be used if the Clang sources are checked out into the standard location
    (tools/clang).

 2. Use --with-llvmcc={llvm-gcc,clang,none} to specify which LLVM capable
    compiler to use. If not given, then llvm-gcc will be used if available,
    otherwise Clang.

Makefile support still to come.

Eric, Doug, Chris, seem reasonable?

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96934 91177308-0d34-0410-b5e6-96231b3b80d8
2010-02-23 10:00:49 +00:00
Daniel Dunbar
e209c38303 Kill off unused LLVMGCCLIBEXEC make variable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96910 91177308-0d34-0410-b5e6-96231b3b80d8
2010-02-23 07:56:34 +00:00
Daniel Dunbar
951fd6dfad Kill off LLVMGCCARCH and LLVMGCC_VERSION make variables.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96909 91177308-0d34-0410-b5e6-96231b3b80d8
2010-02-23 07:56:31 +00:00
Daniel Dunbar
99d9863cce Kill off LLVMGCC_MAJVERS make variable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96907 91177308-0d34-0410-b5e6-96231b3b80d8
2010-02-23 07:56:22 +00:00
Jeffrey Yasskin
2155d459a7 Roll back the shared library, r96559. It broke two darwins and arm, mysteriously.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96569 91177308-0d34-0410-b5e6-96231b3b80d8
2010-02-18 04:43:02 +00:00
Jeffrey Yasskin
f6afae2f49 Add a shared library for LLVM, named libLLVM2.7svn.(so|dylib), and add an
--enable-shared configure flag to have the tools linked shared. (2.7svn is just
$(LLVMVersion) so it'll change to "2.7" in the release.)  Always link the
example programs shared to test that the shared library keeps working.

On my mac laptop, Debug libLLVM2.7svn.dylib is 39MB, and opt (for example) is
16M static vs 440K shared.

Two things are less than ideal here:
1) The library doesn't include any version information. Since we expect to break
the ABI with every release, this shouldn't be much of a problem. If we do
release a compatible 2.7.1, we may be able to hack its library to work with
binaries compiled against 2.7.0, or we can just ask them to recompile. I'm
hoping to get a real packaging expert to look at this for the 2.8 release.
2) llvm-config doesn't yet have an option to print link options for the shared
library. I'll add this as a subsequent patch.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96559 91177308-0d34-0410-b5e6-96231b3b80d8
2010-02-18 02:36:02 +00:00
Jeffrey Yasskin
bc83d064c3 Make --disable-libffi work on systems with libffi installed. Also
make no-ffi the default even on systems with libffi.  This fixes
http://llvm.org/PR5018.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95712 91177308-0d34-0410-b5e6-96231b3b80d8
2010-02-09 23:03:44 +00:00
Jeffrey Yasskin
1611ebbbff Reconfigure with autoconf-2.60, and fix autoconf.ac to work with that version.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95191 91177308-0d34-0410-b5e6-96231b3b80d8
2010-02-03 02:11:49 +00:00
Torok Edwin
871384fcda Regenerate configure.
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
2010-01-26 08:50:50 +00:00
Anton Korobeynikov
6ca835dedf Regenerate
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92763 91177308-0d34-0410-b5e6-96231b3b80d8
2010-01-05 20:45:43 +00:00
Rafael Espindola
d6c8ec6546 Fix typos. Thanks to John Tytgat for noticing it!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90728 91177308-0d34-0410-b5e6-96231b3b80d8
2009-12-07 00:27:35 +00:00
Daniel Dunbar
4fc760ecb9 Regenerate configure
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89840 91177308-0d34-0410-b5e6-96231b3b80d8
2009-11-25 04:37:28 +00:00
Rafael Espindola
420d23c3d6 Add configure options for specifying where to look for libstdc++.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@88943 91177308-0d34-0410-b5e6-96231b3b80d8
2009-11-16 19:46:55 +00:00
Rafael Espindola
7f9ec910a3 Add the --with-c-include-dirs to llvm's configure.
The clang patch is next.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86955 91177308-0d34-0410-b5e6-96231b3b80d8
2009-11-12 05:46:09 +00:00
Daniel Dunbar
1fce948ccb configure: Add --with-optimize-option, for setting the default value of
OPTIMIZE_OPTION.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86005 91177308-0d34-0410-b5e6-96231b3b80d8
2009-11-04 04:32:50 +00:00
Julien Lerouge
3a96a4d91c Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85148 91177308-0d34-0410-b5e6-96231b3b80d8
2009-10-26 20:00:35 +00:00
Chandler Carruth
8b67f774e9 Move DataTypes.h to include/llvm/System, update all users. This breaks the last
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-26 01:35:46 +00:00
Edward O'Callaghan
5da60469f9 Undo pthread patch from rev. 83930 & 83823. Credit to Paul Davey.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84083 91177308-0d34-0410-b5e6-96231b3b80d8
2009-10-14 11:12:33 +00:00
Edward O'Callaghan
2b19d69553 Provide AuroraUX triple support in configure. Credit to - Paul Davey.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84067 91177308-0d34-0410-b5e6-96231b3b80d8
2009-10-14 00:44:50 +00:00
Edward O'Callaghan
2b7b37a4c9 Regenerate configure for rev. 83823 putback.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83930 91177308-0d34-0410-b5e6-96231b3b80d8
2009-10-13 01:01:38 +00:00
Jeffrey Yasskin
fe897b2b32 Fix the OProfile part of PR5018. This fixes --without-oprofile, makes
it the default, and works around a broken libopagent on some Debian
systems.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83503 91177308-0d34-0410-b5e6-96231b3b80d8
2009-10-07 23:22:42 +00:00
Nick Lewycky
4372e69770 Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83052 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-29 06:18:23 +00:00
Nick Lewycky
83fc447a4f Roll back r83048.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83050 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-29 05:48:51 +00:00
Nick Lewycky
9cb7434843 Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83048 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-29 05:41:21 +00:00
Jeffrey Yasskin
7fd82e56a8 Enable -g with DEBUG_SYMBOLS and --enable-debug-symbols instead of
DEBUG_RUNTIME.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82906 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-27 17:47:29 +00:00
Jeffrey Yasskin
b7a8d400be Fix a compile failure introduced by r82675 on MinGW which doesn't have
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-25 21:07:20 +00:00
Jeffrey Yasskin
e04701a760 PR4047: Permit configure --enable-targets=host,cpp for example. "host" has the
same effect that "host-only" used to have, but can be combined with other
targets.  host-only is still available as a synonym but no longer documented.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82634 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-23 17:05:42 +00:00
Eric Christopher
030e5a0438 Enable the jit for llvm-config.
Patch by Xerxes Rånby!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81768 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-14 16:38:49 +00:00
Torok Edwin
6493798d83 install-sh chmods to 0755 by default, and this causes 'git diff' to show
that all the Makefiles changed mode.
Fix this by tellint install-sh to chmod
only to 0644, these are not executable files after all!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80371 91177308-0d34-0410-b5e6-96231b3b80d8
2009-08-28 16:12:48 +00:00
Gabor Greif
4c75054b01 re-apply r80197, now that iterator.h is not mentioned any more
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80254 91177308-0d34-0410-b5e6-96231b3b80d8
2009-08-27 17:07:35 +00:00
Bill Wendling
fffb7266fe --- Reverse-merging r80147 into '.':
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-27 03:29:26 +00:00
Douglas Gregor
6047515446 Regenerate configure
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80173 91177308-0d34-0410-b5e6-96231b3b80d8
2009-08-26 22:59:05 +00:00
Tanya Lattner
c2264596b7 Regenerate configure.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79772 91177308-0d34-0410-b5e6-96231b3b80d8
2009-08-22 21:01:26 +00:00
Tanya Lattner
953042b392 Regenerate configure for 2.7svn
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79726 91177308-0d34-0410-b5e6-96231b3b80d8
2009-08-22 04:37:30 +00:00
Anton Korobeynikov
0855f10906 Regenerate
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79297 91177308-0d34-0410-b5e6-96231b3b80d8
2009-08-18 00:40:51 +00:00
Shantonu Sen
7e83697c8e Regenerate per request of Gabor Greif (r78628)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78661 91177308-0d34-0410-b5e6-96231b3b80d8
2009-08-11 13:39:52 +00:00
Jakob Stoklund Olesen
73b7bb7b07 Build Blackfin target with autoconf and cmake.
Note that configure was edited by hand. Will somebody with the correct version of autoconf please regenerate?

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77898 91177308-0d34-0410-b5e6-96231b3b80d8
2009-08-02 17:32:37 +00:00
Dan Gohman
d2cb3d2c32 Remove the IA-64 backend.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76920 91177308-0d34-0410-b5e6-96231b3b80d8
2009-07-24 00:30:09 +00:00
Jeffrey Yasskin
afa709d90b Regenerate configure for ddunbar.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76244 91177308-0d34-0410-b5e6-96231b3b80d8
2009-07-17 21:33:35 +00:00
Anton Korobeynikov
4403b930f8 Let's start another backend :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75909 91177308-0d34-0410-b5e6-96231b3b80d8
2009-07-16 13:27:25 +00:00
Dan Gohman
6bfead3179 LLVM doesn't use libelf. Remove libelf configurey.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75643 91177308-0d34-0410-b5e6-96231b3b80d8
2009-07-14 18:06:25 +00:00
Jeffrey Yasskin
a93e77073f Regenerate configure after r75279.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75280 91177308-0d34-0410-b5e6-96231b3b80d8
2009-07-10 21:09:55 +00:00
David Greene
f0b9effccb Regenerate for GraphViz tool discovery.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75145 91177308-0d34-0410-b5e6-96231b3b80d8
2009-07-09 17:16:26 +00:00
Mikhail Glushenkov
d0f27c4ebb Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74789 91177308-0d34-0410-b5e6-96231b3b80d8
2009-07-04 14:23:08 +00:00
Jeffrey Yasskin
342a343a57 Update configure and config.h.in from r74621.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74623 91177308-0d34-0410-b5e6-96231b3b80d8
2009-07-01 18:30:10 +00:00
Owen Anderson
27fcfe1364 Add a configure test for pthread_getspecific, and use it when building ThreadLocal.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74222 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-25 23:10:26 +00:00
Douglas Gregor
a0162ff2b9 Regenerate configure script
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73962 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-23 17:22:05 +00:00
Douglas Gregor
0711c30376 Update auto-generated configuration files
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73591 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-17 00:43:20 +00:00
Owen Anderson
9a3df671ab Add an atomic increment and decrement implementation, which will be used for
thread-safe reference counting.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73587 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-17 00:13:00 +00:00
Douglas Gregor
1555a23335 Introduce new headers whose inclusion forces linking and
initialization of all targets (InitializeAllTargets.h) or assembler
printers (InitializeAllAsmPrinters.h). This is a step toward the
elimination of relinked object files, so that we can build normal
archives.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73543 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-16 20:12:29 +00:00
Owen Anderson
de8aed2808 Add a configure check for pthread_rwlock_init.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73523 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-16 18:20:20 +00:00
Nick Lewycky
b4a921af05 Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72990 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-06 06:25:09 +00:00
Owen Anderson
a86037084d Split the ENABLE_THREADS #define in two. Now ENABLE_THREADS indicates the ability to run multiple threads at once in the JIT, and requires only
mutex support.  LLVM_MULTITHREADED indicates (or will indicate) the ability to run LLVM itself across multiple threads, and requires atomics support.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72140 91177308-0d34-0410-b5e6-96231b3b80d8
2009-05-19 22:18:56 +00:00
Owen Anderson
d4b272bcf4 Test for the presence of GCC atomic builtins at configure time. If not found,
disable building LLVM in thread-safe mode and print a nice warning.

Regenerate configure for these changes.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72075 91177308-0d34-0410-b5e6-96231b3b80d8
2009-05-18 23:58:51 +00:00
Douglas Gregor
071d73d67e termios.h contains the winsize structure we need to determine the
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-18 17:21:34 +00:00
Duncan Sands
e4eb2d2b57 Fix typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71656 91177308-0d34-0410-b5e6-96231b3b80d8
2009-05-13 13:13:18 +00:00
Douglas Gregor
01746745f1 Add terminal width detection to llvm::sys::Process. This is needed to
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-11 18:05:52 +00:00
Anton Korobeynikov
2c4718bdd9 Regenerate
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70772 91177308-0d34-0410-b5e6-96231b3b80d8
2009-05-03 13:42:23 +00:00
Mikhail Glushenkov
4558f481b8 Support --with-llvmgccdir and friends in llvmc, take 2.
Should now work when building with objdir != srcdir and when llvm-gcc is not
available.

Thanks to Duncan Sands for testing and advice!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69700 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-21 19:46:10 +00:00
Bill Wendling
5a22d6a6a0 Revert 69474 and 69475. They are causing failures during a bootstrap on Darwin.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69478 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-18 21:45:27 +00:00
Mikhail Glushenkov
fed844de6b Reconfigure.
Turns out that doing this by hand is easier than using autoreconf:-).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69475 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-18 20:55:55 +00:00
Nick Lewycky
fa8ffc10b3 Generalize to support more ARM types.
Configure was not actually regenerated, but the change last time only touched
this one line, so I'm being lazy and cheating by fixing it manually.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69453 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-18 18:11:26 +00:00
Nick Lewycky
f34c921713 Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69447 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-18 15:41:38 +00:00
Bill Wendling
ebcceeeaba Temporarily revert r69438 and r69439. These were causing failures during a
release build of llvm.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69440 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-18 11:20:33 +00:00
Mikhail Glushenkov
e850146fb2 Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69439 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-18 09:59:26 +00:00
David Greene
2a5a12cd69 Regenerate configure.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69352 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-17 14:50:39 +00:00
Nick Lewycky
267fddbedd Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68938 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-13 04:26:27 +00:00
Nick Lewycky
5b28f862df Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68767 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-10 05:18:27 +00:00
Bill Wendling
a0833356fe Revert r66765 and r66766. These were causing build failures on Darwin.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66770 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-12 04:10:09 +00:00
Nick Lewycky
fb13881d4a Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66766 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-12 03:34:33 +00:00
Nick Lewycky
bf65de131f Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66407 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-09 06:16:46 +00:00
Nick Lewycky
731c6abc46 Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66157 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-05 08:20:44 +00:00
Nick Lewycky
e9821dcac9 Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65928 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-03 04:55:29 +00:00
Nick Lewycky
bdf0d7cfc1 Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65250 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-21 22:38:49 +00:00
Nick Lewycky
5d24957f4e Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65020 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-19 06:18:56 +00:00
Nick Lewycky
fb3dcf875b Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63724 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-04 06:27:44 +00:00
Nick Lewycky
e792b1d841 Regenerate configure.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63622 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-03 07:10:30 +00:00
Tanya Lattner
1592e5b75a Regenerated configure after backing out 62553 and r62616.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62778 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-22 20:11:17 +00:00
Tanya Lattner
f9eb2d8aef Bump to 2.6svn.
Regenerate configure (last regen was with the wrong version).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62751 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-22 05:17:59 +00:00
Nick Lewycky
2ab1d864af Regenerate.
BUILT WITH WRONG VERSION OF AUTOCONF! Somebody please regenerate with an
approved version. Thanks!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62554 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-20 00:52:24 +00:00
Bill Wendling
f24eb39bce Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61649 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-04 23:12:30 +00:00
Richard Osborne
b25baef26f Add XCore backend.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58838 91177308-0d34-0410-b5e6-96231b3b80d8
2008-11-07 10:59:00 +00:00
Gordon Henriksen
40e7f194c2 Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57975 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-22 12:40:55 +00:00
Torok Edwin
cc499a4002 Regenerate configure
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57971 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-22 09:56:27 +00:00
Tanya Lattner
f85e74cc87 Fix configure issue where configure
turned "obj-c++" into "obj" in the langs line.
Update configure script.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57267 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-07 22:21:03 +00:00
Tanya Lattner
d53b4d350f Advance version to 2.5
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57233 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-07 04:35:08 +00:00
Duncan Sands
96f945267c Actually run Obj-C++ tests if llvm-gcc supports.
Before there were two problems: (1) configure
turned "obj-c++" into "obj" in the langs line;
(2) the dejagnu library called it objc++ not
obj-c++.
Now the problem is that some of these tests don't
pass!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57167 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-06 10:31:21 +00:00
Jim Grosbach
673612ec72 Add support for Canadian Cross builds where the host executables are not
runnable on the build machine.

There are a few bits that need built for the build environment (TableGen).
This patch builds those bits, and the associated libraries, for the build
environment as well as the (usual) host environment.

Thanks to Eric C. and Devang P. for pre-commit review.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56975 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-02 22:56:44 +00:00
Jim Grosbach
0eecd899ea When looking for executable extensions, ignore .dSYM, as that's the debug info directory on Darwin.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56667 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-26 17:27:58 +00:00
Daniel Dunbar
dcf114e861 Enable -fvisibility-inlines-hidden by default for compilers which
support it.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55557 91177308-0d34-0410-b5e6-96231b3b80d8
2008-08-30 01:16:19 +00:00
Matthijs Kooijman
f512281d61 Make LLVM compile on DragonFly BSD (PR2499).
Patch by Hasso Tepper!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52781 91177308-0d34-0410-b5e6-96231b3b80d8
2008-06-26 10:36:58 +00:00
Tanya Lattner
b70e452820 Regenerate configure.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52685 91177308-0d34-0410-b5e6-96231b3b80d8
2008-06-24 17:49:13 +00:00
Matthijs Kooijman
5b80c663e7 Allow the test suite to be checked out into projects/test-suite.
We will keep the old projects/llvm-test working for existing installs.

The changes to configure are made manually, since I lack autoconf-2.6. Someone
might want to run AutoGen.sh to see if that changes anything.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52675 91177308-0d34-0410-b5e6-96231b3b80d8
2008-06-24 13:01:57 +00:00
Anton Korobeynikov
d3df7eb678 Regenerate
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51688 91177308-0d34-0410-b5e6-96231b3b80d8
2008-05-29 17:41:34 +00:00
Sanjiv Gupta
e3f342880b Added configure switches for PIC16 in configure.ac.
Regenerated configure.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51096 91177308-0d34-0410-b5e6-96231b3b80d8
2008-05-14 08:03:23 +00:00
Sanjiv Gupta
0234f51ff9 Added configure switches for PIC16 backend.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51056 91177308-0d34-0410-b5e6-96231b3b80d8
2008-05-13 17:37:32 +00:00
Tanya Lattner
49ff661410 Set to 2.4 and regenerate configure.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50935 91177308-0d34-0410-b5e6-96231b3b80d8
2008-05-10 04:20:38 +00:00
Anton Korobeynikov
5027652b8a First step of implementing PR1538: move llvm2cpp logic to new 'target'
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50189 91177308-0d34-0410-b5e6-96231b3b80d8
2008-04-23 22:29:24 +00:00
Gordon Henriksen
56b8f1d3ee Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48148 91177308-0d34-0410-b5e6-96231b3b80d8
2008-03-10 15:49:38 +00:00
Gordon Henriksen
e707216cb9 Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48008 91177308-0d34-0410-b5e6-96231b3b80d8
2008-03-07 18:20:01 +00:00
Bill Wendling
41ef25bfef Use AC_PATH_PROG correctly:
http://www.gnu.org/software/autoconf/manual/autoconf.html#Generic-Programs



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47943 91177308-0d34-0410-b5e6-96231b3b80d8
2008-03-05 09:28:02 +00:00
Devang Patel
e45252efee Remove use of ltdl
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47065 91177308-0d34-0410-b5e6-96231b3b80d8
2008-02-13 17:11:39 +00:00
Chris Lattner
399c7c76cf regenerate
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46761 91177308-0d34-0410-b5e6-96231b3b80d8
2008-02-05 19:43:53 +00:00
Tanya Lattner
cf067674a0 Update version to 2.3svn
Regenerate configure with 2.60. 


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46119 91177308-0d34-0410-b5e6-96231b3b80d8
2008-01-17 05:57:22 +00:00
Nate Begeman
57b1efb3a2 Do not build CBackend and MSIL regardless of configured targets
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44973 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-13 01:18:52 +00:00
Duncan Sands
67f1c493d1 Remove host endianness info from TargetData and
put it in a new header System/Host.h instead.
Instead of getting the endianness from configure,
calculate it directly.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44959 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-12 23:03:45 +00:00
Duncan Sands
1eff70451f Fix PR1836: in the interpreter, read and write apints
using the minimum possible number of bytes.  For little
endian targets run on little endian machines, apints are
stored in memory from LSB to MSB as before.  For big endian
targets on big endian machines they are stored from MSB to
LSB which wasn't always the case before (if the target and
host endianness doesn't match values are stored according
to the host's endianness).  Doing this requires knowing the
endianness of the host, which is determined when configuring -
thanks go to Anton for this.  Only having access to little
endian machines I was unable to properly test the big endian
part, which is also the most complicated...


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44796 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-10 17:43:13 +00:00
Scott Michel
96dcd2b620 Regenerated configure after autoconf/configure.ac change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44628 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-05 21:24:02 +00:00
Devang Patel
5d28b888b9 Add --with-llvmgcc= and --with-llvmgxx= configure options.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44586 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-04 22:54:47 +00:00
Eric Christopher
790e11cdff Add target triple to include/llvm/Config/config.h.in. Regenerate all files.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44478 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-01 00:34:39 +00:00
Gordon Henriksen
0abe116022 Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42575 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-03 12:07:14 +00:00
Gordon Henriksen
f091568375 Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42533 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-02 16:42:22 +00:00
Gordon Henriksen
bae4adc7de Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42529 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-02 10:14:42 +00:00
Gordon Henriksen
c0efff86a5 Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42527 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-02 09:50:32 +00:00
Gordon Henriksen
9b7a24831e Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42461 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-29 00:42:56 +00:00
Gordon Henriksen
92f0dca1e3 Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42241 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-22 21:36:59 +00:00
Gordon Henriksen
c20f5b086e Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42164 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-20 16:48:18 +00:00
Gordon Henriksen
54c7e12164 Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42092 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-18 12:27:13 +00:00
Tanya Lattner
856585b6d6 Fix broken default help strings for enable-shared, enable-static, and enable-fast-install. Regenerate configure script.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42066 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-17 21:41:15 +00:00
Tanya Lattner
5c70954d97 Change to 2.2svn.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41941 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-14 01:24:13 +00:00
Tanya Lattner
dde567f194 Updating configure script to enable MIPS.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41568 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-29 16:38:16 +00:00
Reid Spencer
be3e419280 Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41138 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-17 05:45:26 +00:00
Reid Spencer
9372f15d45 Regenerate for __dso_handle, per Anton's request.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40601 91177308-0d34-0410-b5e6-96231b3b80d8
2007-07-30 20:13:24 +00:00
Andrew Lenharth
0af32251c7 support poolalloc as checked out from svn
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@39983 91177308-0d34-0410-b5e6-96231b3b80d8
2007-07-17 20:37:35 +00:00
Reid Spencer
96cf58777b Regenerate to pick up Gabor's changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@39802 91177308-0d34-0410-b5e6-96231b3b80d8
2007-07-13 10:05:30 +00:00
Reid Spencer
53b2486c8f Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38444 91177308-0d34-0410-b5e6-96231b3b80d8
2007-07-09 08:10:07 +00:00
Anton Korobeynikov
080d6872f3 Revert last change until issue reported by Owen, won't be fixed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37854 91177308-0d34-0410-b5e6-96231b3b80d8
2007-07-03 17:16:46 +00:00
Anton Korobeynikov
ed51321bcb Rename llvm-test => test-suite. By Dave Greene.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37852 91177308-0d34-0410-b5e6-96231b3b80d8
2007-07-03 17:01:58 +00:00
David Greene
a696d24ad2 Add support for building with _GLIBCXX_DEBUG. New configure option
--enable-expensive-checks allows the developer to enable runtime
checking that can greatly increase compile time.  Currently it only
turns on _GLIBCXX_DEBUG.  Other expensive debugging checks added later
should be controlled by this configure option.

This patch also updates llvm-config with a --cppflags option to inform
llvm-gcc how to build itself so that it is compatible with an llvm that
was built with _GLIBCXX_DEBUG.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37777 91177308-0d34-0410-b5e6-96231b3b80d8
2007-06-28 19:36:08 +00:00
Reid Spencer
59807fabd7 Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37166 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-17 18:11:03 +00:00
Tanya Lattner
692aa5afc8 Bumping cvs version number
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36922 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-08 04:32:07 +00:00
Reid Spencer
0d23818dbb Regenerate for detection of llvm-gcc supported languages
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36320 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-21 21:28:52 +00:00
Reid Spencer
f6390b51e3 Hopefully fix LTDL_SHLIB_EXT on Darwin
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35872 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-11 00:27:39 +00:00
Reid Spencer
0b1e466c94 Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35596 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-02 15:41:39 +00:00
Reid Spencer
585e0882c3 Regenerate for PR1283 fix.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35452 91177308-0d34-0410-b5e6-96231b3b80d8
2007-03-29 15:38:33 +00:00
Anton Korobeynikov
099883f7eb Let the new backend begin!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35242 91177308-0d34-0410-b5e6-96231b3b80d8
2007-03-21 21:38:25 +00:00
Reid Spencer
b90645c9cd Regenerate for getrlimit/setrlimit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34350 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-16 19:17:20 +00:00
Reid Spencer
febecf4041 Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33422 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-21 06:42:03 +00:00
Reid Spencer
9b5b182e5f For PR1128:
Regenerate for ARM support.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33419 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-21 06:32:59 +00:00
Reid Spencer
466207a3eb For PR808:
Regenerate to include NetBSD.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33407 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-20 20:45:39 +00:00
Reid Spencer
30fe526817 Regenerate for Anton Korobeynikov.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33392 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-20 07:48:49 +00:00
Reid Spencer
b6a7aa7e9d Add the check for udis86 to support disassembly.
Regenerated for Anton Korobeynikov.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33360 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-19 17:41:47 +00:00
Reid Spencer
67bb0796dd For PR1074:
Adjust configuration for Stacker's new name: llvm-stacker.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33277 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-17 02:14:46 +00:00
Jeff Cohen
28783c3384 '==' is not a legal test operator on BSD. Use '='.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33126 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-12 18:22:38 +00:00
Reid Spencer
282d8c166f Add a new variable, LLVMGCCLIBEXEC to get the libexec directory where the
cc1 and cc1plus executables live.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32738 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-21 22:55:41 +00:00
Reid Spencer
89b0d995d2 Allow an --enable-pic option to turn on -fPIC compiler option when building.
The default is disabled until we know this doesn't break anyone.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32635 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-16 22:07:52 +00:00
Reid Spencer
afa22e2363 Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32416 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-10 23:29:19 +00:00
Reid Spencer
2a0ede8335 Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32350 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-08 05:06:28 +00:00
Reid Spencer
1000b73397 For PR1019:
Add HAVE_PTHREAD to makefiles with support from configure and use it to
determine whether to build examples/ParallelJIT.
Patch by Anton Korobeynikov.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32054 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-01 00:37:14 +00:00
Reid Spencer
8b2e1419cf Undo removal of the runtime libraries. While this may have been a bit
premature, these libraries will be going away for the 2.0 release. Other
arrangements for profiling, gc, etc. should be made in the next few months.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31807 91177308-0d34-0410-b5e6-96231b3b80d8
2006-11-17 03:32:33 +00:00
Reid Spencer
ac90d5e50b In LLVM 2.0 we won't use the runtime libraries as llvm-gcc3 support will
be dropped. This patch pertains to removing the runtime directory from LLVM.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31793 91177308-0d34-0410-b5e6-96231b3b80d8
2006-11-16 23:17:27 +00:00
Tanya Lattner
01d3e38267 Updating configure script for 2.0
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31715 91177308-0d34-0410-b5e6-96231b3b80d8
2006-11-14 00:59:52 +00:00
Reid Spencer
65c5d75bc8 Add a -disable-cbe-printf-a option so that the output of the C Backend
stands a chance of being compiled with a non C99 C compiler. The default
is enabled so you must specifically disable this feature if you want the
CBE output compiled with an older C compiler.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31461 91177308-0d34-0410-b5e6-96231b3b80d8
2006-11-05 17:08:18 +00:00
Reid Spencer
6a7c0b7c3c Make the huge_val test run a C++ program not C
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31422 91177308-0d34-0410-b5e6-96231b3b80d8
2006-11-03 19:49:16 +00:00
Reid Spencer
b2ed0526ce Add a check to see if HUGE_VAL is sane or not.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31416 91177308-0d34-0410-b5e6-96231b3b80d8
2006-11-03 18:04:08 +00:00
Chris Lattner
b56371edbc fix misleading warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30690 91177308-0d34-0410-b5e6-96231b3b80d8
2006-10-02 17:24:55 +00:00
Reid Spencer
a6d990a73f Add a HAVE_MACH_MACH_H #define to detect the presence of the mach/mach.h
header file on Darwin.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30319 91177308-0d34-0410-b5e6-96231b3b80d8
2006-09-14 06:17:21 +00:00
Reid Spencer
4869d7fa8e For PR738:
Demote check for bison from error to warning and make sure that the
makefile can handle an empty definition for BISON variable.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29861 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-24 22:41:20 +00:00
Reid Spencer
6ccd01a3ee Add irix as a (potential) new platform so that Timothy Baldridge can
(hopefully) provide support for it.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29833 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-22 22:21:38 +00:00
Reid Spencer
ea949cfafa Add llvm.spec to the list of files to be configured.
Remove the search for etags. Nothing in LLVM uses it any more.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29718 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-16 00:45:38 +00:00
Evan Cheng
f4334c74e9 Recover the lost diff between 1.221 and 1.222.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29578 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-09 05:40:14 +00:00
Reid Spencer
a773bd54f3 Update the auto* tools: autoconf 2.60, libtool 1.5.22, automake 1.9.6.
Update ltld.[ch] to version 1.5.22.
Correct the notes about updating these tools (autoconf/README.TXT)
Add configure options for getting the correct option for including a whole
archive when linking.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29529 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-04 18:18:08 +00:00
Reid Spencer
ceaf1c33c0 Fix the --with-extra-options to use the correct variable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29403 91177308-0d34-0410-b5e6-96231b3b80d8
2006-07-28 22:50:07 +00:00
Reid Spencer
aea7fe4abd For PR848:
1. Get the path to the pwd binary (/bin/pwd usually) from configure.
2. Use that path to run pwd in all path variables set in Makefile.config.in
The hope is that these changes will resolve symlinks to physical paths. This
should work on all platforms where the binary pwd defaults to printing
physical paths. The shell version of pwd generally doesn't (it will print
the symlink path).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29381 91177308-0d34-0410-b5e6-96231b3b80d8
2006-07-28 05:05:00 +00:00
Reid Spencer
1bc686433b Changes to support cross-compiling LLVM. The GenLibDeps.pl script needs to
have a compile-host version of "nm", not build-host. In order to effect this
we must use autoconf to determine the correct "nm" to use and propagate that
through the makefiles, through llvm-config and finally to GenLibDeps.pl as
an optional argument.
Patch contributed by Anton Korobeynikov. Thanks!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29368 91177308-0d34-0410-b5e6-96231b3b80d8
2006-07-27 23:00:30 +00:00
Reid Spencer
e2cfe5d232 For PR814:
Provide support for making cross-compiling builds. See the PR for details.
Patch provided by Anton Korobeynikov. Thanks, Anton!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29309 91177308-0d34-0410-b5e6-96231b3b80d8
2006-07-26 21:14:56 +00:00
Evan Cheng
939ea65b5a Fixed a typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29010 91177308-0d34-0410-b5e6-96231b3b80d8
2006-07-06 07:46:33 +00:00
Evan Cheng
cf9be26e5d Added --with-extra-options=opts to specify additional options to build LLVM and run tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28882 91177308-0d34-0410-b5e6-96231b3b80d8
2006-06-20 22:16:32 +00:00
John Criswell
0389cf746e Added the privbracket project to the list of projects to auto-configure.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28870 91177308-0d34-0410-b5e6-96231b3b80d8
2006-06-20 17:44:40 +00:00
Reid Spencer
cdb08a3691 For PR633:
Add configure checks for setjmp/longjmp for Chris. I can't believe this easy
PR has been outstanding for so long. If I don't get to something, please
remind me! :)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28686 91177308-0d34-0410-b5e6-96231b3b80d8
2006-06-05 16:11:07 +00:00
Reid Spencer
caf0ecec9e Some enhancements for gv/graphviz/dot/dotty support and better handling of
paths under MingW.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28685 91177308-0d34-0410-b5e6-96231b3b80d8
2006-06-05 15:54:38 +00:00
Reid Spencer
ecbd242833 For PR798:
Have configure find the "dotty" program and adjust configuration.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28674 91177308-0d34-0410-b5e6-96231b3b80d8
2006-06-02 23:13:18 +00:00
Reid Spencer
48fdf91d0f Provide configuration support and usage for MINGW32 platform
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28639 91177308-0d34-0410-b5e6-96231b3b80d8
2006-06-01 19:03:21 +00:00
Reid Spencer
ced39bdf38 Make sure windows.h is #included first.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28637 91177308-0d34-0410-b5e6-96231b3b80d8
2006-06-01 17:44:29 +00:00
Reid Spencer
b66925bb18 Make sure that when checking for MINGW32 libraries we ask for windows.h
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28631 91177308-0d34-0410-b5e6-96231b3b80d8
2006-06-01 17:16:20 +00:00
Reid Spencer
484fc8e384 Provide support for detecting if the Win32 imaghlp and psapi libraries
are available. These libraries are used in lib/System and should be
included on the link line or if not available generate an error when
building lib/System.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28628 91177308-0d34-0410-b5e6-96231b3b80d8
2006-06-01 16:55:59 +00:00
Reid Spencer
0fa145d8b8 For PR784:
Support Win32 platforms for llvm-gcc path. Patch by Anton Korobeynikov


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28426 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-21 10:40:20 +00:00
Reid Spencer
0582887de4 Make sure to default ${prefix} to /usr/local if the user didn't specify it.
This assists with getting around configure's late binding values so that
our LLVM variables don't end up with a "NONE" prefix.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28325 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-16 08:53:32 +00:00
Rafael Espindola
7bc59bc395 added a skeleton of the ARM backend
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28301 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-14 22:18:28 +00:00
Reid Spencer
b5d75b8618 Use the -dumpversion option to llvm-gcc which gives us just the version #
and is unlikely to change in future releases. This also simplifies the
parsing of the full and major llvm-gcc version numbers in the script.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28180 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-09 00:31:01 +00:00
Reid Spencer
f9b458c88b For PR747:
If we fail to find a required program, simply set that program to echo
out something that tells the user the situation. That is, instead of just
"true runtest" we now get "echo 'Skipped: runtest not found'".


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27990 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-27 07:49:24 +00:00
Reid Spencer
e198afc3a8 Configure llvm-config in tools, not utils.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27919 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-20 22:15:30 +00:00
Chris Lattner
7df583e787 Never build SparcV9
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27883 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-20 17:01:19 +00:00
Reid Spencer
1014ab4470 Allow OpenBSD to be recognized as a UNIX platform.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27848 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-19 23:47:16 +00:00
Chris Lattner
b6f93411e0 Regenerate
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27838 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-19 18:38:19 +00:00
Reid Spencer
57d37252b9 Ahem. HEAD -> 1.8cvs not 1.7 (I'm an idiot).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27687 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-14 03:01:27 +00:00
Reid Spencer
0667f6f327 remove the "cvs" part of the version number for the release branch.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27686 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-14 02:55:43 +00:00
Reid Spencer
c28ccd86b5 Change the assertions defaults:
1. Assertions now default to on for all builds
2. If you want them disabled you must (a) --disable-assertions to configure
   or DISABLE_ASSERTIONS=1 to make.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27548 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-09 20:42:14 +00:00
Reid Spencer
4ebf331851 Ensure that the automatic "CVS build" detection works for both
objdir == srcdir and objdir != srcdir.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27516 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-08 01:41:26 +00:00
Reid Spencer
54d1448fcc For PR723:
Support detection of a "CVS" directory at configure time to distinguish
whether this is a release build or a "from tree" build. This knowledge is
used to set the defaults for --enable-optimzied and --enable-assertions
options.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27487 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-07 16:01:51 +00:00
Reid Spencer
7917d3af3f For support of new GCC v4, obtain the full and major versions of the
llvm-gcc command. This will help distinguish which version is being used
so the makefiles can accommodate.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27461 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-06 22:00:36 +00:00
Reid Spencer
b195d9d365 Update to llvm-config tool, by Erik Kidd:
1. Check for Perl and only build llvm-config if its available.
2. Add some virtual components
3. Don't depend on "standard" location for Perl, but configured location
4. Document the tool with a POD file.

This version is now ready for testing by users.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27005 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-23 23:21:29 +00:00
Reid Spencer
f2722ca339 These changes are necessary to support the new llvm-config tool. llvm-config
is a handy tool for users of LLVM who want to be able to quickly get
information about LLVM's configuration. It is intended to be used in the
command line of other tools. Documentation will be forthcoming in a
subsequent patch.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26952 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-22 15:59:55 +00:00
Chris Lattner
74878f4f3a Use -emit-llvm -S to get .ll file output from llvm-gcc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26397 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-27 05:39:00 +00:00
Chris Lattner
56b9e1cd72 remove skeleton target
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26239 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-16 21:12:54 +00:00
Duraid Madina
937c60a09a reverting previous change, will add support for other compilers later
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26211 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-15 07:57:42 +00:00
Duraid Madina
5954e4e674 zap
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26199 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-15 03:16:52 +00:00
Chris Lattner
35409221bc SparcV8 -> Sparc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25989 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-05 06:26:43 +00:00
Reid Spencer
df3be82dcb Update for including additional function tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25542 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-23 08:15:53 +00:00
Reid Spencer
3484a99ba1 Make sure that libm is used during config tests so that ceil, floor, and
friends are actually detected.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25454 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-19 08:31:08 +00:00
Reid Spencer
f4bb9b1fa7 For PR696:
Add checks for ceil, ceilf, floor, and floorf


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25453 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-19 08:22:40 +00:00
Reid Spencer
6e96d81c87 Implement fix for PR471:
* Add --enable-debug-runtime option, defaults to disabled
* Pass the new config var, DEBUG_RUNTIME, to Makefiles
* Don't use -Wa,-strip-debug if debug-runtime is enabled


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24891 91177308-0d34-0410-b5e6-96231b3b80d8
2005-12-21 03:31:53 +00:00
John Criswell
241116fbad Added the llvm-kernel project to the list of automatically configured
projects.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24865 91177308-0d34-0410-b5e6-96231b3b80d8
2005-12-19 20:27:24 +00:00
Chris Lattner
511f11dccb regenearte
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24351 91177308-0d34-0410-b5e6-96231b3b80d8
2005-11-14 07:25:50 +00:00
Chris Lattner
0b14259eb2 regenerate
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24348 91177308-0d34-0410-b5e6-96231b3b80d8
2005-11-14 06:57:34 +00:00