[lldb-dev] LLDB finish_swig and Python module installation broken for multi-configuration generators
Michał Górny via lldb-dev
lldb-dev at lists.llvm.org
Fri Oct 11 06:35:20 PDT 2019
On Thu, 2019-10-10 at 23:11 +0000, Ted Woodward wrote:
> Starting in r372835 (Fix installing Python modules on systems using /usr/lib), the finish_swig and installation steps using multi-configuration generators (like Visual Studio or XCode) are broken.
>
> The problem is the symlink and install steps look for liblldb and site-packages the wrong directories.
>
> For the symlink, I get this output:
> Making symlink from ..\..\..\bin\liblldb.dll to i:\obj\lib\site-packages\lldb\_lldb.pyd
> ...
> WindowsError: [Error 2] The system cannot find the file specified: '..\\..\\..\\bin\\liblldb.dll'
>
> Because the cwd is I:\obj\Lib\site-packages\lldb, not the correct I:\obj\Release\Lib\site-packages\lldb. liblldb.dll is in i:\obj\Release\bin, not i:\obj\bin. Also, the link itself should be in i:\obj\Release\lib, not i:\obj\lib.
>
> The problem is the cmake code went from using LLVM_LIBRARY_OUTPUT_INTDIR to CMAKE_BINARY_DIR. CMAKE_BINARY_DIR is not complete for multi-configuration generators - you need to specify the configuration as well.
>
[...]
> Michal, please try this and see if it still works for the issue you fixed in r372835.
Actually, I see that Haibo has already addressed this 2 days ago. Could
you test if his solution (r374250) works for you?
--
Best regards,
Michał Górny
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 618 bytes
Desc: This is a digitally signed message part
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20191011/0f305447/attachment.sig>
More information about the lldb-dev
mailing list