Page MenuHomeFreeBSD

lldb: add rule to generate LLDBWrapLua.cpp
ClosedPublic

Authored by emaste on Apr 2 2020, 8:58 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 18, 9:42 PM
Unknown Object (File)
Mon, Nov 18, 5:13 AM
Unknown Object (File)
Oct 14 2024, 4:52 AM
Unknown Object (File)
Oct 12 2024, 7:06 PM
Unknown Object (File)
Oct 3 2024, 4:42 PM
Unknown Object (File)
Oct 3 2024, 1:04 PM
Unknown Object (File)
Oct 3 2024, 12:32 PM
Unknown Object (File)
Oct 3 2024, 2:04 AM
Subscribers

Details

Summary

Building lldb's bindings requires swig, but we do not want to include it in the FreeBSD base system (as a build tool) because it has non-trivial dependencies. As a workaround, add a make rule to generate LLDBWrapLua.cpp and plan to commit the generated file.

Requires the swig30 package.

After importing an updated llvm/lldb into FreeBSD run make run-swig in lib/clang/liblldb to generate generate LLDBWrapLua.cpp, and commit the result.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Hmm, does this belong here or as part of liblua? It doesn't look like this binding depends on lldb source at all.

The swig input is ${LLDB_SRCS}/bindings/lua.swig

The swig input is ${LLDB_SRCS}/bindings/lua.swig

Oh right, I was confused by a slightly too narrow browser window and phabricator's casual treatment of line wrapping.

This revision is now accepted and ready to land.Apr 2 2020, 9:43 PM
This revision was automatically updated to reflect the committed changes.