summaryrefslogtreecommitdiff
path: root/tools/llvm-config/Makefile
Commit message (Collapse)AuthorAge
* Rewrite makefiles to explicitly reference DESTDIR to fix bug 3153.Erick Tryzelaar2010-03-04
| | | | | | We need this so can not bake DESTDIR into the O'Caml symlinks. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97743 91177308-0d34-0410-b5e6-96231b3b80d8
* New flag for GenLibDeps, and llvm-config-perobjincl.Torok Edwin2010-02-04
| | | | | | | | This allows to show the explicit files that need to be built/linked to get an LLVM component. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95300 91177308-0d34-0410-b5e6-96231b3b80d8
* Stop building RTTI information for *most* llvm libraries. NotableChris Lattner2010-01-22
| | | | | | | | | | | | | missing ones are libsupport, libsystem and libvmcore. libvmcore is currently blocked on bugpoint, which uses EH. Once it stops using EH, we can switch it off. This #if 0's out 3 unit tests, because gtest requires RTTI information. Suggestions welcome on how to fix this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94164 91177308-0d34-0410-b5e6-96231b3b80d8
* Change these sed lines to behave correctly when the input stringDan Gohman2009-03-10
| | | | | | | contains commas. This fixes PR3727. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66565 91177308-0d34-0410-b5e6-96231b3b80d8
* remove attributions from tools/utils makefiles.Chris Lattner2007-12-29
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45414 91177308-0d34-0410-b5e6-96231b3b80d8
* Added quotes around $(NM_PATH) argument to GenLibDeps.pl script so thatTed Kremenek2007-11-27
| | | | | | | | the "-p" option is actually seen by nm (it was being dropped as it was considered as separate argument to the Perl script). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44365 91177308-0d34-0410-b5e6-96231b3b80d8
* Makesure the -cppflags also uses the CPP.BaseFlags as the CPP.Defines onlyReid Spencer2007-07-10
| | | | | | | contains some of the defines but not all CPP flags. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38487 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for building with _GLIBCXX_DEBUG. New configure optionDavid Greene2007-06-28
| | | | | | | | | | | | | | --enable-expensive-checks allows the developer to enable runtime checking that can greatly increase compile time. Currently it only turns on _GLIBCXX_DEBUG. Other expensive debugging checks added later should be controlled by this configure option. This patch also updates llvm-config with a --cppflags option to inform llvm-gcc how to build itself so that it is compatible with an llvm that was built with _GLIBCXX_DEBUG. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37777 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix grammaro in output message.Reid Spencer2007-02-04
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33885 91177308-0d34-0410-b5e6-96231b3b80d8
* Run GenLibDeps.pl with the configured PERL path to handle different installReid Spencer2007-01-21
| | | | | | | locations for Perl on different systems. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33424 91177308-0d34-0410-b5e6-96231b3b80d8
* Fixing a ">" redirect to be a ">>" redirect, so a sed command doesn't get ↵Chandler Carruth2007-01-09
| | | | | | clobbered. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33032 91177308-0d34-0410-b5e6-96231b3b80d8
* Add an option for getting the C compiler flags, --cflags.Reid Spencer2007-01-06
| | | | | | | Patch contributed by Chandler Carruth git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32950 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix PR1040:Reid Spencer2006-12-12
| | | | | | | Don't rebuild llvm-config if none of the library dependencies changed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32455 91177308-0d34-0410-b5e6-96231b3b80d8
* reword messageChris Lattner2006-12-06
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32257 91177308-0d34-0410-b5e6-96231b3b80d8
* If a cycle exists, don't succeed building the second time around.Chris Lattner2006-09-04
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30076 91177308-0d34-0410-b5e6-96231b3b80d8
* Fixed typo. Thanks, Reid.Anton Korobeynikov2006-08-04
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29533 91177308-0d34-0410-b5e6-96231b3b80d8
* Removed usage of "sort", which can lead to undeterministic behavior on mingw ↵Anton Korobeynikov2006-08-04
| | | | | | & cygwin platforms. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29532 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR845:Reid Spencer2006-08-03
| | | | | | | | | Enable the makefile check on the result of find-cycles.pl. LLVM is now cycle free and we intend to keep it that way. This patch will fail the build if cycles are found. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29517 91177308-0d34-0410-b5e6-96231b3b80d8
* Changes to support cross-compiling LLVM. The GenLibDeps.pl script needs toReid Spencer2006-07-27
| | | | | | | | | | | have a compile-host version of "nm", not build-host. In order to effect this we must use autoconf to determine the correct "nm" to use and propagate that through the makefiles, through llvm-config and finally to GenLibDeps.pl as an optional argument. Patch contributed by Anton Korobeynikov. Thanks! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29368 91177308-0d34-0410-b5e6-96231b3b80d8
* Make changes necessary for stopping the build if a cyclic libraryReid Spencer2006-07-26
| | | | | | | | | | dependency is found. The find-cycles.pl script now exits with a return code that equals the number of cycles found. The Makefile was changed to ignore the status code of find-cycles.pl. This should be removed once the libraries are free of cyclic dependencies. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29290 91177308-0d34-0410-b5e6-96231b3b80d8
* Tools require EH for their top-level try blocks.Chris Lattner2006-07-07
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29035 91177308-0d34-0410-b5e6-96231b3b80d8
* Make the llvm-config library dependency database depend on all of the libraries.Chris Lattner2006-06-06
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28695 91177308-0d34-0410-b5e6-96231b3b80d8
* Capture the build mode (e.g. Debug/Release) in the llvm-config script.Chris Lattner2006-06-02
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28665 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove obsolete CORE_IS_ARCHIVE supportChris Lattner2006-06-02
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28649 91177308-0d34-0410-b5e6-96231b3b80d8
* Build llvm-config into the ToolDir not in the local directory. This makesReid Spencer2006-06-01
| | | | | | | | it more likely to be in a developer's path and consistent with all the other tools. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28613 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR764:Reid Spencer2006-05-03
| | | | | | | | | Don't check in the LibDeps.txt and FinalLibDeps.txt files to CVS because the content differs from platform to platform. Instead, adjust the makefile so that a dummy llvm-config is built if Perl is not available. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28084 91177308-0d34-0410-b5e6-96231b3b80d8
* Several Changes To Support Building llvm-config:Reid Spencer2006-04-20
| | | | | | | | | | | | 1. If Perl is not available, don't run Perl dependent targets. 2. Check in FinalLibDeps.txt for build environments that can't build it because there's no Perl processor. 3. Ensure that FinalLibDeps.txt depends on LibDeps.txt so it is automatically regenerated. 4. Support objdir != srcdir building. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27915 91177308-0d34-0410-b5e6-96231b3b80d8
* Update to llvm-config tool, by Erik Kidd:Reid Spencer2006-03-23
| | | | | | | | | | | | 1. Check for Perl and only build llvm-config if its available. 2. Add some virtual components 3. Don't depend on "standard" location for Perl, but configured location 4. Document the tool with a POD file. This version is now ready for testing by users. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27005 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't print out ugly command line when building LibDeps.txt.Reid Spencer2006-03-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27001 91177308-0d34-0410-b5e6-96231b3b80d8
* These changes are necessary to support the new llvm-config tool. llvm-configReid Spencer2006-03-22
| | | | | | | | | | is a handy tool for users of LLVM who want to be able to quickly get information about LLVM's configuration. It is intended to be used in the command line of other tools. Documentation will be forthcoming in a subsequent patch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26952 91177308-0d34-0410-b5e6-96231b3b80d8
* First cut at the Makefile for llvm-config. This initial version just providesReid Spencer2006-03-19
the rule for building the LibDeps.txt file using GenLibDeps.pl. This needs to be done from time to time manually in order to keep LibDeps.txt up to date. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26875 91177308-0d34-0410-b5e6-96231b3b80d8