https://bugs.llvm.org/show_bug.cgi?id=39750
Stefan Gränitz <stefan.graen...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #9 from Stefan Gränitz <stefan.graen...@gmail.com> ---
As soon as my CMake changes around https://reviews.llvm.org/D55328 are
committed, the following should work for LLDB Standalone builds:
Directory structure:
$ROOT/lldb (master with pending CMake changes)
$ROOT/llvm/projects/compiler-rt (master)
$ROOT/llvm/projects/libcxx (master)
$ROOT/llvm/projects/libcxxabi (master)
$ROOT/llvm/tools/clang (master)
Build LLVM&co (e.g. with ninja):
$ mkdir -p $ROOT/llvm-build/release
$ cd $ROOT/llvm-build/release
$ xcrun cmake -GNinja -DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD=host
../../llvm
$ ninja
Build standalone LLDB (e.g. with xcodebuild):
$ mkdir $ROOT/xcode-release
$ cd $ROOT/xcode-release
$ xcrun cmake -GXcode -DLLVM_TARGETS_TO_BUILD=host
-DLLVM_CONFIG=$ROOT/llvm-build/release/bin/llvm-config ../lldb
$ xcodebuild -configuration Release
Run test suite:
$ cd $/lldb/test
$ python2.7 dotest.py --executable $ROOT/xcode-release/Release/bin/lldb
--filecheck $ROOT/llvm-build/release/bin/FileCheck -C
$ROOT/llvm-build/release/bin/clang
You should be able to build other configurations and use your favorite
generator for the individual parts. As noted earlier, there are no bots that
test this setup at the moment, so feel free to fix things if they break.
Best
Stefan
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev