Jim Grosbach
659f1ab77f
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
4e4fca3dfe
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
767a0be71c
Enable -fvisibility-inlines-hidden by default for compilers which
...
support it.
llvm-svn: 55557
2008-08-30 01:16:19 +00:00
Matthijs Kooijman
b1217bdbb0
Make LLVM compile on DragonFly BSD (PR2499).
...
Patch by Hasso Tepper!
llvm-svn: 52781
2008-06-26 10:36:58 +00:00
Tanya Lattner
84ca4e44d4
Regenerate configure.
...
llvm-svn: 52685
2008-06-24 17:49:13 +00:00
Matthijs Kooijman
cc3a96959e
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
1611bc6148
Regenerate
...
llvm-svn: 51688
2008-05-29 17:41:34 +00:00
Sanjiv Gupta
caa3e97bf0
Added configure switches for PIC16 in configure.ac.
...
Regenerated configure.
llvm-svn: 51096
2008-05-14 08:03:23 +00:00
Sanjiv Gupta
c2219bf493
Added configure switches for PIC16 backend.
...
llvm-svn: 51056
2008-05-13 17:37:32 +00:00
Tanya Lattner
a449142a0a
Set to 2.4 and regenerate configure.
...
llvm-svn: 50935
2008-05-10 04:20:38 +00:00
Anton Korobeynikov
193b7db7c7
First step of implementing PR1538: move llvm2cpp logic to new 'target'
...
llvm-svn: 50189
2008-04-23 22:29:24 +00:00
Gordon Henriksen
254e583d41
Regenerate.
...
llvm-svn: 48148
2008-03-10 15:49:38 +00:00
Gordon Henriksen
70e9669cbe
Regenerate.
...
llvm-svn: 48008
2008-03-07 18:20:01 +00:00
Bill Wendling
dfa3472e4e
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
8190e4fbe0
Remove use of ltdl
...
llvm-svn: 47065
2008-02-13 17:11:39 +00:00
Chris Lattner
264514cacf
regenerate
...
llvm-svn: 46761
2008-02-05 19:43:53 +00:00
Tanya Lattner
b6fbd179ff
Update version to 2.3svn
...
Regenerate configure with 2.60.
llvm-svn: 46119
2008-01-17 05:57:22 +00:00
Nate Begeman
4ed8846083
Do not build CBackend and MSIL regardless of configured targets
...
llvm-svn: 44973
2007-12-13 01:18:52 +00:00
Duncan Sands
47526c4a42
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
1279851352
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
c97ac0caae
Regenerated configure after autoconf/configure.ac change.
...
llvm-svn: 44628
2007-12-05 21:24:02 +00:00
Devang Patel
4a2f540614
Add --with-llvmgcc= and --with-llvmgxx= configure options.
...
llvm-svn: 44586
2007-12-04 22:54:47 +00:00
Eric Christopher
38baa024f5
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
5d52ac7333
Regenerate.
...
llvm-svn: 42575
2007-10-03 12:07:14 +00:00
Gordon Henriksen
24d20858a3
Regenerate.
...
llvm-svn: 42533
2007-10-02 16:42:22 +00:00
Gordon Henriksen
e0dd0f370b
Regenerate.
...
llvm-svn: 42529
2007-10-02 10:14:42 +00:00
Gordon Henriksen
09e727238d
Regenerate.
...
llvm-svn: 42527
2007-10-02 09:50:32 +00:00
Gordon Henriksen
1a3022630d
Regenerate.
...
llvm-svn: 42461
2007-09-29 00:42:56 +00:00
Gordon Henriksen
dfcd4b7fb0
Regenerate.
...
llvm-svn: 42241
2007-09-22 21:36:59 +00:00
Gordon Henriksen
da794b0885
Regenerate.
...
llvm-svn: 42164
2007-09-20 16:48:18 +00:00
Gordon Henriksen
e37b21e71e
Regenerate.
...
llvm-svn: 42092
2007-09-18 12:27:13 +00:00
Tanya Lattner
8748fd73b2
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
d189942f01
Change to 2.2svn.
...
llvm-svn: 41941
2007-09-14 01:24:13 +00:00
Tanya Lattner
69a679a481
Updating configure script to enable MIPS.
...
llvm-svn: 41568
2007-08-29 16:38:16 +00:00
Reid Spencer
916a665ec0
Regenerate.
...
llvm-svn: 41138
2007-08-17 05:45:26 +00:00
Reid Spencer
ed1fa44d75
Regenerate for __dso_handle, per Anton's request.
...
llvm-svn: 40601
2007-07-30 20:13:24 +00:00
Andrew Lenharth
33ca3e893b
support poolalloc as checked out from svn
...
llvm-svn: 39983
2007-07-17 20:37:35 +00:00
Reid Spencer
09aba24630
Regenerate to pick up Gabor's changes.
...
llvm-svn: 39802
2007-07-13 10:05:30 +00:00
Reid Spencer
ac3cda8aef
Regenerate.
...
llvm-svn: 38444
2007-07-09 08:10:07 +00:00
Anton Korobeynikov
c385bd14fd
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
8aaab94fa2
Rename llvm-test => test-suite. By Dave Greene.
...
llvm-svn: 37852
2007-07-03 17:01:58 +00:00
David Greene
370ff247c8
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
1bb031d76d
Regenerate.
...
llvm-svn: 37166
2007-05-17 18:11:03 +00:00
Tanya Lattner
754c095841
Bumping cvs version number
...
llvm-svn: 36922
2007-05-08 04:32:07 +00:00
Reid Spencer
d935f8854e
Regenerate for detection of llvm-gcc supported languages
...
llvm-svn: 36320
2007-04-21 21:28:52 +00:00
Reid Spencer
903e69badf
Hopefully fix LTDL_SHLIB_EXT on Darwin
...
llvm-svn: 35872
2007-04-11 00:27:39 +00:00
Reid Spencer
81c42ca3f6
Regenerate.
...
llvm-svn: 35596
2007-04-02 15:41:39 +00:00
Reid Spencer
e348ebeb40
Regenerate for PR1283 fix.
...
llvm-svn: 35452
2007-03-29 15:38:33 +00:00
Anton Korobeynikov
bc43d296b2
Let the new backend begin!
...
llvm-svn: 35242
2007-03-21 21:38:25 +00:00
Reid Spencer
5c9a15dd28
Regenerate for getrlimit/setrlimit.
...
llvm-svn: 34350
2007-02-16 19:17:20 +00:00
Reid Spencer
0f2028f0a6
Regenerate.
...
llvm-svn: 33422
2007-01-21 06:42:03 +00:00
Reid Spencer
bd8ce447a1
For PR1128:
...
Regenerate for ARM support.
llvm-svn: 33419
2007-01-21 06:32:59 +00:00
Reid Spencer
96e930ef5d
For PR808:
...
Regenerate to include NetBSD.
llvm-svn: 33407
2007-01-20 20:45:39 +00:00
Reid Spencer
c28aad7e3a
Regenerate for Anton Korobeynikov.
...
llvm-svn: 33392
2007-01-20 07:48:49 +00:00
Reid Spencer
3e9cf16cb6
Add the check for udis86 to support disassembly.
...
Regenerated for Anton Korobeynikov.
llvm-svn: 33360
2007-01-19 17:41:47 +00:00
Reid Spencer
78617426a0
For PR1074:
...
Adjust configuration for Stacker's new name: llvm-stacker.
llvm-svn: 33277
2007-01-17 02:14:46 +00:00
Jeff Cohen
13f3b02fca
'==' is not a legal test operator on BSD. Use '='.
...
llvm-svn: 33126
2007-01-12 18:22:38 +00:00
Reid Spencer
cfed147c95
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
758736b8df
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
Reid Spencer
fe7dfe16ee
Regenerate.
...
llvm-svn: 32416
2006-12-10 23:29:19 +00:00
Reid Spencer
9811f4e99f
Regenerate.
...
llvm-svn: 32350
2006-12-08 05:06:28 +00:00
Reid Spencer
29d42331ad
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
788d8ef578
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
77422c102b
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
ce1ab293d2
Updating configure script for 2.0
...
llvm-svn: 31715
2006-11-14 00:59:52 +00:00
Reid Spencer
ac23a62ab3
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
45c30d6827
Make the huge_val test run a C++ program not C
...
llvm-svn: 31422
2006-11-03 19:49:16 +00:00
Reid Spencer
4b9f2de647
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
d9818dd9a2
fix misleading warning
...
llvm-svn: 30690
2006-10-02 17:24:55 +00:00
Reid Spencer
2a3ab75d50
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
45b86c1ebe
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
1a229fcae9
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
b3db4e3851
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
Evan Cheng
4e5d980dec
Recover the lost diff between 1.221 and 1.222.
...
llvm-svn: 29578
2006-08-09 05:40:14 +00:00
Reid Spencer
982a99456c
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
43cbd39dd0
Fix the --with-extra-options to use the correct variable.
...
llvm-svn: 29403
2006-07-28 22:50:07 +00:00
Reid Spencer
050434f25b
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
dc6201bb05
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
Reid Spencer
b03f452544
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
Evan Cheng
1f41d03cbc
Fixed a typo.
...
llvm-svn: 29010
2006-07-06 07:46:33 +00:00
Evan Cheng
e5de64c777
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
5e813f0323
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
f640054d89
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
5b66af25d5
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
6587691f1e
For PR798:
...
Have configure find the "dotty" program and adjust configuration.
llvm-svn: 28674
2006-06-02 23:13:18 +00:00
Reid Spencer
b41365509f
Provide configuration support and usage for MINGW32 platform
...
llvm-svn: 28639
2006-06-01 19:03:21 +00:00
Reid Spencer
a1e510de08
Make sure windows.h is #included first.
...
llvm-svn: 28637
2006-06-01 17:44:29 +00:00
Reid Spencer
88f7fe4aae
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
acdd4a2bf8
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
f628e4e774
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
a26f7f4966
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
dd49dfc0df
added a skeleton of the ARM backend
...
llvm-svn: 28301
2006-05-14 22:18:28 +00:00
Reid Spencer
9e06c1b17f
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
8332255d07
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
9c2a65de0e
Configure llvm-config in tools, not utils.
...
llvm-svn: 27919
2006-04-20 22:15:30 +00:00
Chris Lattner
440a07f14e
Never build SparcV9
...
llvm-svn: 27883
2006-04-20 17:01:19 +00:00
Reid Spencer
1c46fc49e1
Allow OpenBSD to be recognized as a UNIX platform.
...
llvm-svn: 27848
2006-04-19 23:47:16 +00:00
Chris Lattner
efdb58d23e
Regenerate
...
llvm-svn: 27838
2006-04-19 18:38:19 +00:00
Reid Spencer
79402c889b
Ahem. HEAD -> 1.8cvs not 1.7 (I'm an idiot).
...
llvm-svn: 27687
2006-04-14 03:01:27 +00:00
Reid Spencer
bdce815d08
remove the "cvs" part of the version number for the release branch.
...
llvm-svn: 27686
2006-04-14 02:55:43 +00:00