[lldb] Fix race condition in framework installation
authorShoaib Meenai <smeenai@fb.com>
Wed, 31 Oct 2018 10:41:12 +0000 (10:41 +0000)
committerShoaib Meenai <smeenai@fb.com>
Wed, 31 Oct 2018 10:41:12 +0000 (10:41 +0000)
commit67a633a71796146cfa5984bb2064d9ebd9808fb5
treeecb724950d211b4da498efb6b74a69e3645bb99a
parent63718b214aff93535f2c349db367f6165bb67e9c
[lldb] Fix race condition in framework installation

We need the install-liblldb-stripped target to depend on the
lldb-framework target in order for the installation to be guaranteed to
behave correctly, otherwise it's possible for the lldb-framework and
install-liblldb-stripped targets to run in parallel, resulting in
temporary or partially processed files being copied into the framework.
install-liblldb already depends on lldb-framework for this reason.

Differential Revision: https://reviews.llvm.org/D53917

llvm-svn: 345711
lldb/cmake/modules/AddLLDB.cmake