Douglas Gregor
7cbf816b7c
Define LLVM_NATIVE_ARCH in llvm/Config/config.h to be the LLVM back end that corresponds to the native executable, but only when that LLVM back end is being built
...
llvm-svn: 73590
2009-06-17 00:42:33 +00:00
Owen Anderson
8d0fe6f0d7
Add an atomic increment and decrement implementation, which will be used for
...
thread-safe reference counting.
llvm-svn: 73587
2009-06-17 00:13:00 +00:00
Douglas Gregor
1b731d5dbe
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.
llvm-svn: 73543
2009-06-16 20:12:29 +00:00
Owen Anderson
a149e22c09
Add a configure check for pthread_rwlock_init.
...
llvm-svn: 73523
2009-06-16 18:20:20 +00:00
Nick Lewycky
9ab256ac66
Add a flag to permit disabling libffi.
...
Also, there were a bunch of flags with no text in --help because the square
brackets were in the wrong place. I've fixed those too.
llvm-svn: 72989
2009-06-06 06:24:44 +00:00
Owen Anderson
af5db8335b
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.
llvm-svn: 72140
2009-05-19 22:18:56 +00:00
Owen Anderson
b9509c55fe
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.
llvm-svn: 72075
2009-05-18 23:58:51 +00:00
Douglas Gregor
b81294d989
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.
llvm-svn: 72018
2009-05-18 17:21:34 +00:00
Duncan Sands
ef8c8ec457
Fix typo.
...
llvm-svn: 71656
2009-05-13 13:13:18 +00:00
Douglas Gregor
15436617f4
Add terminal width detection to llvm::sys::Process. This is needed to
...
fix Clang PRs 4148 and 4183.
llvm-svn: 71448
2009-05-11 18:05:52 +00:00
Anton Korobeynikov
101380015c
Dummy MSP430 backend
...
llvm-svn: 70694
2009-05-03 12:57:15 +00:00
Mikhail Glushenkov
2c332fec97
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!
llvm-svn: 69700
2009-04-21 19:46:10 +00:00
Bill Wendling
4d10aae8c2
Revert 69474 and 69475. They are causing failures during a bootstrap on Darwin.
...
llvm-svn: 69478
2009-04-18 21:45:27 +00:00
Mikhail Glushenkov
73e9e021f1
Add a configure check for llvm-gcc (reapply).
...
llvm-svn: 69474
2009-04-18 20:55:28 +00:00
Nick Lewycky
13590cb204
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.
llvm-svn: 69453
2009-04-18 18:11:26 +00:00
Nick Lewycky
3a33c705ef
Detect beagleboard as ARM. The $target is "armv7l".
...
llvm-svn: 69446
2009-04-18 15:34:25 +00:00
Bill Wendling
02b47d9958
Temporarily revert r69438 and r69439. These were causing failures during a
...
release build of llvm.
llvm-svn: 69440
2009-04-18 11:20:33 +00:00
Mikhail Glushenkov
e078105a89
Add a configure check for llvm-gcc.
...
llvm-svn: 69438
2009-04-18 09:57:58 +00:00
David Greene
80f48bd13f
Add a --enable-profiling option to configure to build Debug+Profile and
...
Opt+Profile tools. Now we can profile any kind of flavor we build.
llvm-svn: 69351
2009-04-17 14:49:22 +00:00
Nick Lewycky
e54da991d1
Link against libffi if available, fall back to "no external calls from
...
interpreter mode" when it's not.
llvm-svn: 68937
2009-04-13 04:26:06 +00:00
Nick Lewycky
9a196c0119
Detect that we're building from a git checkout like we do for cvs and svn.
...
Based on a patch by Nicolas Trangez on the unladen-swallow mailing list!
llvm-svn: 68187
2009-04-01 04:39:25 +00:00
Bill Wendling
207495d8ea
Revert r66765 and r66766. These were causing build failures on Darwin.
...
llvm-svn: 66770
2009-03-12 04:10:09 +00:00
Nick Lewycky
ca433d8a84
Set ARCH to x86 on mixed 32/64-bit Linux systems.
...
Remove the explicit if OS = Darwin test around the setting of -m32/-m64.
llvm-svn: 66765
2009-03-12 03:34:19 +00:00
Nick Lewycky
b2f34f6211
Remove configurey-fu to autodetect hash_map and hash_set now that they are
...
no longer used in LLVM.
llvm-svn: 66406
2009-03-09 06:16:26 +00:00
Nick Lewycky
16aac9994b
Autodetect the availability of -export-dynamic in the linker.
...
llvm-svn: 66156
2009-03-05 08:20:21 +00:00
Nick Lewycky
7d01e394ba
Switch to using -Wl,-R on Solaris.
...
llvm-svn: 65927
2009-03-03 04:55:15 +00:00
Chris Lattner
8f9c4e67bb
Search for the export map in a place that it can be found.
...
llvm-svn: 65552
2009-02-26 18:37:59 +00:00
Nick Lewycky
ff8e6dd009
Remove tests for flex/bison which are no longer needed by LLVM.
...
llvm-svn: 65249
2009-02-21 22:36:26 +00:00
Nick Lewycky
7db7eb6e40
Default to building with position independent code. This may increase LLVM's
...
run time but will make LLVM easier to use as a library.
llvm-svn: 65019
2009-02-19 06:18:24 +00:00
Nick Lewycky
a89ec99fa2
Reapply patch from r62553, with a fix to avoid looking for an ffi.h that isn't
...
there.
This changes the interpreter to use libffi. After this patch, the interpreter
will barely be able to call any external functions if built on a system without
libffi installed (just enough to pass 'make check' really). But with libffi,
we can now call any function that isn't variadic or taking a struct or vector
parameter (but pointer to struct is fine). Patch by Alexei Svitkine!
llvm-svn: 63723
2009-02-04 06:26:47 +00:00
Nick Lewycky
edd8946bec
Add the ability to pass the path to binutils source to configure. This is
...
needed to build the LLVM gold plugin.
llvm-svn: 63621
2009-02-03 07:10:08 +00:00
Tanya Lattner
9a8602ce50
Revert r62553 and r62616 due to issues with portability.
...
llvm-svn: 62777
2009-01-22 20:09:20 +00:00
Tanya Lattner
c4b1d8295d
Bump to 2.6svn.
...
Regenerate configure (last regen was with the wrong version).
llvm-svn: 62751
2009-01-22 05:17:59 +00:00
Nick Lewycky
766ac10452
Make the Interpreter use libffi if it's available. Patch from Alexei Svitkine!
...
This requires a rebuild of 'configure' itself. I will be committing that next, but
built with the wrong version of autoconf. Somebody who has the right one, please update
it.
As a side-note, because of the way autoconf works, all built tools will link against
libffi, not just lli. If you know how to fix this, please let me know ...
llvm-svn: 62553
2009-01-20 00:51:40 +00:00
Bill Wendling
8790e3260d
Modify the unittests Makefiles so that they don't rebuild parts of LLVM just to
...
run the tests. Most of this was stolen from the llvm/test Makefiles.
llvm-svn: 61648
2009-01-04 23:12:21 +00:00
Scott Michel
4b12480063
Revert accidental last patch
...
llvm-svn: 59704
2008-11-20 04:28:08 +00:00
Scott Michel
e361f08ab0
CellSPU: Adjust spacing/tabulation
...
llvm-svn: 59703
2008-11-20 04:26:21 +00:00
Richard Osborne
ca08e0645a
Add XCore backend.
...
llvm-svn: 58838
2008-11-07 10:59:00 +00:00
Gordon Henriksen
2289eb89fb
[PR2886] Don't look for ocaml's .opt executables; something in the autoconf/test machinery doesn't handle the period properly.
...
llvm-svn: 57974
2008-10-22 12:40:40 +00:00
Torok Edwin
016fa4cd0d
Fix make check on Solaris 10/x86: the default grep is not GNU grep, same for as.
...
llvm-svn: 57912
2008-10-21 17:21:32 +00:00
Tanya Lattner
a432b2efcf
Fix configure issue where configure
...
turned "obj-c++" into "obj" in the langs line.
Update configure script.
llvm-svn: 57267
2008-10-07 22:21:03 +00:00
Tanya Lattner
355c4019e2
Advance version to 2.5
...
llvm-svn: 57233
2008-10-07 04:35:08 +00:00
Jim Grosbach
009db89513
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.
llvm-svn: 56975
2008-10-02 22:56:44 +00:00
Jim Grosbach
bfc70b050b
When looking for executable extensions, ignore .dSYM, as that's the debug info directory on Darwin.
...
llvm-svn: 56667
2008-09-26 17:27:58 +00:00
Daniel Dunbar
61e0a821cc
Reapply majority of r55557 but with the changes to compilation flags
...
disabled until issues with gcc 4.1 on linux 32-bit are resolved.
llvm-svn: 55636
2008-09-02 17:35:16 +00:00
Matthijs Kooijman
7b704a502b
Revert r55557, it is causing linking failures on 32bit linux.
...
llvm-svn: 55628
2008-09-02 09:51:00 +00:00
Daniel Dunbar
8eec985ac7
Enable -fvisibility-inlines-hidden by default for compilers which
...
support it.
llvm-svn: 55557
2008-08-30 01:16:19 +00:00
Duncan Sands
078791bab3
Set the executable bit - means it can actually
...
be run when installing on sparc sun. Set the
mime type to text/x-sh while there.
llvm-svn: 54165
2008-07-29 18:31:42 +00:00
Matthijs Kooijman
f61fd54237
Make LLVM compile on DragonFly BSD (PR2499).
...
Patch by Hasso Tepper!
llvm-svn: 52781
2008-06-26 10:36:58 +00:00
Matthijs Kooijman
a2509a1a48
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.
llvm-svn: 52675
2008-06-24 13:01:57 +00:00
Anton Korobeynikov
cf3acae26e
For PR1338: rename include/llvm/ADT/ilist and friends to end with ".h"
...
llvm-svn: 51687
2008-05-29 17:41:17 +00:00
Sanjiv Gupta
83a510ca59
Added configure switches for PIC16 in configure.ac.
...
Regenerated configure.
llvm-svn: 51096
2008-05-14 08:03:23 +00:00
Tanya Lattner
b93cfdb48a
Set to 2.4 and regenerate configure.
...
llvm-svn: 50935
2008-05-10 04:20:38 +00:00
Anton Korobeynikov
78695035c4
First step of implementing PR1538: move llvm2cpp logic to new 'target'
...
llvm-svn: 50189
2008-04-23 22:29:24 +00:00
Gordon Henriksen
4486f8b5bb
Adding ocamldoc generation.
...
Patch by Erick Tryzelaar.
llvm-svn: 48147
2008-03-10 15:49:16 +00:00
Gordon Henriksen
eb967e37f2
Prefer to use ocamlc.opt to ocamlc and soforth.
...
These natively compiled versions are faster.
Patch by Erick Tryzelaar!
llvm-svn: 48007
2008-03-07 18:19:47 +00:00
Bill Wendling
5ddd03d88b
Use AC_PATH_PROG correctly:
...
http://www.gnu.org/software/autoconf/manual/autoconf.html#Generic-Programs
llvm-svn: 47943
2008-03-05 09:28:02 +00:00
Devang Patel
f64f7fb1b6
Remove use of ltdl
...
llvm-svn: 47065
2008-02-13 17:11:39 +00:00
Chris Lattner
42e35d4fcc
Make the check for GCC version more robust, fix shared library
...
dependencies in makefile, and fix llvm_cv_no_link_all_option
on darwin.
Patch by Shantonu Sen, more info here:
http://lists.cs.uiuc.edu/pipermail/llvmdev/2008-February/012410.html
llvm-svn: 46760
2008-02-05 19:43:40 +00:00
Tanya Lattner
45746fb284
Update version to 2.3svn
...
Regenerate configure with 2.60.
llvm-svn: 46119
2008-01-17 05:57:22 +00:00
Chris Lattner
6787a45a65
remove attribution from a variety of miscellaneous files.
...
llvm-svn: 45425
2007-12-29 22:59:10 +00:00
Nate Begeman
23ffde507f
Apply CBE/MSIL patch to autoconf
...
llvm-svn: 44980
2007-12-13 02:24:45 +00:00
Duncan Sands
fde556745b
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.
llvm-svn: 44959
2007-12-12 23:03:45 +00:00
Duncan Sands
5c65cb4633
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...
llvm-svn: 44796
2007-12-10 17:43:13 +00:00
Scott Michel
83d54c9ee0
Minor updates:
...
- Fix typo in SPUCallingConv.td
- Credit myself for CellSPU work
- Add CellSPU to 'all' host target list
llvm-svn: 44627
2007-12-05 21:23:16 +00:00
Scott Michel
4834955fdf
More stuff for CellSPU -- this should be enough to get an error-free
...
compilation (no files missing). Test cases remain to be checked in.
llvm-svn: 44598
2007-12-05 02:01:41 +00:00
Devang Patel
e9d786e54d
Add --with-llvmgcc= and --with-llvmgxx= configure options.
...
llvm-svn: 44586
2007-12-04 22:54:47 +00:00
Eric Christopher
e62b441b51
Add target triple to include/llvm/Config/config.h.in. Regenerate all files.
...
llvm-svn: 44478
2007-12-01 00:34:39 +00:00
Gordon Henriksen
485739d801
Fixing a typo in configure.ac.
...
Patch by Adam Goode.
llvm-svn: 42574
2007-10-03 12:06:41 +00:00
Gordon Henriksen
3be1f10097
Providing --with-ocaml-libdir for ./configure. The default is the
...
stdlib if it's beneath --prefix, and is libdir/ocaml otherwise.
If someone has a better way than this to test whether $B is a path
within $A, I'd love to hear it:
if test "$A" \< "$B" -a "$B" \< "${A}~"
llvm-svn: 42532
2007-10-02 16:42:10 +00:00
Gordon Henriksen
61400d1192
Fixing (harmless) typos.
...
llvm-svn: 42528
2007-10-02 10:14:32 +00:00
Gordon Henriksen
d48f4598a4
Add explicit --enable-bindings option to configure.
...
llvm-svn: 42526
2007-10-02 09:50:18 +00:00
Gordon Henriksen
da70a73f28
PR1601: etags not configured correctly
...
Resolving this by deleting vestigal etags remnants.
llvm-svn: 42460
2007-09-29 00:42:21 +00:00
Gordon Henriksen
54fd757f4f
Fix for srcdir <> objdir builds.
...
Thanks Bill.
llvm-svn: 42240
2007-09-22 21:36:22 +00:00
Gordon Henriksen
1f982339e7
Incorporating review feedback for GC verifier patch.
...
llvm-svn: 42163
2007-09-20 16:47:41 +00:00
Gordon Henriksen
c0f56013e1
(no commit message)
...
llvm-svn: 42091
2007-09-18 12:26:59 +00:00
Tanya Lattner
613ccacb49
Fix broken default help strings for enable-shared, enable-static, and enable-fast-install. Regenerate configure script.
...
llvm-svn: 42066
2007-09-17 21:41:15 +00:00
Tanya Lattner
36a6fcd327
Change to 2.2svn.
...
llvm-svn: 41941
2007-09-14 01:24:13 +00:00
Chris Lattner
855ab6591f
add mips target to builder. I'd appreciate it if someone with
...
the right version of autoconf could regenerate the configure script.
llvm-svn: 41172
2007-08-19 20:45:10 +00:00
Reid Spencer
83bcd76596
Fix PR1606:
...
The AC_CHECK_HEADER macro was used instead of AC_CHECK_HEADERS. The former does
not automatically add a #define to the configure variables while the latter
does. Consequently, the HAVE_PTHREAD_H symbol was not defined which caused the
Mutex.cpp file to compile to an empty implementation.
llvm-svn: 41137
2007-08-17 05:44:59 +00:00
Anton Korobeynikov
7ac2521021
Add detection of __dso_handle presence during configure. Use this information in the
...
JITer (short path is added for darwin). This is needed to properly JIT llvm-gcc-4.2-built
binaries, since cxa_atexit is enabled by default on much more targets.
llvm-svn: 40600
2007-07-30 20:02:02 +00:00
Andrew Lenharth
7c14110757
support poolalloc as checked out from svn
...
llvm-svn: 39983
2007-07-17 20:37:35 +00:00
Gabor Greif
f307d942ec
* llvm.spec.in: update blurb
...
* autoconf/AutoRegen.sh: use variables for autofoo versions
* autoconf/configure.ac: test for some more functions
that are not guaranteed on solaris
Note: the svn:mime-type of autoconf/AutoRegen.sh
should be set to something that allows for
text compares using svn diff
llvm-svn: 39800
2007-07-13 09:48:29 +00:00
Reid Spencer
e18131afd4
cvs -> svn
...
llvm-svn: 38443
2007-07-09 08:09:21 +00:00
Anton Korobeynikov
510dfdaa0d
Revert last change until issue reported by Owen, won't be fixed.
...
llvm-svn: 37854
2007-07-03 17:16:46 +00:00
Anton Korobeynikov
76f70dc838
Rename llvm-test => test-suite. By Dave Greene.
...
llvm-svn: 37852
2007-07-03 17:01:58 +00:00
John Criswell
2660cef6d7
Convert .cvsignore files
...
llvm-svn: 37801
2007-06-29 16:35:07 +00:00
David Greene
cbc8ddf81a
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.
llvm-svn: 37777
2007-06-28 19:36:08 +00:00
Reid Spencer
ce90cbb5e1
Make Perl a required dependency and cause configure script to fail if it
...
is not found.
llvm-svn: 37164
2007-05-17 18:06:19 +00:00
Tanya Lattner
dbe7487618
Bump version number in cvs
...
llvm-svn: 36920
2007-05-08 04:22:59 +00:00
Reid Spencer
3a67710034
Add support for determining which languages the llvm-gcc front end
...
supports.
llvm-svn: 36319
2007-04-21 21:28:12 +00:00
Reid Spencer
5f6ee131b1
Hack the shared library extension for dylib. The existing code just looks
...
plain wrong since $module was never defined so we always get .so which is
broken on Darwin. Just force it to .dylib.
llvm-svn: 35873
2007-04-11 00:33:43 +00:00
Reid Spencer
18c121d55d
Check for .svn directories too to determine if a debug build is appropriate.
...
llvm-svn: 35595
2007-04-02 15:40:39 +00:00
Reid Spencer
1a48abc2d4
For PR1283:
...
Change the llvm-gcc sanity check to look for "target datalayout" instead
of "implementation". The implementation keyword is no longer generated
by llvm or llvm-gcc.
llvm-svn: 35451
2007-03-29 15:37:57 +00:00
Anton Korobeynikov
aa3090d815
Let the new backend begin!
...
llvm-svn: 35242
2007-03-21 21:38:25 +00:00
Anton Korobeynikov
d01defedf6
Add possibility to set memory limit for binaries run via libSystem. This
...
is especially needed for bugpoint. This partly implements PR688
llvm-svn: 34349
2007-02-16 19:11:07 +00:00
Reid Spencer
75062bcd80
Fix the TARGET_HAS_JIT settings. Sparc doesn't, x86_64 does, ARM doesn't.
...
llvm-svn: 33421
2007-01-21 06:41:11 +00:00
Reid Spencer
f7defa1c5f
Add support for the ARM target in the target configuration processing.
...
llvm-svn: 33418
2007-01-21 06:31:55 +00:00
Reid Spencer
78adb9d16f
For PR808:
...
Add support for NetBSD.
llvm-svn: 33405
2007-01-20 20:43:35 +00:00
Anton Korobeynikov
4480ec3513
Cleanup
...
llvm-svn: 33391
2007-01-20 07:40:26 +00:00
Anton Korobeynikov
3e956974b3
Adding disassembler interface and external hook to udis86 library.
...
llvm-svn: 33358
2007-01-19 17:25:17 +00:00
Reid Spencer
b4e0f9b52e
For PR1074:
...
Adjust configuration for Stacker's new name: llvm-stacker.
llvm-svn: 33277
2007-01-17 02:14:46 +00:00
Jeff Cohen
c5e5b27573
'==' is not a legal test operator on BSD. Use '='.
...
llvm-svn: 33126
2007-01-12 18:22:38 +00:00
Reid Spencer
bf671f17cb
Fix a configure warning noticed by Duncan Sands.
...
llvm-svn: 32844
2007-01-03 20:59:52 +00:00
Reid Spencer
b68935a947
Add a new variable, LLVMGCCLIBEXEC to get the libexec directory where the
...
cc1 and cc1plus executables live.
llvm-svn: 32738
2006-12-21 22:55:41 +00:00
Reid Spencer
05a1fe5bf5
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.
llvm-svn: 32635
2006-12-16 22:07:52 +00:00
Anton Korobeynikov
3b7c257cae
Cleaned setjmp/longjmp lowering interfaces. Now we're producing right
...
code (both asm & cbe) for Mingw32 target.
Removed autoconf checks for underscored versions of setjmp/longjmp.
llvm-svn: 32415
2006-12-10 23:12:42 +00:00
Chris Lattner
060750b731
this warning is obsolete with llvmgcc3 being gone
...
llvm-svn: 32349
2006-12-08 05:03:54 +00:00
Reid Spencer
2ffc3d25d0
Expose the sanity.
...
llvm-svn: 32193
2006-12-04 20:28:07 +00:00
Reid Spencer
d43999259b
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.
llvm-svn: 32054
2006-12-01 00:37:14 +00:00
Reid Spencer
4b8067f37b
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.
llvm-svn: 31807
2006-11-17 03:32:33 +00:00
Reid Spencer
3f97d03f86
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.
llvm-svn: 31793
2006-11-16 23:17:27 +00:00
Tanya Lattner
2bf78ba87d
Bumping version number
...
llvm-svn: 31491
2006-11-07 05:31:00 +00:00
Reid Spencer
d549edc2cc
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.
llvm-svn: 31461
2006-11-05 17:08:18 +00:00
Reid Spencer
7b7ab9c59a
Make the huge_val test run a C++ program not C
...
llvm-svn: 31422
2006-11-03 19:49:16 +00:00
Reid Spencer
128ae10611
Add a check to see if HUGE_VAL is sane or not.
...
llvm-svn: 31416
2006-11-03 18:04:08 +00:00
Chris Lattner
7a7081f3d0
Fix misleading warning message
...
llvm-svn: 30689
2006-10-02 17:23:42 +00:00
Reid Spencer
d28c7c87d7
Add a HAVE_MACH_MACH_H #define to detect the presence of the mach/mach.h
...
header file on Darwin.
llvm-svn: 30319
2006-09-14 06:17:21 +00:00
Reid Spencer
917cf12928
For PR738:
...
Demote check for bison from error to warning and make sure that the
makefile can handle an empty definition for BISON variable.
llvm-svn: 29861
2006-08-24 22:41:20 +00:00
Reid Spencer
e9a405685d
Add irix as a (potential) new platform so that Timothy Baldridge can
...
(hopefully) provide support for it.
llvm-svn: 29833
2006-08-22 22:21:38 +00:00
Reid Spencer
1277ba22b8
Add llvm.spec to the list of files to be configured.
...
Remove the search for etags. Nothing in LLVM uses it any more.
llvm-svn: 29718
2006-08-16 00:45:38 +00:00
Reid Spencer
5f55c21d80
For PR876:
...
Fix problem setting the USE_{program} variable. It should be set to a
Makefile variable definition line, not just "1". Problem noted by
Kenneth Hoste.
llvm-svn: 29682
2006-08-14 23:19:57 +00:00
Reid Spencer
df2e100063
For PR876:
...
Fix problem noticed by Kenneth Hoste. The wrong name for a variable was
being set and subsequently uses of the correct name were empty.
llvm-svn: 29681
2006-08-14 23:15:03 +00:00
Evan Cheng
545aaa6bb9
Recover the lost diff between 1.5 and 1.6.
...
llvm-svn: 29577
2006-08-09 05:38:51 +00:00
Reid Spencer
0b52e2f433
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.
llvm-svn: 29529
2006-08-04 18:18:08 +00:00
Reid Spencer
84749edc34
Fix the --with-extra-options to use the correct variable.
...
llvm-svn: 29403
2006-07-28 22:50:07 +00:00
Reid Spencer
9372247ed5
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).
llvm-svn: 29381
2006-07-28 05:05:00 +00:00
Reid Spencer
eca6f7320e
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!
llvm-svn: 29368
2006-07-27 23:00:30 +00:00
Chris Lattner
91fe1b4937
Bump version #
...
llvm-svn: 29327
2006-07-27 04:58:33 +00:00
Reid Spencer
0aa9d00ba0
For PR814:
...
Provide support for making cross-compiling builds. See the PR for details.
Patch provided by Anton Korobeynikov. Thanks, Anton!
llvm-svn: 29309
2006-07-26 21:14:56 +00:00
Reid Spencer
1d0ebb9eb7
Remove an extraneous use of ${ac_exeext}. Patch by Anton Korobeynikov.
...
llvm-svn: 29306
2006-07-26 21:08:09 +00:00
Reid Spencer
3197274203
For PR814:
...
Add a macro for getting the build host extension for executable. Patch
contributed by Anton Korobeynikov. Thanks!
llvm-svn: 29304
2006-07-26 20:45:12 +00:00
Evan Cheng
5df72aa84e
Fixed a typo.
...
llvm-svn: 29010
2006-07-06 07:46:33 +00:00
Evan Cheng
a7bd00b451
Added --with-extra-options=opts to specify additional options to build LLVM and run tests.
...
llvm-svn: 28882
2006-06-20 22:16:32 +00:00
John Criswell
08907c7e39
Added the privbracket project to the list of projects to auto-configure.
...
llvm-svn: 28870
2006-06-20 17:44:40 +00:00
Reid Spencer
a31ac4eae9
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! :)
llvm-svn: 28686
2006-06-05 16:11:07 +00:00
Reid Spencer
627023a491
Some enhancements for gv/graphviz/dot/dotty support and better handling of
...
paths under MingW.
llvm-svn: 28685
2006-06-05 15:54:38 +00:00
Reid Spencer
432b315843
For PR798:
...
Have configure find the "dotty" program and adjust configuration.
llvm-svn: 28674
2006-06-02 23:13:18 +00:00
Reid Spencer
187b4adcfe
Provide configuration support and usage for MINGW32 platform
...
llvm-svn: 28639
2006-06-01 19:03:21 +00:00
Reid Spencer
8273cdb754
Make sure windows.h is #included first.
...
llvm-svn: 28637
2006-06-01 17:44:29 +00:00
Reid Spencer
e62348f401
Make sure that when checking for MINGW32 libraries we ask for windows.h
...
llvm-svn: 28631
2006-06-01 17:16:20 +00:00
Reid Spencer
a16b986df5
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.
llvm-svn: 28628
2006-06-01 16:55:59 +00:00
Reid Spencer
f659e70041
Tighten this script up a bit.
...
llvm-svn: 28608
2006-06-01 01:08:28 +00:00
Reid Spencer
cb10fdc74d
For PR784:
...
Support Win32 platforms for llvm-gcc path. Patch by Anton Korobeynikov
llvm-svn: 28426
2006-05-21 10:40:20 +00:00
Reid Spencer
40f1b1321d
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.
llvm-svn: 28325
2006-05-16 08:53:32 +00:00
Rafael Espindola
ffdc24b847
added a skeleton of the ARM backend
...
llvm-svn: 28301
2006-05-14 22:18:28 +00:00
Reid Spencer
357f3e8231
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.
llvm-svn: 28180
2006-05-09 00:31:01 +00:00
Reid Spencer
bb0be98fed
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'".
llvm-svn: 27990
2006-04-27 07:49:24 +00:00
Reid Spencer
aff245875b
Configure llvm-config in tools, not utils.
...
llvm-svn: 27919
2006-04-20 22:15:30 +00:00
Chris Lattner
8fe3dbceb0
Never build SparcV9
...
llvm-svn: 27883
2006-04-20 17:01:19 +00:00