[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 17:46:06 PDT 2022


Michael137 added a comment.

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

> In D133876#3796923 <https://reviews.llvm.org/D133876#3796923>, @Michael137 wrote:
>
>> 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?
>
> I only found one __pycache__ directory and deleting it didn't seem to make a difference. Any other suggestions?

Could you try deleting the `lldb/test/API/lang/cpp/gmodules-templates` directory?


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