Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F165139115
D24265.id70128.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
807 B
Referenced Files
None
Subscribers
None
D24265.id70128.diff
View Options
Index: lib/clang/liblldb/Makefile
===================================================================
--- lib/clang/liblldb/Makefile
+++ lib/clang/liblldb/Makefile
@@ -679,4 +679,17 @@
INTERNALLIB=
+# 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 we commit the generated file. Requires the
+# swig30 package.
+#
+# After importing an updated llvm/lldb into FreeBSD run `make run-swig` in
+# this directory to generate generate LLDBWrapLua.cpp, and commit the result.
+.PHONY: run-swig
+run-swig:
+ swig3.0 -I${LLDB_SRCS}/include \
+ -c++ -features autodoc -lua -w503 \
+ -o ${.CURDIR}/LLDBWrapLua.cpp ${LLDB_SRCS}/bindings/lua.swig
+
.include <bsd.lib.mk>
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Aug 7, 8:50 AM (3 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36157644
Default Alt Text
D24265.id70128.diff (807 B)
Attached To
Mode
D24265: lldb: add rule to generate LLDBWrapLua.cpp
Attached
Detach File
Event Timeline
Log In to Comment