1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00
Commit Graph

309 Commits

Author SHA1 Message Date
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
52140a0daa Tighten this script up a bit.
llvm-svn: 28608
2006-06-01 01:08:28 +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
640a59bc0d When on darwin, compiler_flags need to be percolated down to the 'gcc -r'
command line so that relinked .o files can be built universal.

llvm-svn: 27837
2006-04-19 18:34:41 +00:00
Reid Spencer
04ccc317bc Make it possible to default the llvm_src and llvm_obj variables based on
the arguments to the macro. This better supports the AutoRegen.sh script
in projects/sample/autoconf.

llvm-svn: 27797
2006-04-18 06:25:37 +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
Reid Spencer
feb41c9080 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.

llvm-svn: 27548
2006-04-09 20:42:14 +00:00
Reid Spencer
cfc429b2e8 Ensure that the automatic "CVS build" detection works for both
objdir == srcdir and objdir != srcdir.

llvm-svn: 27516
2006-04-08 01:41:26 +00:00
Reid Spencer
24021a2c49 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.

llvm-svn: 27487
2006-04-07 16:01:51 +00:00
Reid Spencer
750a186e86 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.

llvm-svn: 27461
2006-04-06 22:00:36 +00:00
Reid Spencer
fa5014e918 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.

llvm-svn: 27005
2006-03-23 23:21:29 +00:00
Reid Spencer
5b747af8e1 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.

llvm-svn: 26952
2006-03-22 15:59:55 +00:00
Chris Lattner
c306a9bed9 Use -emit-llvm -S to get .ll file output from llvm-gcc
llvm-svn: 26397
2006-02-27 05:39:00 +00:00
Chris Lattner
f45c17e51d don't build the skeleton target
llvm-svn: 26237
2006-02-16 21:11:49 +00:00
Duraid Madina
b510fdd272 reverting previous change, will add support for other compilers later
llvm-svn: 26211
2006-02-15 07:57:42 +00:00
Duraid Madina
4c6740419b previously, configure would die if GCC or ICC was not found. Now it'll
go through, but we do want to know if we're using GCC/ICC since they
share certain funky command line options (for dependency generation
stuff)

llvm-svn: 26198
2006-02-15 03:15:55 +00:00
Chris Lattner
f6080adc01 SparcV8 -> Sparc
llvm-svn: 25988
2006-02-05 05:56:51 +00:00
Duraid Madina
8fcb65e8fb don't need this any more; the "#define hashes to trees" hack is coming
llvm-svn: 25531
2006-01-23 06:47:56 +00:00
Chris Lattner
b868f002fd add checks for new functions. I'd appreciate it if someone could regen
the configure script :)

llvm-svn: 25528
2006-01-23 06:24:09 +00:00
Reid Spencer
ae31d4858b Make sure that libm is used during config tests so that ceil, floor, and
friends are actually detected.

llvm-svn: 25454
2006-01-19 08:31:08 +00:00
Reid Spencer
effe3e54e4 For PR696:
Add checks for ceil, ceilf, floor, and floorf

llvm-svn: 25453
2006-01-19 08:22:40 +00:00
Reid Spencer
65c625bf11 For PR678:
* Make it possible to pass a fourth argument to the CHECK_PROGRAM_SANITY
  macro that controls whether a non-sane program generates an error or
  a warning.

llvm-svn: 24931
2005-12-22 02:08:30 +00:00
Reid Spencer
d37f3c16f5 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

llvm-svn: 24891
2005-12-21 03:31:53 +00:00
John Criswell
53c898b638 Added the llvm-kernel project to the list of automatically configured
projects.

llvm-svn: 24865
2005-12-19 20:27:24 +00:00
Chris Lattner
ad22577daf add malloc_zone_statistics, remove mstats
llvm-svn: 24350
2005-11-14 07:24:17 +00:00
Chris Lattner
b02dbd7583 add some stuff for mstats on darwin
llvm-svn: 24347
2005-11-14 06:54:33 +00:00
John Criswell
1f5cc9af81 Updated version to 1.7cvs.
llvm-svn: 24244
2005-11-08 21:13:01 +00:00
John Criswell
8f29899aa3 Merged from RELEASE_16.
llvm-svn: 24243
2005-11-08 21:11:33 +00:00
Misha Brukman
941ad48ba4 Fixed copy-paste typo, patch by Marco Matthies.
llvm-svn: 24142
2005-11-01 20:58:08 +00:00
Reid Spencer
0b958878bb For PR619:
Make any header files that are automatically generated be preconditions of
the compilation. This ensures that if a *.h.in file is changed then its
corresponding *.h file gets updated on the next rebuild. Note that this can
lead to confusing (but correct) results if the *.h.in file changed
unsubstantially so that autoheader doesn't update the *.h file. In that case,
manually touch the *.h file in question to restore order. Moral of the story,
if you're going to "touch" a *.in file then modify it substantially.

llvm-svn: 23006
2005-08-24 10:43:10 +00:00
Reid Spencer
a1470f81ae For PR616:
These patches make threading optional in LLVM. The configuration scripts are now
modified to accept a --disable-threads switch. If this is used, the Mutex class
will be implemented with all functions as no-op. Furthermore, linking against
libpthread will not be done. Finally, the ParallelJIT example needs libpthread
so its makefile was changed to always add -lpthread to the link line.

llvm-svn: 23003
2005-08-24 10:07:20 +00:00
Reid Spencer
e82a9e2218 Fix PR608:
Previously the script assumed the version number was the last field, now
it assumes it is the first sequence of digits.

llvm-svn: 22527
2005-07-27 21:58:38 +00:00
Reid Spencer
df34319bd0 Get rid of bash specific syntax for variable dereferencing, replacing it
with the more crufty (but more widely available) "eval" command.

llvm-svn: 22509
2005-07-25 20:25:08 +00:00