summaryrefslogtreecommitdiff
path: root/Makefile.rules
Commit message (Collapse)AuthorAge
* Use archive libraries instead of object files for VMCore, BCReader,Reid Spencer2006-06-01
| | | | | | | | 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-30
| | | | 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-24
| | | | | | | 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-24
| | | | 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-24
| | | | 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-17
| | | | | | | | | | 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
* Make sure that $(CXX.Flags) is passed to the linker so that the same optionsReid Spencer2006-05-16
| | | | | | | | | with which source is compiled are used when linking. This matters when a project is using the LLVM makefiles and overrides CXXFLAGS to specify new flags to use. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28322 91177308-0d34-0410-b5e6-96231b3b80d8
* Replace "../whatever.td" with "whatever.td", so that out-of-tree backendsVladimir Prus2006-05-16
| | | | | | | can just add lib/Target to TableGen includes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28318 91177308-0d34-0410-b5e6-96231b3b80d8
* When linking, make sure the project libraries are linked before the LLVMReid Spencer2006-05-16
| | | | | | | | | libraries. This ensures that the project's libraries (which most likely depend on LLVM libraries) come first on the command line and can thus be resolved by the LLVM libraries that appear later. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28316 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix some problems linking stuff in libTarget.Owen Anderson2006-05-11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28218 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove traces of Burg utility now that its gone and not needed.Reid Spencer2006-04-20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27902 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove V9 jit supportChris Lattner2006-04-20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27891 91177308-0d34-0410-b5e6-96231b3b80d8
* Final piece to get relinked .o files buildable universal on Darwin.Chris Lattner2006-04-19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27839 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure that the C Frontend's runtime library directory is included asReid Spencer2006-04-12
| | | | | | | | a -L option to gccld whenever we're building a bytecode module or archive. This gets around the "Cannot find library 'crtend'" warning messages. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27621 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove extraneous building in target dist-check. There is no reason thatReid Spencer2006-04-12
| | | | | | | | a distribution should need to be able to make a distribution so eliminate the "make dist" from the list of targets attempted. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27600 91177308-0d34-0410-b5e6-96231b3b80d8
* ENABLE_ASSERTIONS -> DISABLE_ASSERTIONSReid Spencer2006-04-10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27558 91177308-0d34-0410-b5e6-96231b3b80d8
* Check for DISABLE_ASSERTIONS, not ENABLE_ASSERTIONSReid Spencer2006-04-09
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27552 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR723:Reid Spencer2006-04-07
| | | | | | | | | | | | | 1. Don't force debug builds to have assertion checking turned on always. Let the default (on) be taken, or overridden by the command line 2. Create two new BuildModes based on assertion checking: Release+Assert and Debug-Assert. 3. Ensure that when building a distribution we get a release build with assertions enabled, regardless of the tree's configuration. 4. (unrelated) Fix library name generation for llvm-config usage. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27488 91177308-0d34-0410-b5e6-96231b3b80d8
* A saner workaround. I hope.Evan Cheng2006-04-07
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27483 91177308-0d34-0410-b5e6-96231b3b80d8
* Temporary workaround for a Mac OSX specific issue.Evan Cheng2006-04-07
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27482 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for building the LLVM libraries and tools as a Mac OS/XChris Lattner2006-04-06
| | | | | | | universal binary, by specifying UNIVERSAL=1 on the make command line. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27447 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a facility for invoking the llvm-config tool when linking a program.Reid Spencer2006-03-24
| | | | | | | | | | | | | | | This facility allows LLVMLIBS to be specified with something like: LLVMLIBS = config --libs jit instead of: LLVMLIBS = JIT with the same effect. However, the llvm-config utility is much more versatile than the single keyword approach. Note that "config" is the keyword after which any arguments to llvm-config are allowed. When llvm-config is tested and working well, we'll start using this and drop support for the JIT keyword. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27057 91177308-0d34-0410-b5e6-96231b3b80d8
* These changes are necessary to support the new llvm-config tool. llvm-configReid Spencer2006-03-22
| | | | | | | | | | 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
* Enable assertions to be enabled in release builds by building withChris Lattner2006-03-21
| | | | | | | make ENABLE_OPTIMIZED=1 ENABLE_ASSERTIONS=1 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26914 91177308-0d34-0410-b5e6-96231b3b80d8
* reorder these to make it work with static librariesChris Lattner2006-03-10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26698 91177308-0d34-0410-b5e6-96231b3b80d8
* Use $(Verb) instead of @ so that VERBOSE=1 will print these.Chris Lattner2006-03-09
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26626 91177308-0d34-0410-b5e6-96231b3b80d8
* pass -Illvm/include to tblgenChris Lattner2006-03-03
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26489 91177308-0d34-0410-b5e6-96231b3b80d8
* 8 spaces -> tab. Reported by Wink SavilleChris Lattner2006-02-28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26425 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a minor makefile bug with lex/yacc handling that nate noticed. We don'tChris Lattner2006-02-16
| | | | | | | | | want to copy the files when the .cpp file changes, we want to copy them to the .cvs versions when the .l/.y file change (like the comments even say). This avoids having bogus changes show up in diffs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26229 91177308-0d34-0410-b5e6-96231b3b80d8
* bugfixesChris Lattner2006-02-15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26207 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert the bison-output-checked-into-cvs makefile handling stuff to workChris Lattner2006-02-15
| | | | | | | | like the flex stuff, which actually works when people do cvs updates and get conflicts in the updated checked in file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26205 91177308-0d34-0410-b5e6-96231b3b80d8
* HP aCC (and a bunch of other compilers, no doubt) don't shareDuraid Madina2006-02-15
| | | | | | | | | GCC's syntax for auto-dependency generation stuff. This should be changed to be disabling dependency stuff unless GCC/ICC is found. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26201 91177308-0d34-0410-b5e6-96231b3b80d8
* oops, I meant thisDuraid Madina2006-02-15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26200 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement an alternative way of handling generated lex files in CVS. ThisChris Lattner2006-02-14
| | | | | | | | should solve the "updating cvs when .l files change give me conflict markers that break my build" issue. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26160 91177308-0d34-0410-b5e6-96231b3b80d8
* Wrap a couple more long linesChris Lattner2006-02-14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26159 91177308-0d34-0410-b5e6-96231b3b80d8
* wrap long linesChris Lattner2006-02-14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26158 91177308-0d34-0410-b5e6-96231b3b80d8
* * Eliminate FAKE_SOURCESChris Lattner2006-01-27
| | | | | | | | | | * Make runtimes and projects build with the new front-end by not relying on 'llvm-gcc -c' to build a .bc file. Instead, use llvm-gcc -S -emit-llvm, then an explicit invocation of gccas. Also, don't use llvm-gcc to link .bc files together, use gccld directly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25707 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR625:Reid Spencer2005-12-23
| | | | | | | | Don't install contents of CVS directories and don't double install when srcdir == objdir. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24998 91177308-0d34-0410-b5e6-96231b3b80d8
* Some simple cleanups:Reid Spencer2005-12-21
| | | | | | | | | | | | 1. When srcdir == objdir have "spotless" say that it isn't supported in that mode rather than just let make say "no such target" 2. Minor doc cleanups 3. Fix the double rebuild problem with yacc files. A missing dependency caused parallel builds to skip building the .cpp file after the .cpp file was regenerated by bison. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24924 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement fix for PR471:Reid Spencer2005-12-21
| | | | | | | | | * 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
* Move some constant folding code shared by Analysis and Transform passesJohn Criswell2005-10-27
| | | | | | | | | into the LLVMAnalysis library. This allows LLVMTranform and LLVMTransformUtils to be archives and linked with LLVMAnalysis.a, which provides any missing definitions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24036 91177308-0d34-0410-b5e6-96231b3b80d8
* 1. Remove libraries no longer created from the list of libraries linked into theJohn Criswell2005-10-26
| | | | | | | | | | | SparcV9 JIT. 2. Make LLVMTransformUtils a relinked object file and always link it before LLVMAnalysis.a. These two libraries have circular dependencies on each other which creates problem when building the SparcV9 JIT. This change fixes the dependency on all platforms problems with a minimum of fuss. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24023 91177308-0d34-0410-b5e6-96231b3b80d8
* analyses after transformationsChris Lattner2005-10-25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23977 91177308-0d34-0410-b5e6-96231b3b80d8
* Now that all libraries are built in either .o or .a form, make BUILD_ARCHIVEChris Lattner2005-10-24
| | | | | | | default to turning off building of relinked objects. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23939 91177308-0d34-0410-b5e6-96231b3b80d8
* pull in the .a version of scalaropts lib to reduce the size of programsChris Lattner2005-10-24
| | | | | | | using the JIT git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23930 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove redundant flag.Jeff Cohen2005-10-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23889 91177308-0d34-0410-b5e6-96231b3b80d8
* When a function takes a variable number of pointer arguments, with a zeroJeff Cohen2005-10-23
| | | | | | | | | | | | | | pointer marking the end of the list, the zero *must* be cast to the pointer type. An un-cast zero is a 32-bit int, and at least on x86_64, gcc will not extend the zero to 64 bits, thus allowing the upper 32 bits to be random junk. The new END_WITH_NULL macro may be used to annotate a such a function so that GCC (version 4 or newer) will detect the use of un-casted zero at compile time. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23888 91177308-0d34-0410-b5e6-96231b3b80d8
* Plugin new subtarget backend into the build.Jim Laskey2005-10-21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23870 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure targets depend on TargetSelectionDAG.tdChris Lattner2005-10-14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23732 91177308-0d34-0410-b5e6-96231b3b80d8
* Add some rules for building preprocessed filesChris Lattner2005-10-05
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23629 91177308-0d34-0410-b5e6-96231b3b80d8