aboutsummaryrefslogtreecommitdiff
path: root/Makefile.rules
AgeCommit message (Collapse)Author
2009-09-20Add 'make check-all', which runs the LLVM tests along with the clang tests ifDaniel Dunbar
its in the standard location. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82374 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-13Build (not test) the unittests as part of a normal build.Daniel Dunbar
- '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
2009-09-13Revert unittests build changes temporarily, the unit test build isn't -j safe.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81692 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-13Build (not test) the unittests as part of a normal build.Daniel Dunbar
- '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
2009-09-11... and fix the REQUIRES_RTTI condition.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81524 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-11Fix REQUIRES_RTTI while awake.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81523 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-11Make REQUIRES_RTTI work.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81522 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-08Do not specify -mmacosx-version-min if building for arm-apple-darwin.Evan Cheng
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81240 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-08llvm-as is no longer needed here, now that opt can read assemblyDan Gohman
files directly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81222 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-08Add 'lit' support for llvm tests.Daniel Dunbar
- 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
2009-09-03Remove some unnecessary -f options.Dan Gohman
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80924 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-03Filter out -fno-rtti from CXXFLAGS as well (in an expensive checks build).Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80910 91177308-0d34-0410-b5e6-96231b3b80d8
2009-08-28Fix creation of .bca libraries with EXPORTED_SYMBOLS_LIST, this was putting theDaniel Dunbar
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
2009-08-19Add a REQUIRES_FRAME_POINTER option to disable the frame pointerNicolas Geoffray
elimination optimization on the LLVM code base. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79477 91177308-0d34-0410-b5e6-96231b3b80d8
2009-08-18Add CXXFLAGS to the Link lines as well in case someone used those insteadEric Christopher
of LDFLAGS. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79352 91177308-0d34-0410-b5e6-96231b3b80d8
2009-08-18Separate out Makefile defines so that we can keep the llvmEric Christopher
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
2009-08-18The attached patches attempt to fix cross builds. For example, if youAnton Korobeynikov
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
2009-08-17Fixed indentation and spelling.Misha Brukman
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79245 91177308-0d34-0410-b5e6-96231b3b80d8
2009-08-14Force reconfigureAnton Korobeynikov
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79019 91177308-0d34-0410-b5e6-96231b3b80d8
2009-08-13Add temporary hack to teach LLVM to reconfigure itself to pick up the new PIC16Daniel Dunbar
AsmPrinter (in AsmPrinters.def). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78922 91177308-0d34-0410-b5e6-96231b3b80d8
2009-08-05Add executable suffix for the tool. This is needed e.g. for 'make install' ↵Anton Korobeynikov
on mingw32. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78185 91177308-0d34-0410-b5e6-96231b3b80d8
2009-07-13Makefile rules for generating assembly matcher.Daniel Dunbar
- Unused, fear not cmakers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75483 91177308-0d34-0410-b5e6-96231b3b80d8
2009-07-03Add --enable-llvmc-dynamic configure option.Mikhail Glushenkov
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
2009-06-29Make dynamic LLVMC plugins work on Windows (finally!).Mikhail Glushenkov
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
2009-06-25Remove duplication.Mikhail Glushenkov
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
2009-06-23Make llvmc work again.Mikhail Glushenkov
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
2009-06-19Since -Wno-long-long is ignored without -pedantic,Duncan Sands
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
2009-06-16Remove support for building LLVM libraries into "relinked" Chris Lattner
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
2009-06-05On platforms like Sparc64 you need to pass -r toDuncan Sands
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
2009-05-26For the new ar --plugin libLLVMgold.so to work we need libLTO linked withTorok Edwin
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
2009-05-15Work around the fact that GNU libstdc++'s debug mode uses RTTI.Jay Foad
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71871 91177308-0d34-0410-b5e6-96231b3b80d8
2009-05-12Allow client Makefiles control over whether they want -pedantic byDaniel Dunbar
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
2009-05-12Refactor dependency generation for .ll files.Daniel Dunbar
- 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
2009-05-12Remove obsolete Makefile magic for calling llvm-upgradeDaniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71540 91177308-0d34-0410-b5e6-96231b3b80d8
2009-05-12Install bytecode libraries with a .bca suffix, otherwise it isn'tDaniel Dunbar
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
2009-05-08In non-pic builds, we can use -mdynamic-no-pic for a little more speed.Mike Stump
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71281 91177308-0d34-0410-b5e6-96231b3b80d8
2009-05-04Restore minor deletion.Mike Stump
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70892 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-21Support --with-llvmgccdir and friends in llvmc, take 2.Mikhail Glushenkov
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
2009-04-20No, we are not avoiding -O3, just -fstrict-aliasing.Evan Cheng
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69633 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-20One Mac OS X, just build with -O3 but without -fstrict-aliasing (which is ↵Evan Cheng
kinda broken). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69630 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-17Add a --enable-profiling option to configure to build Debug+Profile andDavid Greene
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
2009-04-15move clang-specific makefile goop to clang makefile.Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69206 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-10Don't install the libLLVMHello.dylib example.Bill Wendling
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68807 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-10Add compatibility_version and current_version flags when creating dylibs.Bill Wendling
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68801 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-09Revert r68708. It was causing this failure in the self-hosting buildbot:Bill Wendling
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
2009-04-09Make sure to rebuild dependencies for the `check' and `unittests' targets soMisha Brukman
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
2009-04-06Avoid -O3 on Darwin for now.Mike Stump
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68455 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-27Fix build on MacOS 10.4 systems (suggested by Mike Smith).Julien Lerouge
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67855 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-27Revert previous change in favour of an explanatoryDuncan Sands
comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67833 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-27A Release-Asserts build makes it sound like assertionsDuncan Sands
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