Skip to content

CMake build: "Error copying file "../../../bin/liblldb.dll" to "_lldb.pyd" #55075

@jbsolomon

Description

@jbsolomon

Running a CMake build on Windows amd64 on release/14.x with:

  • -DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra;lld;lldb;mlir"
  • -DLLDB_ENABLE_PYTHON=OFF
  • -DLLDB_ENABLE_LUA=ON

I was able to build 11, 12, and 13. The compiler is Clang 13.0 built from source on d7b669b and I am using PowerShell (but it also happens with cmd.exe.) No Visual Studio envars, no mingw. Ninja generator.

Unfortunately my terminal is unable to copy selections to the Windows clipboard.

Anyway, almost immediately the build fails on tools/lldb/CMakeFiles/lldb-lua.util, complaining that

cmd.exe /C "cd /D C:\llvm-build\llvm-project-14.0.0\build\lib\lua\5.3 && "C:\Program Files\CMake\bin\cmake.exe" -E copy ../../../bin/liblldb.dll _lldb.pyd"

fails to copy the file. I have verified this by running the command by hand, and indeed, this file is absent from the source directory.

Any pointers would be welcome!

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions