mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
+-----------------------------------------------------------------------
| Running ${PKGSTEM} on OpenBSD
+-----------------------------------------------------------------------
For more information about using bear(1) for generating compilation database,
look at:
${LOCALBASE}/share/doc/Bear/README.md
For instance, the database generator on the kernel build can be launched with:
cd /usr/src/sys/arch/`uname -m`/conf && config GENERIC.MP
cd /usr/src/sys/arch/`uname -m`/compile/GENERIC.MP
make clean && bear --force-wrapper -- make
The output file called compile_commands.json is saved in the current directory.