[Lldb-commits] [PATCH] D133876: [lldb][tests][NFC] Move C++ gmodules tests into new gmodules/ subdirectory

Michael Buch via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Sep 16 15:24:05 PDT 2022


Michael137 added a comment.

In D133876#3796847 <https://reviews.llvm.org/D133876#3796847>, @dyung wrote:

> @Michael137, your change is causing cmake to fail on one of our bots:
>
> https://lab.llvm.org/buildbot/#/builders/217/builds/11819
>
>   CMake Error at cmake/modules/AddLLVM.cmake:1867 (add_custom_target):
>     add_custom_target cannot create target
>     "check-lldb-api-lang-cpp-gmodules-templates" because another target with
>     the same name already exists.  The existing target is a custom target
>     created in source directory
>     "/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/lldb/test/API".
>     See documentation for policy CMP0002 for more details.
>   Call Stack (most recent call first):
>     cmake/modules/AddLLVM.cmake:1980 (add_lit_target)
>     /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/lldb/test/API/CMakeLists.txt:4 (add_lit_testsuites)
>
> Can you take a look?

Here I'm just renaming a directory. @dyung I think this might have to do with a stale `__pycache__` directory in the test directory. Can you force a fresh checkout on the build bot and restart?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D133876



More information about the lldb-commits mailing list