summaryrefslogtreecommitdiff
path: root/Makefile.rules
Commit message (Collapse)AuthorAge
* make -fno-rtti the default unless a directory builds with REQUIRES_RTTI.Chris Lattner2010-01-24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94378 91177308-0d34-0410-b5e6-96231b3b80d8
* libs that need EH need RTTI.Chris Lattner2010-01-24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94376 91177308-0d34-0410-b5e6-96231b3b80d8
* ENABLE_EXPENSIVE_CHECKS shouldn't know how rtti is enabled, let ↵Chris Lattner2010-01-24
| | | | | | REQUIRES_RTTI handle it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94375 91177308-0d34-0410-b5e6-96231b3b80d8
* make: Make .o files depend on Makefile, at least for now.Daniel Dunbar2010-01-22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94184 91177308-0d34-0410-b5e6-96231b3b80d8
* Provide magic define on mingw to not generate inline variants of ctyper ↵Anton Korobeynikov2010-01-16
| | | | | | | | | functions. Otherwise we'll end with random cyclic deps between libraries due to this. Proposed by Gianluigi Tiesi! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93635 91177308-0d34-0410-b5e6-96231b3b80d8
* Add the rest of the build system logic for optional target disassemblersDaniel Dunbar2009-11-25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89841 91177308-0d34-0410-b5e6-96231b3b80d8
* Add TOOLALIAS makefile variable; this defines an alternate name for a programDaniel Dunbar2009-11-19
| | | | | | | | | | which the makefiles will create by symlinking the actual tool to. - For use by clang, where we want to make 'clang++' and alias for clang (which enables C++ support in the driver) - Not sure this is the best approach, alternative suggestions welcome! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89282 91177308-0d34-0410-b5e6-96231b3b80d8
* Add "Unoptimized" build (NO_DEBUG_SYMBOLS=1 ENABLE_OPTIMIZED=1), for reducingDaniel Dunbar2009-11-16
| | | | | | disk space, and increasing battery lifetime. :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@88978 91177308-0d34-0410-b5e6-96231b3b80d8
* configure: Add --with-optimize-option, for setting the default value ofDaniel Dunbar2009-11-04
| | | | | | OPTIMIZE_OPTION. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86005 91177308-0d34-0410-b5e6-96231b3b80d8
* Build in ARM mode explicitly when on ARM DarwinJim Grosbach2009-10-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85615 91177308-0d34-0410-b5e6-96231b3b80d8
* Indent.Nick Lewycky2009-10-25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85034 91177308-0d34-0410-b5e6-96231b3b80d8
* Tablegen target intrinsics from the target main .td file.Jakob Stoklund Olesen2009-10-15
| | | | | | Fix pasto. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84190 91177308-0d34-0410-b5e6-96231b3b80d8
* AuroraUX needs special Solaris system header.Edward O'Callaghan2009-10-14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84076 91177308-0d34-0410-b5e6-96231b3b80d8
* Raise the limit on built-in plugins in llvmc to 10.Mikhail Glushenkov2009-10-09
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83614 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove trailing whitespace from build output.Jakob Stoklund Olesen2009-10-04
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83284 91177308-0d34-0410-b5e6-96231b3b80d8
* Enable -g with DEBUG_SYMBOLS and --enable-debug-symbols instead ofJeffrey Yasskin2009-09-27
| | | | | | | DEBUG_RUNTIME. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82906 91177308-0d34-0410-b5e6-96231b3b80d8
* This patch causes the --enable-debug-runtime configure flag and theJeffrey Yasskin2009-09-25
| | | | | | | | | | DEBUG_RUNTIME Makefile variable to pass -g to gcc when building LLVM's objects. Without this, it's very hard to debug crashes that happen in Release-Asserts mode but not Debug mode. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82775 91177308-0d34-0410-b5e6-96231b3b80d8
* Add 'make check-all', which runs the LLVM tests along with the clang tests ifDaniel Dunbar2009-09-20
| | | | | | its in the standard location. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82374 91177308-0d34-0410-b5e6-96231b3b80d8
* Build (not test) the unittests as part of a normal build.Daniel Dunbar2009-09-13
| | | | | | | - 'make unittests' still builds and tests. - 'make unitcheck' inside a unittest directory runs the tests in that directory. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81725 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert unittests build changes temporarily, the unit test build isn't -j safe.Daniel Dunbar2009-09-13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81692 91177308-0d34-0410-b5e6-96231b3b80d8
* Build (not test) the unittests as part of a normal build.Daniel Dunbar2009-09-13
| | | | | | | - 'make unittests' still builds and tests. - 'make unitcheck' inside a unittest directory runs the tests in that directory. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81687 91177308-0d34-0410-b5e6-96231b3b80d8
* ... and fix the REQUIRES_RTTI condition.Daniel Dunbar2009-09-11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81524 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix REQUIRES_RTTI while awake.Daniel Dunbar2009-09-11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81523 91177308-0d34-0410-b5e6-96231b3b80d8
* Make REQUIRES_RTTI work.Daniel Dunbar2009-09-11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81522 91177308-0d34-0410-b5e6-96231b3b80d8
* Do not specify -mmacosx-version-min if building for arm-apple-darwin.Evan Cheng2009-09-08
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81240 91177308-0d34-0410-b5e6-96231b3b80d8
* llvm-as is no longer needed here, now that opt can read assemblyDan Gohman2009-09-08
| | | | | | | files directly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81222 91177308-0d34-0410-b5e6-96231b3b80d8
* Add 'lit' support for llvm tests.Daniel Dunbar2009-09-08
| | | | | | - This adds 'make check-lit' from the top-level Makefile. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81191 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove some unnecessary -f options.Dan Gohman2009-09-03
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80924 91177308-0d34-0410-b5e6-96231b3b80d8
* Filter out -fno-rtti from CXXFLAGS as well (in an expensive checks build).Daniel Dunbar2009-09-03
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80910 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix creation of .bca libraries with EXPORTED_SYMBOLS_LIST, this was putting theDaniel Dunbar2009-08-28
| | | | | | | | | llvm-ld shell wrapper script in the archive, not the relinked object! Also, rename the temp file to avoid conflicts. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80373 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a REQUIRES_FRAME_POINTER option to disable the frame pointerNicolas Geoffray2009-08-19
| | | | | | | | elimination optimization on the LLVM code base. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79477 91177308-0d34-0410-b5e6-96231b3b80d8
* Add CXXFLAGS to the Link lines as well in case someone used those insteadEric Christopher2009-08-18
| | | | | | | of LDFLAGS. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79352 91177308-0d34-0410-b5e6-96231b3b80d8
* Separate out Makefile defines so that we can keep the llvmEric Christopher2009-08-18
| | | | | | | defined ones from the user defined ones. Propagate accordingly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79308 91177308-0d34-0410-b5e6-96231b3b80d8
* The attached patches attempt to fix cross builds. For example, if youAnton Korobeynikov2009-08-18
| | | | | | | | | | | | | try to use i686-darwin to build for arm-eabi, you'll quickly run into several false assumptions that the target OS must be the same as the host OS. These patches split $(OS) into $(HOST_OS) and $(TARGET_OS) to help builds like "make check" and the test-suite able to cross compile. Along the way a target of *-unknown-eabi is defined as "Freestanding" so that TARGET_OS checks have something to work with. Patch by Sandeep Patel! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79296 91177308-0d34-0410-b5e6-96231b3b80d8
* Fixed indentation and spelling.Misha Brukman2009-08-17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79245 91177308-0d34-0410-b5e6-96231b3b80d8
* Force reconfigureAnton Korobeynikov2009-08-14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79019 91177308-0d34-0410-b5e6-96231b3b80d8
* Add temporary hack to teach LLVM to reconfigure itself to pick up the new PIC16Daniel Dunbar2009-08-13
| | | | | | | AsmPrinter (in AsmPrinters.def). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78922 91177308-0d34-0410-b5e6-96231b3b80d8
* Add executable suffix for the tool. This is needed e.g. for 'make install' ↵Anton Korobeynikov2009-08-05
| | | | | | on mingw32. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78185 91177308-0d34-0410-b5e6-96231b3b80d8
* Makefile rules for generating assembly matcher.Daniel Dunbar2009-07-13
| | | | | | | - Unused, fear not cmakers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75483 91177308-0d34-0410-b5e6-96231b3b80d8
* Add --enable-llvmc-dynamic configure option.Mikhail Glushenkov2009-07-03
| | | | | | | Controls whether libCompilerDriver should be loaded dynamically. By default this is needed only on Win32, to make dynamic plugins work. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74759 91177308-0d34-0410-b5e6-96231b3b80d8
* Make dynamic LLVMC plugins work on Windows (finally!).Mikhail Glushenkov2009-06-29
| | | | | | | | Implemented by making lib/CompilerDriver a shared library that holds all the global static data (CommandLine options, plugin registry) that we unfortunately have to live with. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74417 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove duplication.Mikhail Glushenkov2009-06-25
| | | | | | Factor out common preprocessor-related bits to Makefile.rules. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74153 91177308-0d34-0410-b5e6-96231b3b80d8
* Make llvmc work again.Mikhail Glushenkov2009-06-23
| | | | | | | | | | Chris recently broke llvmc with his Makefile changes (r75379). That patch made the global change .o -> .a, which caused built-in llvmc plugins to stop working since plugin initialization in llvmc is based on static variables not referenced from the main executable. This patch implements auto-generated forced references to the plugin libraries. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74000 91177308-0d34-0410-b5e6-96231b3b80d8
* Since -Wno-long-long is ignored without -pedantic,Duncan Sands2009-06-19
| | | | | | | | | | place it with -pedantic. Remove -Wunused since it is implied by -Wall. Group -Wno-unused-parameter with -Wall -W since it is the combination of these two that turns on -Wunused-parameter. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73765 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove support for building LLVM libraries into "relinked" Chris Lattner2009-06-16
| | | | | | | | | | | | object files. Now we always build LLVM libraries into archives (.a files). This makes the 'make' build work more like the cmake build, among other things. Doing this exposed some latent circular library dependencies, so I think that llvm-config wasn't quite right for .o files anyway. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73579 91177308-0d34-0410-b5e6-96231b3b80d8
* On platforms like Sparc64 you need to pass -r toDuncan Sands2009-06-05
| | | | | | | | | | | gcc rather than directly to the linker: gcc will then modify the linker options it generates (it will not use --relax for example, incompatible with -r, as it otherwise would). This fixes the sparc build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72943 91177308-0d34-0410-b5e6-96231b3b80d8
* For the new ar --plugin libLLVMgold.so to work we need libLTO linked withTorok Edwin2009-05-26
| | | | | | | | | | | | pthreads, otherwise ar complains of unresolved references to pthread_mutex_*. LTO doesn't actually use pthreads, but ManagedStatic does. Fix this by linking in LIBS (that contains pthreads) for LTO and gold. For now this links in more libs than needed (libffi for example), we can figure out later how to link in those libs per-tool later. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72430 91177308-0d34-0410-b5e6-96231b3b80d8
* Work around the fact that GNU libstdc++'s debug mode uses RTTI.Jay Foad2009-05-15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71871 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow client Makefiles control over whether they want -pedantic byDaniel Dunbar2009-05-12
| | | | | | | | defining NO_PEDANTIC. - Pedantic C89 is a painful language... git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71545 91177308-0d34-0410-b5e6-96231b3b80d8
* Refactor dependency generation for .ll files.Daniel Dunbar2009-05-12
| | | | | | | | | | | - This matches the normal dependency generation code. - This also fixes the problem that when building a normal and bitcode archive from the same source, the dependency files would overwrite one another. Which was bad. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71542 91177308-0d34-0410-b5e6-96231b3b80d8