Commit Graph

250 Commits

Author SHA1 Message Date
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