[lldb-dev] Exclusively build and install LLDB?
Kamil Rytarowski via lldb-dev
lldb-dev at lists.llvm.org
Sun Nov 22 21:12:35 PST 2015
-----BEGIN PGP SIGNED MESSAGE-----
On 23.11.2015 05:19, Zachary Turner wrote:
> LLDB links against clang and llvm. How would an lldb-only target
> work? i.e. how would you build lldb without first building clang
> and llvm? Unless I'm misunderstanding the purpose of your
I don't want to build the following executables (among others):
I've found that to some extend I can emulate it with:
ninja/make lldb lldb-mi
I would like to have a target lldb-only, building all LLDB targets
needed to install the full distribution and to perform builtin tests.
> As for the install, are you saying that running "ninja install"
> does not install lldb? If so that's a bug and shoudl be fixed in
> the CMake.
ninja/make install does its job installing LLDB properly.
My complain is that it's not possible (to my knowledge) to stop
installing Clang and LLVM sets.
I don't want to populate my system with the following example files:
Another good reason, besides time and space optimization is that among
others pkgsrc isn't designed to produce multiple packages from a
single meta-file (in a format of BSD Makefile in pkgsrc) with rules
specified to build a piece of software.
It's convenient to users to ship with separated prebuilt packages with
Clang, LLVM, LLDB etc. For now users who installed Clang from pkgsrc
won't be able to install LLDB from pkgsrc-wip (containing prebuilt
package with LLDB from HEAD/master/trunk of the debugger).
For now there seems to be need to go for walk-around similar to
Additionally I've optimized my build with
- -DLLVM_TARGETS_TO_BUILD="X86" and it significantly reduced the
resource usage! I will happily accept more suggestions how to tune it
My current Makefile is here:
> On Sun, Nov 22, 2015 at 5:44 PM Kamil Rytarowski via lldb-dev
> <lldb-dev at lists.llvm.org <mailto:lldb-dev at lists.llvm.org>> wrote:
> Are there plans to add new target: lldb-only and lldb-install?
> There are already similar targets for Clang.
> I'm debugging LLDB on NetBSD and I'm having very bad time building
> everything with debug symbols. There is also popular request from
> NetBSD users to just install lldb without conflicting with Clang
> and LLV M.
> I was looking at Open Source distributions with a LLDB package,
> for example ArchLinux is manually copying files from the build...
> I would like to skip building unnecessary parts and then focus on
> installing only the LLDB package... otherwise I need 64GB of
> RAM+storage and a lot of time to produce new package.
> _______________________________________________ lldb-dev mailing
> list lldb-dev at lists.llvm.org <mailto:lldb-dev at lists.llvm.org>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-----END PGP SIGNATURE-----
More information about the lldb-dev