Page MenuHomeFreeBSD

D24265.id70128.diff
No OneTemporary

D24265.id70128.diff

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

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)

Event Timeline