BSD Ports

devel/compdbgen g20250914 FreeBSD

General-purpose tool for generating compile_commands.json files

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
BSD2CLAUSE
Categories
devel
Package size
20.6 KiB, 61.8 KiB installed

Description

compdbgen is a general-purpose tool for generating compile_commands.json files, used with clangd's lsp-server. The tool uses ptrace to intercept system calls for the current task and all its child tasks, capture the arguments and environment variables of the execve system call, and generate compile_commands.json files.

Install

Binary package:

pkg install compdbgen

From the ports tree:

cd /usr/ports/devel/compdbgen/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	compdbgen>0:devel/compdbgen

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latestg20250914g20250914--g20250914
FreeBSD:14:quarterlyg20250914g20250914n/a-g20250914
FreeBSD:15:latestg20250914g20250914n/a--
FreeBSD:15:quarterlyg20250914g20250914n/an/an/a
FreeBSD:16:latestg20250914g20250914n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Files

distinfo 2
FileSizeSHA256
Virus-V-compdbgen-g20250914-d839843448cbcf7ff394dcd32df586a0ab9aa156_GH0.tar.gz589129cf61309142803849f6b0175aa867c5932f916d11b6d90c1eba307e762c26d21
DaveGamble-cJSON-c859b25da02955fef659d658b8f324b5cde87be3_GH0.tar.gz356505880a86445ad5cf38f877bac31198268d8fac5d2ce996ebf55d3066a4109ddd8d

Commit history 0

No commits in the history this site was built from.