summaryrefslogtreecommitdiff
path: root/Makefile
Commit message (Collapse)AuthorAge
* llvm-config: Replace with C++ version (was llvm-config-2).Daniel Dunbar2011-12-01
| | | | | | - Another reapply of r144300, with hopefully one last fix. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145623 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert commit 145449 (ddunbar) since it is breaking the dragonegg buildbots.Duncan Sands2011-12-01
| | | | | | | | | Original commit message: llvm-config: Replace with C++ version (was llvm-config-2). - Reapply of r144300, with lots of fixes/migration easement in between. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145582 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove the install-clang-c makefile target.Bob Wilson2011-11-30
| | | | | | | When I did this before it broke a buildbot that was testing that target, but we've removed that buildbot now. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145519 91177308-0d34-0410-b5e6-96231b3b80d8
* llvm-config: Replace with C++ version (was llvm-config-2).Daniel Dunbar2011-11-29
| | | | | | - Reapply of r144300, with lots of fixes/migration easement in between. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145449 91177308-0d34-0410-b5e6-96231b3b80d8
* Partially revert r145157 to quiet an unhappy buildbot.Bob Wilson2011-11-27
| | | | | | | Removing that buildbot would be a better solution, but this is at least a temporary workaround. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145160 91177308-0d34-0410-b5e6-96231b3b80d8
* Merge the install-clang-c target into install-clang. <rdar://problem/10217046>Bob Wilson2011-11-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145157 91177308-0d34-0410-b5e6-96231b3b80d8
* build/Make: Define a TARGET_NATIVE_ARCH variable to be a bit more precise thanDaniel Dunbar2011-11-12
| | | | | | ARCH, which gets tested in many more contexts. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144434 91177308-0d34-0410-b5e6-96231b3b80d8
* build/Make: Change llvm-config-2 to be compiled as a build tool.Daniel Dunbar2011-11-11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144421 91177308-0d34-0410-b5e6-96231b3b80d8
* cross-build/Make: Update cross build to properly forward ARCH andDaniel Dunbar2011-11-11
| | | | | | | TARGETS_TO_BUILD variables to build tools submake, and also tweak echo command to indicate when we are compiling/etc build tools. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144419 91177308-0d34-0410-b5e6-96231b3b80d8
* Add an option '--enable-libcpp' that will have the compiler pass onEric Christopher2011-11-11
| | | | | | options to use libc++ as the default c++ library. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144413 91177308-0d34-0410-b5e6-96231b3b80d8
* build/Make: Try to switch over to llvm-config-2 again, now that I've cleaned upDaniel Dunbar2011-11-10
| | | | | | | some more of the explicit dependencies. I'm staging things more slowly this time in case there is more unanticipated fallout. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144323 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert r144300 "llvm-config: Replace with C++ version (was llvm-config-2).",Daniel Dunbar2011-11-10
| | | | | | which didn't appear ready for prime time. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144309 91177308-0d34-0410-b5e6-96231b3b80d8
* llvm-config: Replace with C++ version (was llvm-config-2).Daniel Dunbar2011-11-10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144300 91177308-0d34-0410-b5e6-96231b3b80d8
* build/Make: Update for rename of show-diagnostics.Daniel Dunbar2011-11-02
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143564 91177308-0d34-0410-b5e6-96231b3b80d8
* Updating 'update' target to handle svn 1.7 'info' output. Patch by ↵David Blaikie2011-10-19
| | | | | | Jean-Danial Dupas! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142535 91177308-0d34-0410-b5e6-96231b3b80d8
* Add clang-tblgen to OPTIONAL_DIRS when building native tools for thePeter Collingbourne2011-10-08
| | | | | | | | | | | cross build, so that a native version of clang-tblgen is available. Should unbreak Clang cross build. Also disable Polly for the native tool build, since it depends on external libraries which may not be available, and it isn't required anyway. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141454 91177308-0d34-0410-b5e6-96231b3b80d8
* Move TableGen's parser and entry point into a libraryPeter Collingbourne2011-10-01
| | | | | | This is the first step towards splitting LLVM and Clang's tblgen executables. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140951 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove llvmc and assorted build machinery for it.Eric Christopher2011-09-19
| | | | | | | | The problems that llvmc solved have largely been subsumed with the tasks that the clang driver can accomplish, but llvmc lacks flexibility and depends too heavily on the EOL'd llvm-gcc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140093 91177308-0d34-0410-b5e6-96231b3b80d8
* Install libprofile_rt.dylib where it's more available for gcov support.Bill Wendling2011-06-10
| | | | | | | <rdar://problem/9583891> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132860 91177308-0d34-0410-b5e6-96231b3b80d8
* build: Add support for a SHOW_DIAGNOSTICS build variable.Daniel Dunbar2011-04-11
| | | | | | | | | If enabled, this will attempt to use the CC_LOG_DIAGNOSTICS feature I dropped into Clang to print a log of all the diagnostics generated during an individual build (from the top-level). Not sure if this will actually be useful, but for now it is handy for testing the option. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129312 91177308-0d34-0410-b5e6-96231b3b80d8
* Merge System into Support.Michael J. Spencer2010-11-29
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120298 91177308-0d34-0410-b5e6-96231b3b80d8
* build/Makefiles: Don't build unittests when ONLY_TOOLS is set.Daniel Dunbar2010-11-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120196 91177308-0d34-0410-b5e6-96231b3b80d8
* Add --enable-docs. Patch by NAKAMURA Takumi.Rafael Espindola2010-11-12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118918 91177308-0d34-0410-b5e6-96231b3b80d8
* llvmc: remove dynamic plugins.Mikhail Glushenkov2010-08-15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111094 91177308-0d34-0410-b5e6-96231b3b80d8
* tests: Kill off custom targets which were just there for TestRunner.sh.Daniel Dunbar2010-08-02
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110003 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for a new Apple-style build target, EmbeddedSim, that buildsBob Wilson2010-07-20
| | | | | | | llvmCore for the iOS Simulator. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108922 91177308-0d34-0410-b5e6-96231b3b80d8
* build/Clang: Build and install libLTO as part of clang-only/install-clang ↵Daniel Dunbar2010-07-16
| | | | | | targets. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108493 91177308-0d34-0410-b5e6-96231b3b80d8
* Issue the warning about being slow whenever optimization is disabled,Duncan Sands2010-07-07
| | | | | | | and not just for Debug+Asserts builds. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107792 91177308-0d34-0410-b5e6-96231b3b80d8
* adapt condition for changed default build modeGabor Greif2010-07-07
| | | | | | | who knows how to cover Asserts or Debug separately please do not hesitate to extend this git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107779 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename "Release" builds as "Release+Asserts"; rename "Release-Asserts"Duncan Sands2010-07-07
| | | | | | | | | | | | | | builds to "Release". The default build is unchanged (optimization on, assertions on), however it is now called Release+Asserts. The intent is that future LLVM releases released via llvm.org will be Release builds in the new sense, i.e. will have assertions disabled (currently they have assertions enabled, for a more than 20% slowdown). This will bring them in line with MacOS releases, which ship with assertions disabled. It also means that "Release" now means the same things in make and cmake builds: cmake already disables assertions for "Release" builds AFAICS. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107758 91177308-0d34-0410-b5e6-96231b3b80d8
* build: Update install-clang target.Daniel Dunbar2010-06-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107334 91177308-0d34-0410-b5e6-96231b3b80d8
* Update for CIndex rename.Daniel Dunbar2010-04-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102803 91177308-0d34-0410-b5e6-96231b3b80d8
* Add an install-clang-c top-level target, which does a Clang C API install.Daniel Dunbar2010-04-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102751 91177308-0d34-0410-b5e6-96231b3b80d8
* cross-build Makefile needs to unset CFLAGS/CXXFLAGS when building the ↵Jim Grosbach2010-04-24
| | | | | | build-side utilities since the flags will be for the cross-compiler. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102225 91177308-0d34-0410-b5e6-96231b3b80d8
* modernize the do-all-for-me target to run litGabor Greif2010-03-21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99148 91177308-0d34-0410-b5e6-96231b3b80d8
* Try r96559 for the third time. This time the shared library is only built ifJeffrey Yasskin2010-02-25
| | | | | | | --enable-shared is passed to configure. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97119 91177308-0d34-0410-b5e6-96231b3b80d8
* Roll back r96959 again.Jeffrey Yasskin2010-02-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96981 91177308-0d34-0410-b5e6-96231b3b80d8
* Roll r96559 forward again, adding libLLVM-2.7svn.so to LLVM. This links 3 ofJeffrey Yasskin2010-02-23
| | | | | | | the examples shared to make sure the shared library keeps working. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96959 91177308-0d34-0410-b5e6-96231b3b80d8
* Kill off LLVMGCC_MAJVERS make variable.Daniel Dunbar2010-02-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96907 91177308-0d34-0410-b5e6-96231b3b80d8
* Roll back the shared library, r96559. It broke two darwins and arm, ↵Jeffrey Yasskin2010-02-18
| | | | | | mysteriously. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96569 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a shared library for LLVM, named libLLVM2.7svn.(so|dylib), and add anJeffrey Yasskin2010-02-18
| | | | | | | | | | | | | | | | | | | | | --enable-shared configure flag to have the tools linked shared. (2.7svn is just $(LLVMVersion) so it'll change to "2.7" in the release.) Always link the example programs shared to test that the shared library keeps working. On my mac laptop, Debug libLLVM2.7svn.dylib is 39MB, and opt (for example) is 16M static vs 440K shared. Two things are less than ideal here: 1) The library doesn't include any version information. Since we expect to break the ABI with every release, this shouldn't be much of a problem. If we do release a compatible 2.7.1, we may be able to hack its library to work with binaries compiled against 2.7.0, or we can just ask them to recompile. I'm hoping to get a real packaging expert to look at this for the 2.8 release. 2) llvm-config doesn't yet have an option to print link options for the shared library. I'll add this as a subsequent patch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96559 91177308-0d34-0410-b5e6-96231b3b80d8
* For 'install-clang' target, also traverse tools/clang/lib/Runtime.Daniel Dunbar2010-01-20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93958 91177308-0d34-0410-b5e6-96231b3b80d8
* Update install-clang target for clang-cc removal.Daniel Dunbar2009-12-12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91226 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
* Don't build examples by default, use BUILD_EXAMPLES=1 to build them. The ↵Daniel Dunbar2009-11-16
| | | | | | only utility of this is testing that we keep the examples up to date, I will just make the buildbots run with this flag. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@88979 91177308-0d34-0410-b5e6-96231b3b80d8
* When cross-building, the CFLAGS and CXXFLAGS are for the target, and don'tJim Grosbach2009-10-30
| | | | | | | apply to the build tools. If we want to allow build tool flags input, we should have separate inputs (BUILD_CFLAGS and BUILD_CXXFLAGS, perhaps). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85607 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove extraneous comment lineJim Grosbach2009-10-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85606 91177308-0d34-0410-b5e6-96231b3b80d8
* update name check for Apple style builds to be more permissiveJim Grosbach2009-10-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85605 91177308-0d34-0410-b5e6-96231b3b80d8
* Move DataTypes.h to include/llvm/System, update all users. This breaks the lastChandler Carruth2009-10-26
| | | | | | | direct inclusion edge from System to Support. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85086 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove stale reference to ThreadSupport.h.Chandler Carruth2009-10-25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85082 91177308-0d34-0410-b5e6-96231b3b80d8