summaryrefslogtreecommitdiff
path: root/Makefile.rules
Commit message (Collapse)AuthorAge
* Use MACOSX_DEPLOYMENT_TARGET when it is set. <rdar://problem/12433905>Bob Wilson2012-10-12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165828 91177308-0d34-0410-b5e6-96231b3b80d8
* Place temporary LTO files into their own subdirectory.Bill Wendling2012-10-10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165599 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert "Use a special path to place the .o files in."Bob Wilson2012-10-09
| | | | | | This reverts commit 165428 in an attempt to get our buildbots going. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165574 91177308-0d34-0410-b5e6-96231b3b80d8
* Use a special path to place the .o files in.Bill Wendling2012-10-08
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165428 91177308-0d34-0410-b5e6-96231b3b80d8
* Use -object_path_lto when linking executables if building Apple style.Bill Wendling2012-10-05
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165282 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure 'prefix-clang++' is aliased to 'prefix-clang', not 'clang'.Jordan Rose2012-10-04
| | | | | | | | | | | | | When aliasing tools, rather than using the base TOOLEXENAME, we should instead use the built tool's basename (for 'make') or the installed tool's basename (for 'make install'). This should not cause any changes for anyone building unprefixed 'clang' and 'clang++' tools. Patch by Rick Foos! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165189 91177308-0d34-0410-b5e6-96231b3b80d8
* Re-enable support for --program-prefix.Jordan Rose2012-10-01
| | | | | | | | | The Apple buildbots have been modified not to pass --target, so they shouldn't choke on a default program prefix anymore. Patch by Rick Foos! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164956 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert "Add --program-prefix support to build"Jordan Rose2012-09-26
| | | | | | | | | | | | | The Apple buildbots are set up to pass --target to configure for both cross- and non-cross-compile builds, and the standard autoconf response to this is to set the program prefix to '<target>-'. Until we can figure out the proper way to handle this (don't pass --target? pass an explicit --program-prefix=""? don't auto-populate program_prefix with target_alias?) it's more important to keep the buildbots running. This reverts r164633 / ba48ceb1a3802e20e781ef04ea2573ffae2ac414. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164651 91177308-0d34-0410-b5e6-96231b3b80d8
* Add --program-prefix support to buildSebastian Pop2012-09-25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164633 91177308-0d34-0410-b5e6-96231b3b80d8
* Temporarily revert this to bring back the bots.Eric Christopher2012-08-28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162722 91177308-0d34-0410-b5e6-96231b3b80d8
* Add --program-prefix support to build.Sebastian Pop2012-08-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162707 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a configure flag for enabling -Werror on the command lineEric Christopher2012-08-03
| | | | | | while building as requested by Lang. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161253 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a configure option to pass -std=c++11 on the command line.Eric Christopher2012-08-03
| | | | | | rdar://11366674 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161251 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert previous patch here, we should instead configure in specificEric Christopher2012-08-03
| | | | | | packages for particular uses. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161246 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a BUILD_FLAGS variable so that autoconf checks have a placeEric Christopher2012-08-03
| | | | | | | | | | to store additional flag options since too many things can and do override CPPFLAGS. Also, this is exported, unlike CPPFLAGS so it can be actually used elsewhere. This should enable us to remove the AC_SUBSTs in the intel checks, but I have no way of testing it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161233 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove 'check-dg', a wrapper around 'check-local-dg' which was justChandler Carruth2012-06-28
| | | | | | | | | nuked. Add a comment that the 'check-lit' rule is really just a legacy of having two test runners. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159310 91177308-0d34-0410-b5e6-96231b3b80d8
* llvm-ld does not exist anymore, use llvm-link instead.Nicolas Geoffray2012-05-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157342 91177308-0d34-0410-b5e6-96231b3b80d8
* Make IntelJITEvents and OProfileJIT as optional libraries and addPreston Gurd2012-05-07
| | | | | | | | | | | | | | optional library support to the llvm-build tool: - Add new command line parameter to llvm-build: “--enable-optional-libraries” - Add handing of new llvm-build library type “OptionalLibrary” - Update Cmake and automake build systems to pass correct flags to llvm-build based on configuration Patch by Dan Malea! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156319 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove llvm-ld and llvm-stub (which is only used by llvm-ld).Michael J. Spencer2012-04-19
| | | | | | | | | | | | | | | | llvm-ld is no longer useful and causes confusion and so it is being removed. * Does not work very well on Windows because it must call a gcc like driver to assemble and link. * Has lots of hard coded paths which are wrong on many systems. * Does not understand most of ld's options. * Can be partially replaced by llvm-link | opt | {llc | as, llc -filetype=obj} | ld, or fully replaced by Clang. I know of no production use of llvm-ld, and hacking use should be replaced by Clang's driver. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155147 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix the build under Debian GNU/Hurd.Sylvestre Ledru2012-04-11
| | | | | | | | Thanks to Pino Toscano for the patch git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154500 91177308-0d34-0410-b5e6-96231b3b80d8
* Use a posix compliant regexp in export file construction.Eric Christopher2012-03-12
| | | | | | Patch by John Spencer git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152574 91177308-0d34-0410-b5e6-96231b3b80d8
* build/Darwin: Make it easy to cause all tools to get codesigned (with make ↵Daniel Dunbar2012-03-06
| | | | | | | | | | CODESIGN_TOOLS=1). - On OS X 10.7+ this is apparently recommended practice. This maybe should become a configurey thing one day, but I'm not sure it is right to automatically turn it on. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152133 91177308-0d34-0410-b5e6-96231b3b80d8
* Enable -Wcovered-switch-default again, but add -Werror to the checks to makeRafael Espindola2012-02-28
| | | | | | sure we don't use it with compilers that don't support it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151665 91177308-0d34-0410-b5e6-96231b3b80d8
* Temporarily revert r151609, which enabled a new warning for LLVM andChandler Carruth2012-02-28
| | | | | | | | Clang builds. The detection logic for compilers that support the warning isn't working. Rafael is going to investigate it, but didn't want people to have to wade through build spam until then. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151649 91177308-0d34-0410-b5e6-96231b3b80d8
* Enable -Wcovered-switch-default as it matches the switch style used in llvm.Rafael Espindola2012-02-28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151609 91177308-0d34-0410-b5e6-96231b3b80d8
* On Cygwin/MingW, add SharedLibDir and LLVMToolDir to the library search ↵David Meyer2012-02-18
| | | | | | path, since shared libraries are placed in 'bin'. (static libraries are still in 'lib'). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150876 91177308-0d34-0410-b5e6-96231b3b80d8
* build/make: Ensure make clean removes the LLVMBuild makefile fragment.Daniel Dunbar2012-02-02
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149643 91177308-0d34-0410-b5e6-96231b3b80d8
* build/Make: Add missing dependency, LLVMBuild makefile fragment implicitly ↵Daniel Dunbar2012-02-02
| | | | | | depends on Makefile.config. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149642 91177308-0d34-0410-b5e6-96231b3b80d8
* PR11642 has been fixed, enable -fvisibility-inlines-hidden everywhere.Rafael Espindola2011-12-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147296 91177308-0d34-0410-b5e6-96231b3b80d8
* Reenable building with -fvisibility-inlines-hidden.Benjamin Kramer2011-12-22
| | | | | | | | | | | | | | | This was disabled years ago because of a bug in GCC 4.1, which is on our "broken compilers" list for other reasons. Saving ~500k on a clang binary (Release+Asserts) is well worth dropping support for it. We currently disable it for shared libraries (where it would bring the biggest win) because clang is broken (PR11642). IMPORTANT: If you're doing incremental builds you may get tons of linker warnings. make clean will fix them. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147182 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a deterministic finite automaton based packetizer for VLIW architecturesAnshuman Dasgupta2011-12-01
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145629 91177308-0d34-0410-b5e6-96231b3b80d8
* 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
* 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
* Add an optional separate install prefix for internal components. rdar://10217046Bob Wilson2011-11-28
| | | | | | | | | | | Some files installed by clang are not relevant for general users and we'd like to be able to install them to a different location. This adds a new --with-internal-prefix configure option and a corresponding PROJ_internal_prefix makefile variable, which defaults to the standard prefix. A tool makefile can specify that it should be installed to this internal prefix by defining INTERNAL_TOOL. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145234 91177308-0d34-0410-b5e6-96231b3b80d8
* build/Make: Switch over to using llvm-config-2 for dependencies one more ↵Daniel Dunbar2011-11-14
| | | | | | (hopefully last) time, now that it also builds as a build tool. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144535 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
* 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
* build/Make: Eliminate BUILD_COMPONENT variable, which is unused.Daniel Dunbar2011-11-11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144418 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: Switch back to llvm-config for now, I foolishly forgot to thinkDaniel Dunbar2011-11-11
| | | | | | about cross compiles. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144406 91177308-0d34-0410-b5e6-96231b3b80d8
* build/Make: llvm-config-2 needs to use EXEEXT, since it is an actual executableDaniel Dunbar2011-11-10
| | | | | | now. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144335 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
* Remove a really ancient line from the default 'make clean' rule that attemptsChris Lattner2011-11-10
| | | | | | | | | | to delete core files. This causes a warning in clang/lib/StaticAnalyzer on case insensitive filesystems, since it contains a "Core" directory. Since this is pointless anyway, just zap it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144317 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 & CMake: Pass the appropriate --native-target and --enable-targetsDaniel Dunbar2011-11-10
| | | | | | options to llvm-build, so the all-targets etc. components are defined properly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144255 91177308-0d34-0410-b5e6-96231b3b80d8
* build/Make: Fix some missing dependencies on the llvm-build generation step.Daniel Dunbar2011-11-09
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144197 91177308-0d34-0410-b5e6-96231b3b80d8
* build/make: Fix the output path of the llvm-config-2 library dependency table.Daniel Dunbar2011-11-04
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143746 91177308-0d34-0410-b5e6-96231b3b80d8
* build: Use right Echo variable and use Verb appropriately.Daniel Dunbar2011-11-03
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143664 91177308-0d34-0410-b5e6-96231b3b80d8