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)
Fri, Mar 15, 7:27 AM
Unknown Object (File)
Feb 22 2024, 5:11 PM
Unknown Object (File)
Jan 14 2024, 8:58 AM
Unknown Object (File)
Jan 14 2024, 6:19 AM
Unknown Object (File)
Dec 20 2023, 5:37 AM
Unknown Object (File)
Dec 16 2023, 7:47 PM
Unknown Object (File)
Oct 18 2023, 6:09 PM
Unknown Object (File)
Aug 31 2023, 11:41 PM
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.