[PR #98] feat: add clangd compile_commands.json generator script #116

Open
opened 2026-10-26 22:24:42 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Comfy-Org/comfy-aimdo/pull/98
Author: @CS-liujf
Created: 8/27/2026
Status: 🔄 Open

Base: master ← Head: dev/gen-compile-commands


📝 Commits (1)

  • bbc723c chore: add clangd compile_commands.json generator script

📊 Changes

2 files changed (+106 additions, -0 deletions)

View changed files

📝 .gitignore (+8 -0)
➕ scripts/gen-compile-commands.py (+98 -0)

📄 Description

gen-compile-commands.py mirrors the gcc compile line in build-linux-aimdo.sh (cuda/rocm backends, funchook version parsed from the build script) so clangd gets the right flags and include paths without bear/compiledb. Ignore its output and python caches.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Comfy-Org/comfy-aimdo/pull/98 **Author:** [@CS-liujf](https://github.com/CS-liujf) **Created:** 8/27/2026 **Status:** 🔄 Open **Base:** `master` ← **Head:** `dev/gen-compile-commands` --- ### 📝 Commits (1) - [`bbc723c`](https://github.com/Comfy-Org/comfy-aimdo/commit/bbc723cf3d652501806205bb8dc57073926f1bd6) chore: add clangd compile_commands.json generator script ### 📊 Changes **2 files changed** (+106 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `.gitignore` (+8 -0) ➕ `scripts/gen-compile-commands.py` (+98 -0) </details> ### 📄 Description gen-compile-commands.py mirrors the gcc compile line in build-linux-aimdo.sh (cuda/rocm backends, funchook version parsed from the build script) so clangd gets the right flags and include paths without bear/compiledb. Ignore its output and python caches. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Comfy-Org/comfy-aimdo#116
No description provided.