aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.rules
Commit message (Collapse)AuthorAgeFilesLines
* Don't remove the find_rule label from FLEX output. It is needed by someReid Spencer2007-01-111-1/+0
| | | | | | | | versions of FLEX even through we don't use REJECT. Thanks to Jeff Cohen for tracking this down. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33085 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove the find_rule label from the output of flex. This will break anyReid Spencer2007-01-031-0/+1
| | | | | | | | use of the REJECT macro but we don't use it. This just hushes up a warning in the presence of -Wno-unused. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32843 91177308-0d34-0410-b5e6-96231b3b80d8
* When compiling a C or C++ file to assembly, make the assembly outputReid Spencer2006-12-301-6/+6
| | | | | | | | | depend on the compiler. This works around problems in the Stacker runtime when the CFE changes in such a way that the assembly file needs to be updated. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32773 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow an --enable-pic option to turn on -fPIC compiler option when building.Reid Spencer2006-12-161-2/+11
| | | | | | | The default is disabled until we know this doesn't break anyone. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32635 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't bother with setting the path before running llvm-gcc4, it doesn'tReid Spencer2006-12-101-4/+5
| | | | | | | need it like llvm-gcc3 did. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32410 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove line not meant to be committed.Reid Spencer2006-12-031-2/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32163 91177308-0d34-0410-b5e6-96231b3b80d8
* Handle upgrade of llvm-gcc3 assembly files.Reid Spencer2006-12-031-0/+24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32161 91177308-0d34-0410-b5e6-96231b3b80d8
* Undo removal of the runtime libraries. While this may have been a bitReid Spencer2006-11-171-0/+8
| | | | | | | | 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31807 91177308-0d34-0410-b5e6-96231b3b80d8
* In LLVM 2.0 we won't use the runtime libraries as llvm-gcc3 support willReid Spencer2006-11-161-8/+0
| | | | | | | be dropped. This patch pertains to removing the runtime directory from LLVM. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31793 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix typo pointed out by Bryan AdamsChris Lattner2006-11-151-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31766 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow ENABLE_OPTIMIZED=0 to turn off optimization (turn on debug).Reid Spencer2006-11-111-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31655 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR786:Reid Spencer2006-11-021-2/+2
| | | | | | | | | | | Turn on -Wunused and -Wno-unused-parameter. Clean up most of the resulting fall out by removing unused variables. Remaining warnings have to do with unused functions (I didn't want to delete code without review) and unused variables in generated code. Maintainers should clean up the remaining issues when they see them. All changes pass DejaGnu tests and Olden. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31380 91177308-0d34-0410-b5e6-96231b3b80d8
* Targets should depend on all the intrinsics.td files also, otherwise theyChris Lattner2006-10-241-1/+2
| | | | | | | | | will compute a locally wrong numbering for the intrinsics. This fixes a nasty issue where the x86 backend started miscompiling stuff in a 'cvs up'd build after the altivec intrinsics were added. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31172 91177308-0d34-0410-b5e6-96231b3b80d8
* Move CompileCommonOpts to the end of the list so that EXTRA_OPTIONS=-O0 willChris Lattner2006-09-291-7/+7
| | | | | | | override the optimization level. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30672 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a build problemChris Lattner2006-09-041-2/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30096 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove some dead makefileryChris Lattner2006-09-041-62/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30093 91177308-0d34-0410-b5e6-96231b3b80d8
* Bugfix for llvm-config supportChris Lattner2006-09-041-13/+16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30087 91177308-0d34-0410-b5e6-96231b3b80d8
* Make LINK_COMPONENTS interact well with make cleanChris Lattner2006-09-041-1/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30086 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a new make option (LINK_COMPONENTS) which tools can use to specify whatChris Lattner2006-09-041-4/+14
| | | | | | | libraries they need. This uses llvm-config to link the tools. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30084 91177308-0d34-0410-b5e6-96231b3b80d8
* Rearrange library linkage order.Chris Lattner2006-09-041-3/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30074 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR387:Reid Spencer2006-08-281-1/+1
| | | | | | | | Close out this long standing bug by removing the remaining overloaded virtual functions in LLVM. The -Woverloaded-virtual option is now turned on. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29934 91177308-0d34-0410-b5e6-96231b3b80d8
* Doh! Commit the change that turns ON -fno-exceptions.Reid Spencer2006-08-251-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29883 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR797:Reid Spencer2006-08-251-5/+5
| | | | | | | | | | | | | | | | Final commit for this bug. This removes the last EH holdouts in LLVM and turns off exception support by using the -fno-exceptions option. This leads to the following reduction in library and executable sizes: DEBUG BUILD RELEASE BUILD before after delta before after delta lib 162,328K 157,616K 4,712 17,864K 16,416K 1,448K bin 571,444K 557,156K 14,288 63,296K 56,996K 6,300K Debug Improvement: 19,000K (2.59%) Release Improvement: 7,748K (9.55%) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29882 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR738:Reid Spencer2006-08-241-0/+4
| | | | | | | | 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
* To avoid errors where a non-exception .o is on the stack between a throwReid Spencer2006-08-181-5/+5
| | | | | | | | | | | and a handler, which would produce errors like: terminate called after throwing an instance of 'std::string' we must comment out setting -fno-exceptions until PR797 is completely fixed. Once libraries like lib/System and lib/Support are exception free, we can turn it back on. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29768 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR797:Reid Spencer2006-08-181-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Actually turn on -fno-exceptions in libraries that do not have the REQUIRES_EH option in their Makefile. The following library file size savings were made (DEBUG): libLLVMDataStructure.a 525K libLLVMCore.a 380K libLLVMCodeGen.a 350K libLLVMTransformUtils.a 305K libLLVMScalarOpts.a 270K libLLVMAnalysis.a 247K libLLVMSelectionDAG.a 233K libLLVMipo.a 175K LLVMX86.o 123K LLVMPPC.o 81K libLLVMipa.a 17K TOTAL 2,706K Note that the savings is actually a little larger than this because I didn't count any of the libraries that had small changes. 2. Remove REQUIRES_EH from the AsmParser library as it is now exception free. This resulted in a nearly 78K drop in the size of the debug library for AsmParser. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29767 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR780:Reid Spencer2006-08-071-14/+27
| | | | | | | | | | | | | | 1. Change the usage of LOADABLE_MODULE so that it implies all the things necessary to make a loadable module. This reduces the user's burdern to get a loadable module correctly built. 2. Document the usage of LOADABLE_MODULE in the MakefileGuide 3. Adjust the makefile for lib/Transforms/Hello to use the new specification for building loadable modules 4. Adjust the sample project to not attempt to build a shared library for its little library. This was just wasteful and not instructive at all. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29551 91177308-0d34-0410-b5e6-96231b3b80d8
* Pass -fstrict-aliasing to the compiler when building a release build on darwin.Chris Lattner2006-07-271-3/+8
| | | | | | | Darwin doesn't default to it being on. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29350 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR814:Reid Spencer2006-07-261-1/+5
| | | | | | | | 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
* Reduce work done for directory traversal in srcdir==objdir builds.Chris Lattner2006-07-261-0/+16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29300 91177308-0d34-0410-b5e6-96231b3b80d8
* Workaround no longer needed.Evan Cheng2006-07-211-6/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29260 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix MacOSX build failures. (pr841)Devang Patel2006-07-211-4/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29246 91177308-0d34-0410-b5e6-96231b3b80d8
* Build more debugger/selectiondag libraries as archives instead of .o files.Chris Lattner2006-07-211-3/+3
| | | | | | | | | This works around bugs in some versions of the cygwin linker. Patch contributed by Anton Korobeynikov. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29239 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix linking on AlphaAndrew Lenharth2006-07-201-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29219 91177308-0d34-0410-b5e6-96231b3b80d8
* Profile builds should always have debug info enabled.Chris Lattner2006-07-111-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29109 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow specifying an explicit list of architectures to build for, e.g.:Chris Lattner2006-06-291-6/+15
| | | | | | | | | make ENABLE_OPTIMIZED=1 UNIVERSAL=1 UNIVERSAL_ARCH="i386 ppc ppc64" retain the default of building for just i386/ppc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28985 91177308-0d34-0410-b5e6-96231b3b80d8
* Add targets for generating .s file in addition to .o files.Chris Lattner2006-06-211-15/+28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28903 91177308-0d34-0410-b5e6-96231b3b80d8
* Factor a bunch of rules together, no functionality change.Chris Lattner2006-06-211-56/+23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28902 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow LLVM to be built with extra options.Evan Cheng2006-06-201-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28873 91177308-0d34-0410-b5e6-96231b3b80d8
* Do not hardcode random paths into the makefile. Make the user specify theChris Lattner2006-06-161-5/+11
| | | | | | | | SDK to use when building "universal" on Mac OS/X, if they want to use a specific one. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28842 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix building on case-sensitive file systems, grr :)Chris Lattner2006-06-151-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28801 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove obsolete CORE_IS_ARCHIVE stuff.Chris Lattner2006-06-021-8/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28648 91177308-0d34-0410-b5e6-96231b3b80d8
* Provide configuration support and usage for MINGW32 platformReid Spencer2006-06-011-1/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28639 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR786:Reid Spencer2006-06-011-1/+2
| | | | | | | | | | Turn -pedantic and -Wno-long-long compile flags on by default. In a few places, avoid the warnings by removing these options in the local makefile. One notable exception: lib/Target/CBackend/Writer.cpp. These warnings are left on as a reminder to developers to clean them up. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28614 91177308-0d34-0410-b5e6-96231b3b80d8
* Use archive libraries instead of object files for VMCore, BCReader,Reid Spencer2006-06-011-2/+2
| | | | | | | | BCWriter, and bzip2 libraries. Adjust the various makefiles to accommodate these changes. This was done to speed up link times. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28610 91177308-0d34-0410-b5e6-96231b3b80d8
* Enable -fno-use-cxa-atexit on darwin/ppc also.Chris Lattner2006-05-301-6/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28558 91177308-0d34-0410-b5e6-96231b3b80d8
* Abstract out the current optimization level into a flag that can be overriddenChris Lattner2006-05-241-6/+10
| | | | | | | on the make line, to avoid bugs in native compilers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28457 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove flags implied by -O3Chris Lattner2006-05-241-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28456 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't use -fomit-frame-pointer on darwin, it breaks stacktrace collection.Chris Lattner2006-05-241-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28451 91177308-0d34-0410-b5e6-96231b3b80d8
* Make some changes suggested by Chris:Reid Spencer2006-05-171-12/+4
| | | | | | | | | | 1. Remove the LLVM_DO_NOT_BUILD feature (not needed any more) 2. Ensure that lib/VMCore gets built first. This needs to be done because VMCore now uses tblgen to generate the Intrinsics header which are needed in other libraries. In parallel builds, this can cause problems. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28374 91177308-0d34-0410-b5e6-96231b3b80d8