FreeBSD Bugzilla – Attachment 184067 Details for
Bug 220475
[NEW PORT] devel/bear: Tool that generates a compilation database for clang tooling
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
bear.shar
bear.shar (text/plain), 2.58 KB, created by
Jov
on 2017-07-05 09:54:53 UTC
(
hide
)
Description:
bear.shar
Filename:
MIME Type:
Creator:
Jov
Created:
2017-07-05 09:54:53 UTC
Size:
2.58 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># bear ># bear/pkg-descr ># bear/pkg-plist ># bear/Makefile ># bear/distinfo ># >echo c - bear >mkdir -p bear > /dev/null 2>&1 >echo x - bear/pkg-descr >sed 's/^X//' >bear/pkg-descr << '5799622933405a8bd23eb8915a0fc053' >XBear is a tool that generates a compilation database for clang tooling. The >XJSON compilation database is used in the clang project to provide information >Xon how a single compilation unit is processed. With this, it is easy to re-run >Xthe compilation with alternate programs. One way to get a compilation database >Xis to use cmake as the build tool. Passing -DCMAKE_EXPORT_COMPILE_COMMANDS=ON >Xto cmake generates the compile_commands.json file into the current directory. >XFor non-cmake projects, Bear generates the JSON file during the build process. >XThe concept behind Bear is: to execute the original build command and intercept >Xthe exec calls issued by the build tool. To achieve that, Bear uses the >XLD_PRELOAD or DYLD_INSERT_LIBRARIES mechanisms provided by the dynamic linker. >X >XWWW: https://github.com/rizsotto/Bear >5799622933405a8bd23eb8915a0fc053 >echo x - bear/pkg-plist >sed 's/^X//' >bear/pkg-plist << '16bb3e3305327595b21d363fc185a58e' >Xbin/bear >Xlib/libear.so >Xman/man1/bear.1.gz >X%%PORTDOCS%%%%DOCSDIR%%/README.md >16bb3e3305327595b21d363fc185a58e >echo x - bear/Makefile >sed 's/^X//' >bear/Makefile << '4fdb13c4b0aebe9f8e2aa1da7fa8457a' >X# Created by: Jov <amutu@amutu.com> >X# $FreeBSD$ >X >XPORTNAME= bear >XPORTVERSION= 2.3.6 >XCATEGORIES= devel >X >XMAINTAINER= amutu@amutu.com >XCOMMENT= Tool that generates a compilation database for clang tooling >X >XLICENSE= GPLv3 >X >XUSE_GITHUB= yes >XGH_ACCOUNT= rizsotto >XGH_PROJECT= Bear >X >XUSES= cmake shebangfix python:2.7+ >XUSE_LDCONFIG= yes >X >XSHEBANG_FILES= bear/main.py.in >X >XOPTIONS_DEFINE= DOCS >X >Xpost-patch: >X ${REINPLACE_CMD} -e '/install(FILES COPYING/d' \ >X -e '/{CMAKE_INSTALL_DOCDIR}/d' \ >X ${WRKSRC}/CMakeLists.txt >X >Xpost-install-DOCS-on: >X ${MKDIR} ${STAGEDIR}${DOCSDIR} >X ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} >X >X.include <bsd.port.mk> >4fdb13c4b0aebe9f8e2aa1da7fa8457a >echo x - bear/distinfo >sed 's/^X//' >bear/distinfo << 'bd8836fdb5e411dd37382d8ea5e42532' >XTIMESTAMP = 1499241718 >XSHA256 (rizsotto-Bear-2.3.6_GH0.tar.gz) = 94ceb407d4058b22563bc26b5a4d0d1d10df83987320e60e455e8a6a5616a75d >XSIZE (rizsotto-Bear-2.3.6_GH0.tar.gz) = 41275 >bd8836fdb5e411dd37382d8ea5e42532 >exit >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 220475
:
184067
|
184106
|
184297