1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 04:22:57 +02:00
Commit Graph

79 Commits

Author SHA1 Message Date
John Criswell
b13b431a6e Added check for target machine endian-ness and put the result into
Makefile.config (ENDIAN variable is set to big or little).

llvm-svn: 11398
2004-02-13 21:57:29 +00:00
John Criswell
bb53985f14 Added support for configuring SPEC95.
llvm-svn: 11295
2004-02-10 22:29:06 +00:00
Brian Gaeke
ac67b5f439 Move rules for regenerating autoconf files into this shell script.
llvm-svn: 11186
2004-02-08 07:44:48 +00:00
Brian Gaeke
a034c6e129 Add autoconf check for the version of etags we have detected, and select
appropriate "force C++" command-line option.

llvm-svn: 10963
2004-01-22 21:55:15 +00:00
Brian Gaeke
87ef646f73 Get the shlib suffix from Libtool, and define it both in config.h and Makefile.config as SHLIBEXT.
llvm-svn: 10932
2004-01-21 19:38:56 +00:00
Brian Gaeke
deffc81af0 Get paths to cc1 and cc1plus by asking llvm-gcc, and AC_SUBST them.
llvm-svn: 10901
2004-01-16 21:31:22 +00:00
Brian Gaeke
1c65ca3a84 Remove configure support for endianness checking, the need for which
Chris has helpfully expunged.

llvm-svn: 10873
2004-01-15 06:22:37 +00:00
Brian Gaeke
2f083850ae Remove and/or shorten many comments in configure.ac.
Remove checks for many common Unix programs. Our build process currently
assumes they are there and makes no provisions for any other world-views.
(We can add some of these checks back at some later time if it should prove
useful, but right now, we do not need to check to see whether "rm" exists.)

Remove checks for many common standard C headers and functions. We assume
ISO/ANSI C++, and we always use the <cfoo> versions of ANSI C's <foo.h>
headers, so these checks will not help anything.

Edit configure's warning messages for clarity and content.

Change checks for "optional" programs to default to using "true" instead of
"false", so that a failure to find, e.g., etags, will be less likely to result
in make failing.

No longer shall we check for --enable-purify or --with-purify options.
No longer shall we propagate these to the Makefiles.

configure regenerated using autoconf-2.57.

Please feel free to send me any questions or comments you have. :-)

llvm-svn: 10814
2004-01-13 06:43:16 +00:00
John Criswell
e6439708ea The configure script now defines BISON as the name of the bison program and
YACC as bison -y.  In this way, we ensure that bison is being used, but
the Makefiles have macros for using bison itself and for getting bison to
act like it is traditional yacc.

llvm-svn: 10774
2004-01-12 16:14:54 +00:00
John Criswell
848114f89b Moved aclocal.m4 to acinclude.m4. To re-generate the configure script,
do the following:
% cd llvm/autoconf
% aclocal
% autoconf -o ../configure

This changes facilitaties the following:
1) It should be easier to incorporate new autoconf macros.
2) It allows for conversion to Automake (should we ever desire it).

llvm-svn: 10655
2003-12-30 17:50:54 +00:00
Alkis Evlogimenos
1ee3f839f8 Fix help string for --enable-spec2000 option
llvm-svn: 10564
2003-12-20 21:35:15 +00:00
John Criswell
0659bb0c4a Merged in RELEASE_11.
llvm-svn: 10516
2003-12-18 16:43:17 +00:00
John Criswell
5c3d9dc749 Don't configure directories that don't have a configure script (i.e Stacker).
llvm-svn: 10436
2003-12-12 20:09:33 +00:00
Brian Gaeke
35bc966ddd Add check for pthread_mutex_lock() in -lpthread (or otherwise).
Regenerated configure w/ autoconf-2.57.

llvm-svn: 10293
2003-12-05 19:29:01 +00:00
John Criswell
5cd87ea6e5 Configure all project directories contained in llvm/projects.
The autoconf program will generate a warning about how we should use a
literal in AC_CONFIG_SUBDIRS.  This warning can be ignored.

llvm-svn: 10222
2003-11-25 20:36:46 +00:00
John Criswell
d863a27b67 Added a pseudo-hack: The Makefile now copies Makefiles from source tree to
object tree if it is missing.  This means that new Makefiles should get
picked up automagically, requiring less bothersome re-configuring after
updates.

llvm-svn: 10209
2003-11-25 17:49:22 +00:00
Brian Gaeke
abf9671ce8 Add Stacker directories.
llvm-svn: 10190
2003-11-24 02:54:17 +00:00
Brian Gaeke
233a71f1a9 Fix breakage caused by typos. Use 3-arg form of AC_DEFINE.
llvm-svn: 10062
2003-11-18 06:19:27 +00:00
John Criswell
76cc76b529 Added a check for the -R linker option.
llvm-svn: 10056
2003-11-17 19:46:02 +00:00
Brian Gaeke
b439de997b Edit some comments slightly.
Set OS (build OS) and ARCH (target arch) based on the proper elements (SYSTEM,
 and CPU, respectively) of the CPU-COMPANY-SYSTEM tuples.
Add OS and ARCH settings for PowerPC/Darwin (Mac OS X).

llvm-svn: 10047
2003-11-17 00:30:48 +00:00
Brian Gaeke
736942d3b2 Only default to the llvm-gcc in ~lattner if that directory exists.
Only warn if python version is not right; don't abort.
Add sanity checks for --with-llvmgccdir, with a big warning message at the end.

