[libcxx-commits] [PATCH] D62155: [CMake] Copy C++ headers before configuring runtimes build

Roman Lebedev via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu May 23 11:18:45 PDT 2019


lebedev.ri added a comment.

Hello. I'm reasonably sure this broke build for me:
LLVM_ENABLE_PROJECTS=clang;clang-tools-extra;compiler-rt;libcxx;libcxxabi;lld;openmp
BUILD_SHARED_LIBS=ON

  CMake Error at /build/libcxx/include/CMakeLists.txt:278 (add_custom_target):
    add_custom_target cannot create target "install-libcxx-headers" because
    another target with the same name already exists.  The existing target is a
    custom target created in source directory "/build/libcxx/include".  See
    documentation for policy CMP0002 for more details.
  
  
  CMake Error at /build/libcxx/include/CMakeLists.txt:279 (add_custom_target):
    add_custom_target cannot create target "install-libcxx-headers-stripped"
    because another target with the same name already exists.  The existing
    target is a custom target created in source directory
    "/build/libcxx/include".  See documentation for policy CMP0002 for more
    details.

Is this expected? Do i need to purge the build dir? If not, can this please be reverted in the mean time?


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D62155/new/

https://reviews.llvm.org/D62155





More information about the libcxx-commits mailing list