summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-config
Commit message (Collapse)AuthorAgeFilesLines
...
* llvm-config: Default to "all" if no components are specified.Daniel Dunbar2011-12-121-0/+4
| | | | | | - Fixes PR11530. llvm-svn: 146388
* llvm-config: Replace with C++ version (was llvm-config-2).Daniel Dunbar2011-12-016-824/+415
| | | | | | - Another reapply of r144300, with hopefully one last fix. llvm-svn: 145623
* Revert commit 145449 (ddunbar) since it is breaking the dragonegg buildbots.Duncan Sands2011-12-016-416/+824
| | | | | | | | Original commit message: llvm-config: Replace with C++ version (was llvm-config-2). - Reapply of r144300, with lots of fixes/migration easement in between. llvm-svn: 145582
* llvm-config: Replace with C++ version (was llvm-config-2).Daniel Dunbar2011-11-296-824/+416
| | | | | | - Reapply of r144300, with lots of fixes/migration easement in between. llvm-svn: 145449
* Revert r144300 "llvm-config: Replace with C++ version (was llvm-config-2).",Daniel Dunbar2011-11-106-405/+824
| | | | | | which didn't appear ready for prime time. llvm-svn: 144309
* llvm-config: Replace with C++ version (was llvm-config-2).Daniel Dunbar2011-11-106-824/+405
| | | | llvm-svn: 144300
* llvm-config: Drop 'backend' pseudo-component. We don't support/qualify the CBEDaniel Dunbar2011-11-091-2/+0
| | | | | | enough to have this be useful. llvm-svn: 144202
* Add back the top-level target for 'llvm-config' and the dependency edgeChandler Carruth2011-11-021-0/+7
| | | | | | | | | | | | to force it to build after all library targets so it has complete dependency information. This should fix broken 'make install' with CMake. This is a partial revert of r143540, but it doesn't revert the most important part of that change: removing the dependency edge from LLVM tools to the llvm-config script. llvm-svn: 143548
* build/Make: Get rid of llvm-config-perobj, which isn't used anymore.Daniel Dunbar2011-11-021-44/+0
| | | | llvm-svn: 143541
* build/CMake: Remove llvm-config.target used to serialize tool builds onDaniel Dunbar2011-11-021-11/+0
| | | | | | llvm-config build, there is no longer a point to this after Chandler's work. llvm-svn: 143540
* Have llvm-config --cppflags print correct flags when in CMake build directoryPeter Collingbourne2011-10-283-1/+10
| | | | | | | | | | | | Previously, if invoked from a CMake build directory, 'llvm-config --cppflags' and friends would only print a -I flag for the build directory's header search path, because it would assume that it was already installed, not recognising its parent directory as being the build directory. Teach llvm-config about CMake build directories so that it prints a -I for both the source and build directory's search paths. llvm-svn: 143171
* llvm-config: Add an all-targets pseudo-component.Daniel Dunbar2011-10-181-2/+6
| | | | llvm-svn: 142399
* Rewrite the CMake build to use explicit dependencies between libraries,Chandler Carruth2011-07-291-24/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | specified in the same file that the library itself is created. This is more idiomatic for CMake builds, and also allows us to correctly specify dependencies that are missed due to bugs in the GenLibDeps perl script, or change from compiler to compiler. On Linux, this returns CMake to a place where it can relably rebuild several targets of LLVM. I have tried not to change the dependencies from the ones in the current auto-generated file. The only places I've really diverged are in places where I was seeing link failures, and added a dependency. The goal of this patch is not to start changing the dependencies, merely to move them into the correct location, and an explicit form that we can control and change when necessary. This also removes a serialization point in the build because we don't have to scan all the libraries before we begin building various tools. We no longer have a step of the build that regenerates a file inside the source tree. A few other associated cleanups fall out of this. This isn't really finished yet though. After talking to dgregor he urged switching to a single CMake macro to construct libraries with both sources and dependencies in the arguments. Migrating from the two macros to that style will be a follow-up patch. Also, llvm-config is still generated with GenLibDeps.pl, which means it still has slightly buggy dependencies. The internal CMake 'llvm-config-like' macro uses the correct explicitly specified dependencies however. A future patch will switch llvm-config generation (when using CMake) to be based on these deps as well. This may well break Windows. I'm getting a machine set up now to dig into any failures there. If anyone can chime in with problems they see or ideas of how to solve them for Windows, much appreciated. llvm-svn: 136433
* Rename LLVMConfig.cmake to LLVM-Config.cmake. The *Config.cmake namingOscar Fuentes2011-04-051-1/+1
| | | | | | scheme is used by the functionality related to find_package. llvm-svn: 128889
* CMake: remove debug code from previous commit.Oscar Fuentes2011-04-011-4/+0
| | | | llvm-svn: 128740
* Fix assignment of -fPIC to CMAKE_C_FLAGS. Configure llvm-config.in.inOscar Fuentes2011-04-011-4/+8
| | | | | | | | | with the contents of CMAKE_C(XX)_FLAGS too, else `llvm-config --c(xx)flags' doesn't tell the absolute truth. This comes from PR9603 and is based on a patch by Ryuta Suzuki! llvm-svn: 128727
* Make llvm-config.in configuration more MSYS-friendly.Oscar Fuentes2011-03-191-9/+10
| | | | | | | Some of those POSIX <-> Windows command line conversions ended on failure. llvm-svn: 127958
* CMake: store TARGET_TRIPLE on llvm-config.in.Oscar Fuentes2011-03-191-0/+1
| | | | llvm-svn: 127957
* CMake: remove unnecessary variable.Oscar Fuentes2011-02-221-2/+1
| | | | llvm-svn: 126224
* Move library stuff out of the toplevel CMakeLists.txt file.Oscar Fuentes2011-02-181-0/+3
| | | | llvm-svn: 125968
* Don't show -pedantic, -W and -Wall on the output ofOscar Fuentes2011-01-271-0/+11
| | | | | | | | | llvm-config --cflags --cxxflags --cppflags We shouldn't impose those flags on people who use llvm-config for building their own projects. llvm-svn: 124399
* fix the autoconf script to detect "has asmprinter"ness of a target byChris Lattner2010-11-141-0/+3
| | | | | | | looking for lib/Target/*AsmPrinter.cpp. Fix llvm-config to handle targets that don't have an explicit AsmPrinter library. llvm-svn: 119057
* Stop the build if cyclic library dependecies found.Oscar Fuentes2010-10-021-1/+4
| | | | llvm-svn: 115405
* Convert a bunch of uses of 'bytecode' into 'bitcode'. ThisDuncan Sands2010-09-291-1/+1
| | | | | | is not everything, but the remaining cases are less trivial. llvm-svn: 115080
* Revert "CMake: Get rid of LLVMLibDeps.cmake and export the libraries normally."Michael J. Spencer2010-09-131-0/+25
| | | | | | | | | | This reverts commit r113632 Conflicts: cmake/modules/AddLLVM.cmake llvm-svn: 113819
* CMake: Get rid of LLVMLibDeps.cmake and export the libraries normally.Michael J. Spencer2010-09-101-25/+0
| | | | llvm-svn: 113632
* CMake: Improved COMMENT on a custom commandOscar Fuentes2010-08-151-1/+1
| | | | llvm-svn: 111111
* Rewrite makefiles to explicitly reference DESTDIR to fix bug 3153.Erick Tryzelaar2010-03-041-2/+2
| | | | | | We need this so can not bake DESTDIR into the O'Caml symlinks. llvm-svn: 97743
* Kill off LLVMGCCARCH and LLVMGCC_VERSION make variables.Daniel Dunbar2010-02-231-1/+0
| | | | llvm-svn: 96909
* Kill off LLVMGCC_MAJVERS make variable.Daniel Dunbar2010-02-231-1/+0
| | | | llvm-svn: 96907
* New flag for GenLibDeps, and llvm-config-perobjincl.Torok Edwin2010-02-042-0/+45
| | | | | | | This allows to show the explicit files that need to be built/linked to get an LLVM component. llvm-svn: 95300
* Stop building RTTI information for *most* llvm libraries. NotableChris Lattner2010-01-221-1/+0
| | | | | | | | | | | 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. llvm-svn: 94164
* make llvm-config more portable to windows versions of perl,Chris Lattner2010-01-181-10/+5
| | | | | | patch by Michael Beck! llvm-svn: 93793
* Add the rest of the build system logic for optional target disassemblersDaniel Dunbar2009-11-251-0/+4
| | | | llvm-svn: 89841
* Stop running get_target_triple more than we need to.Daniel Dunbar2009-11-071-3/+0
| | | | llvm-svn: 86418
* CMake: remove .so file extension from library names when buildingOscar Fuentes2009-10-041-1/+1
| | | | | | | | dependency info. Patch by Peter Collingbourne! llvm-svn: 83275
* Fix llvm-config --src-root and --obj-root for CMake builds.Daniel Dunbar2009-09-221-0/+2
| | | | llvm-svn: 82529
* llvm-config: Remove unused variables.Daniel Dunbar2009-09-221-11/+0
| | | | llvm-svn: 82528
* Make cmake generated llvm-config output correct JIT backend for non X86 targets.Xerxes Ranby2009-09-161-1/+1
| | | | llvm-svn: 82049
* CMake: Automatic regeneration of the library dependencies file.Oscar Fuentes2009-08-141-0/+22
| | | | | | | | | | | It doesn't stop or reconfigure the build, though, so the user will see a broken build that magically succeeds at the next attempt. It is technically possible to halt the build with a helpful message, and even to automatically restart the build using the new dependencies as it we did when llvm-config was used by cmake for learning dependencies. This is left on the TODO list. llvm-svn: 79004
* CMake: propagate to the parent scope LLVM_COMMON_DEPENDS. This isOscar Fuentes2009-08-141-0/+2
| | | | | | necessary for the changes being effective on the successive targets llvm-svn: 78989
* CMake: build llvm-config before the other tools.Oscar Fuentes2009-08-141-0/+6
| | | | llvm-svn: 78975
* CMake: Localized dependency on Perl.Oscar Fuentes2009-08-121-0/+1
| | | | llvm-svn: 78788
* CMake: Re-enabled build of llvm-config. Removed recursive invocationOscar Fuentes2009-08-121-1/+0
| | | | | | of cmake. llvm-svn: 78768
* Reenable asmparser dependency generation, now with improved Perl foo.Daniel Dunbar2009-07-171-0/+4
| | | | llvm-svn: 76243
* Disable llvm-config magic for AsmParser, it is isn't right & is breaking the ↵Daniel Dunbar2009-07-171-5/+0
| | | | | | build. llvm-svn: 76242
* Sketch support for target specific assembly parser.Daniel Dunbar2009-07-171-0/+5
| | | | | | - Not fully enabled yet, need a configure regeneration. llvm-svn: 76230
* Teach Makefiles & CMake to link in the <TARGET>Info library when linking theDaniel Dunbar2009-07-151-1/+6
| | | | | | | | TARGET component. - Also, updated some CMake library dependencies, it is still missing some though. :( llvm-svn: 75755
* Fix http://llvm.org/PR4481: Make llvm-config print the right include paths whenJeffrey Yasskin2009-07-071-3/+6
| | | | | | srcdir!=objdir. llvm-svn: 74956
* CMake: Implements and documents option LLVM_ENABLE_ASSERTS.Oscar Fuentes2009-06-031-1/+0
| | | | llvm-svn: 72774
OpenPOWER on IntegriCloud