llvm-svn: 10024
2003-11-16 18:37:46 +00:00
Misha Brukman
f7ad9bb6c5 OK, scratch my last post, this actually *does* work, those syntax errors were
imaginary.

llvm-svn: 9941
2003-11-12 22:16:23 +00:00
Misha Brukman
75d39570c7 Apparently adding these entries and regenerating llvm/configure results in
syntax errors. Reverting the patch until I can figure out what's going on.

llvm-svn: 9939
2003-11-12 21:51:44 +00:00
Misha Brukman
765b1d6f3d Some programs actually require an input to run. The nerve!
llvm-svn: 9938
2003-11-12 21:45:04 +00:00
Misha Brukman
5b038ffe98 Add FreeBench benchmarks to our test suite -- they weren't available by default
before when one didn't build in his source root.

llvm-svn: 9924
2003-11-12 19:39:10 +00:00
Brian Gaeke
a991f7709e I don't think this was supposed to have gotten into the namespaceify patch, but
it did. Oops!

llvm-svn: 9908
2003-11-12 01:11:54 +00:00
Brian Gaeke
d25f86d683 Put all LLVM code into the llvm namespace, as per bug 109.
llvm-svn: 9903
2003-11-11 22:41:34 +00:00
Brian Gaeke
c06f31a815 Patch to fix PR102, contributed by Reid Spencer.
llvm-svn: 9849
2003-11-10 03:06:09 +00:00
Chris Lattner
efa0c7e472 Add profiling runtime and llvm-prof tools. Would someone please regen the
configure script for me?  :)

llvm-svn: 9553
2003-10-28 19:17:11 +00:00
Brian Gaeke
42de76c728 Do not check for strings.h. This is an old, old, old pre-C89 header that
absolutely nothing should be using (and it looks like nothing IS using it).

llvm-svn: 9381
2003-10-22 17:52:56 +00:00
Misha Brukman
c2f0ea4cf1 Added an entry for `llvm-nm'.
llvm-svn: 9154
2003-10-16 16:12:04 +00:00
John Criswell
3e6d68f570 Added autoconf support for the sample project.
llvm-svn: 9152
2003-10-16 01:49:07 +00:00
John Criswell
1cee7eb4a6 Adding additional license information to these files.
llvm-svn: 9102
2003-10-13 20:34:27 +00:00
John Criswell
ff4e11b823 Added a macro and code that checks for the %a format string in sprintf().
llvm-svn: 9089
2003-10-13 16:22:01 +00:00
Brian Gaeke
3568966aa6 The code that called strsignal is toast.
llvm-svn: 9015
2003-10-10 17:04:43 +00:00
John Criswell
3b63013cd0 Added the eon and perlbmk benchmarks.
llvm-svn: 8995
2003-10-10 01:11:54 +00:00
John Criswell
a43819053c Added 177.mesa to the list of Makefiles to propogate to the object root.
llvm-svn: 8981
2003-10-09 15:44:28 +00:00
Brian Gaeke
58114a907c test/Programs/NoSource and www are gone from the tree; don't try to configure
their Makefiles.

llvm-svn: 8975
2003-10-08 21:48:26 +00:00
Brian Gaeke
730c899b43 Use 3-arg form of AC_DEFINE.
llvm-svn: 8974
2003-10-08 21:45:58 +00:00
Brian Gaeke
766a1fe79d Use 3-arg form of AC_DEFINE.
Check for strsignal(), which isn't found everywhere, and sys_siglist,
 which can be used to implement it.

llvm-svn: 8973
2003-10-08 21:44:07 +00:00
John Criswell
fb5c9bdf58 Renamed -use-spec to -use-spec2000.
The pathname to SPEC2000 is now given with the -use-spec2000 option.
On our machines, SPEC2000 will be enabled by default.

llvm-svn: 8949
2003-10-07 21:57:39 +00:00
Brian Gaeke
6f4e769784 Fix bugs in mmap()-of-files test program on Mac OS X:
1) MAP_FAILED is declared to be a pointer
2) can't include sys/mman.h before sys/types.h without getting an error :-(

llvm-svn: 8947
2003-10-07 21:33:27 +00:00
John Criswell
80a765254b Switching over to the new test database.
Adding new qmt files should no longer be necessary.
QMTest should know just "magically" know what sort of test each file is.

llvm-svn: 8945
2003-10-07 21:13:47 +00:00
Brian Gaeke
6d8352167d Don't abort if dlopen cannot be found; it's not like it's going to break
everything.

llvm-svn: 8916
2003-10-07 05:03:36 +00:00
Brian Gaeke
c81f2ee339 Check for functions: strtoq, strtoll.
llvm-svn: 8915
2003-10-07 03:56:29 +00:00
Chris Lattner
e315e99799 Changes for the move of the support directory back into utils
llvm-svn: 8885
2003-10-06 02:09:25 +00:00
John Criswell
fd787906e4 Removed the check for purify as we don't support its use at present.
llvm-svn: 8824
2003-10-02 19:02:30 +00:00
John Criswell
20f94778fe Removed Makefile for CompileFail tests. They are now run by QMTest and are
located under llvm/test/Regression/C++Frontend.

llvm-svn: 8791
2003-09-30 19:41:15 +00:00
John Criswell
2ff9680cfc Added conditional configuration of poolalloc.
llvm-svn: 8765
2003-09-30 16:31:48 +00:00
John Criswell
c36a2b324e Added the ability to conditionally configure the reopt project if it is checked
out under projects/reopt.

llvm-svn: 8762
2003-09-30 15:55:44 +00:00