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, Dec 2, 7:43 AM
Unknown Object (File)
Fri, Nov 29, 8:38 PM
Unknown Object (File)
Nov 20 2024, 10:47 AM
Unknown Object (File)
Nov 20 2024, 10:22 AM
Unknown Object (File)
Nov 20 2024, 8:51 AM
Unknown Object (File)
Nov 18 2024, 9:42 PM
Unknown Object (File)
Nov 18 2024, 5:13 AM
Unknown Object (File)
Oct 14 2024, 4:52 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.