NAKAMURA Takumi
4b0ffe7e49
Revert r197380, "llvm-config: Print SYSTEM_LIBS with --libs, instead of --ldflags."
...
I will introduce another flag, like --system-libs, later.
llvm-svn: 197583
2013-12-18 16:21:16 +00:00
NAKAMURA Takumi
7b789b3b3a
llvm-config: Let directories aware of CMAKE_CFG_INTDIR.
...
With llvm-config.exe --bindir --libdir --build-mode, on Visual Studio 2010,
In build tree:
(OBJ_ROOT)/bin/MinSizeRel
(OBJ_ROOT)/lib/MinSizeRel
MinSizeRel
In installed tree:
(INSTALL_PREFIX)/bin
(INSTALL_PREFIX)/lib
MinSizeRel
This is enhancements since r196283.
llvm-svn: 197467
2013-12-17 05:48:37 +00:00
NAKAMURA Takumi
ce142e080b
llvm-config: Print SYSTEM_LIBS with --libs, instead of --ldflags.
...
LLVM libs are printed in the first line, and system libs are printed in the next line.
$ bin/llvm-config --libs object
-lLLVMObject -lLLVMSupport
-lrt -ldl -ltinfo -lpthread -lz
It is workaround for PR3347 and PR8449.
llvm-svn: 197380
2013-12-16 11:22:22 +00:00
NAKAMURA Takumi
303f0f5abd
check-llvm: Ask llvm-config about assertion mode, instead of llc.
...
Add --assertion-mode to llvm-config. It emits ON or OFF according to NDEBUG.
llvm-svn: 196329
2013-12-03 23:22:25 +00:00
NAKAMURA Takumi
1b16e277dc
llvm-config: With --build-mode, show ${CMAKE_CFG_INTDIR} on multiconfig builder.
...
llvm-svn: 196283
2013-12-03 14:35:17 +00:00
Rafael Espindola
479a9bd0ba
Remove unused includes.
...
llvm itself is now PathV1 clean.
llvm-svn: 184947
2013-06-26 13:54:34 +00:00
Rafael Espindola
e03dfd9b0a
Port GetMainExecutable over to PathV2.
...
I will remove the V1 version as soon as I change clang in the next commit.
llvm-svn: 184914
2013-06-26 05:01:35 +00:00
Rafael Espindola
d1fcac9126
Include PathV1.h in files that use it.
...
This is preparation for replacing Path.h with PathV2.h.
llvm-svn: 183782
2013-06-11 20:00:56 +00:00
Daniel Dunbar
f1ab402ecd
llvm-config: Use sys::fs::equivalent instead of string comparison.
...
- Hopefully fixes PR11600 (untested).
llvm-svn: 156865
2012-05-15 22:07:18 +00:00
Daniel Dunbar
c364d68bf2
llvm-build: Add support for non-installed libraries (e.g., gtest).
...
- These libraries are only reported by llvm-config when run from a development
tree.
llvm-svn: 156838
2012-05-15 18:44:17 +00:00
Duncan Sands
f320be8521
An easy case where GCC should really be able to work out that the value is only
...
used if IsInDevelopmentTree is 'true'. But it doesn't, so help it out.
llvm-svn: 151244
2012-02-23 08:25:25 +00:00
Peter Collingbourne
76e1c8c9ae
llvm-config: Add support for CMake build trees in which the build
...
mode does not form part of the path.
llvm-svn: 149010
2012-01-26 01:31:38 +00:00
Daniel Dunbar
30a8976127
llvm-config: Fix --targets-built, I changed this to use the registry but wasn't
...
properly initializing the target infos. I decided it wasn't worth linking them
in for this, so just switched back to using the Makefile variable for now. We
can reconsider later if we ever get pluggable targets.
llvm-svn: 146711
2011-12-16 00:04:43 +00:00
Daniel Dunbar
c7037f3f81
llvm-config: Update help text for removal of "backend" pseudo component.
...
llvm-svn: 146708
2011-12-15 23:43:17 +00:00
Daniel Dunbar
fbc6a892a7
llvm-config: Default to "all" if no components are specified.
...
- Fixes PR11530.
llvm-svn: 146388
2011-12-12 18:22:04 +00:00
Daniel Dunbar
ab0ad4ed1e
llvm-config: Replace with C++ version (was llvm-config-2).
...
- Another reapply of r144300, with hopefully one last fix.
llvm-svn: 145623
2011-12-01 20:18:09 +00:00
Duncan Sands
b8e6cee9ca
Revert commit 145449 (ddunbar) since it is breaking the dragonegg buildbots.
...
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
2011-12-01 10:50:19 +00:00
Daniel Dunbar
8d5cc33ad8
llvm-config: Replace with C++ version (was llvm-config-2).
...
- Reapply of r144300, with lots of fixes/migration easement in between.
llvm-svn: 145449
2011-11-29 22:56:31 +00:00
Daniel Dunbar
933b43f188
Revert r144300 "llvm-config: Replace with C++ version (was llvm-config-2).",
...
which didn't appear ready for prime time.
llvm-svn: 144309
2011-11-10 19:59:35 +00:00
Daniel Dunbar
166c804893
llvm-config: Replace with C++ version (was llvm-config-2).
...
llvm-svn: 144300
2011-11-10 18:49:59 +00:00