summaryrefslogtreecommitdiff
path: root/Makefile.rules
Commit message (Collapse)AuthorAge
* ... 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
* Remove obsolete Makefile magic for calling llvm-upgradeDaniel Dunbar2009-05-12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71540 91177308-0d34-0410-b5e6-96231b3b80d8
* Install bytecode libraries with a .bca suffix, otherwise it isn'tDaniel Dunbar2009-05-12
| | | | | | | | | possible to build both a .a and a .bca. - My understanding is no one else is using this stuff, please let me know if I am wrong. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71539 91177308-0d34-0410-b5e6-96231b3b80d8
* In non-pic builds, we can use -mdynamic-no-pic for a little more speed.Mike Stump2009-05-08
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71281 91177308-0d34-0410-b5e6-96231b3b80d8
* Restore minor deletion.Mike Stump2009-05-04
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70892 91177308-0d34-0410-b5e6-96231b3b80d8
* Support --with-llvmgccdir and friends in llvmc, take 2.Mikhail Glushenkov2009-04-21
| | | | | | | | | Should now work when building with objdir != srcdir and when llvm-gcc is not available. Thanks to Duncan Sands for testing and advice! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69700 91177308-0d34-0410-b5e6-96231b3b80d8
* No, we are not avoiding -O3, just -fstrict-aliasing.Evan Cheng2009-04-20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69633 91177308-0d34-0410-b5e6-96231b3b80d8
* One Mac OS X, just build with -O3 but without -fstrict-aliasing (which is ↵Evan Cheng2009-04-20
| | | | | | kinda broken). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69630 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a --enable-profiling option to configure to build Debug+Profile andDavid Greene2009-04-17
| | | | | | | Opt+Profile tools. Now we can profile any kind of flavor we build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69351 91177308-0d34-0410-b5e6-96231b3b80d8
* move clang-specific makefile goop to clang makefile.Chris Lattner2009-04-15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69206 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't install the libLLVMHello.dylib example.Bill Wendling2009-04-10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68807 91177308-0d34-0410-b5e6-96231b3b80d8
* Add compatibility_version and current_version flags when creating dylibs.Bill Wendling2009-04-10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68801 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert r68708. It was causing this failure in the self-hosting buildbot:Bill Wendling2009-04-09
| | | | | | | | | | llvm[2]: Compiling lto.cpp for Debug build (PIC) make[2]: *** No rule to make target `/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.sh.build/Debug/lib/libLLVMBitWriter.a', needed by `/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.sh.build/Release/lib/libLTO.dylib'. Stop. make[1]: *** [all] Error 1 make: *** [all] Error 1 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68721 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure to rebuild dependencies for the `check' and `unittests' targets soMisha Brukman2009-04-09
| | | | | | | | | | | we're not testing out-of-date code. This also makes "make check" and "make unittests" work out-of-the box right after the configure step, without requiring the user to run "make tools-only" or "make libs-only". Tested on Linux/x86_64 and Darwin/x86. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68708 91177308-0d34-0410-b5e6-96231b3b80d8
* Avoid -O3 on Darwin for now.Mike Stump2009-04-06
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68455 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix build on MacOS 10.4 systems (suggested by Mike Smith).Julien Lerouge2009-03-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67855 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert previous change in favour of an explanatoryDuncan Sands2009-03-27
| | | | | | | comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67833 91177308-0d34-0410-b5e6-96231b3b80d8
* A Release-Asserts build makes it sound like assertionsDuncan Sands2009-03-27
| | | | | | | | are turned on, while in fact they are turned off. Name this Release-NoAsserts instead. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67831 91177308-0d34-0410-b5e6-96231b3b80d8
* Missed this as part of r67451.Evan Cheng2009-03-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67500 91177308-0d34-0410-b5e6-96231b3b80d8
* Really should pass -dylib to the linker...Bill Wendling2009-03-22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67469 91177308-0d34-0410-b5e6-96231b3b80d8
* A dylib should be built as a dylib and not a bundle.Bill Wendling2009-03-22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67468 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert r67334 and r37349 which break "make check" on Linux.Nick Lewycky2009-03-20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67368 91177308-0d34-0410-b5e6-96231b3b80d8