Skip to content

docs(todo): remaining macOS first-run issues (ninja 145s, sub-index 404)#164

Merged
Sunrisepeak merged 1 commit into
mainfrom
docs/todo-macos-first-run
Jun 24, 2026
Merged

docs(todo): remaining macOS first-run issues (ninja 145s, sub-index 404)#164
Sunrisepeak merged 1 commit into
mainfrom
docs/todo-macos-first-run

Conversation

@Sunrisepeak

Copy link
Copy Markdown
Member

Pure doc — records the two open macOS first-run follow-ups with findings (#31 ninja bootstrap ~145s, #33 xlings update sub-index GitCode 404). The two fixed ones (#30 -lSystem, #32 stdin) ship in #162/#163.

@Sunrisepeak Sunrisepeak merged commit 65c5478 into main Jun 24, 2026
@Sunrisepeak Sunrisepeak deleted the docs/todo-macos-first-run branch June 24, 2026 01:58
Sunrisepeak added a commit that referenced this pull request Jun 24, 2026
Maps each symptom reported in #43 to its root cause, fix/status and the
PR/doc that handles it:
- headline -lSystem link failure -> #162 (-isysroot + sdk_path hardening)
- first-run stdin hang -> #163
- ninja 145s / sub-index 404 -> tracked in #164 todo (non-blocking)
- VS Code xattr / config-hook fail -> xlings recipe side (non-mcpp)

The cross-platform CDB e2e in this PR (76) doubles as the macOS link
regression guard: mcpp build links, so a -lSystem regression turns it red.
CI-verified that 76 actually runs+passes on linux/macos/windows.

Closes #43
Sunrisepeak added a commit that referenced this pull request Jun 24, 2026
…#165)

* test(e2e): assert compile_commands.json is generated on all platforms

Add a dedicated e2e (no requires → runs Linux/macOS/Windows) that builds a
minimal `mcpp new` project and verifies the Clang compilation database is
emitted at the project root: file exists + non-empty, top-level JSON array,
required keys (directory/file + command|arguments), an entry for src/main.cpp,
and a deeper python json parse where available.

CDB generation is unconditional in the ninja backend (write_compile_commands),
so this guards the IDE/clangd contract directly. Existing CDB tests cover
specifics (47 prebuilt-module-path abs, 59 std flag, gcc-only); this is the
plain cross-platform existence+validity guarantee. Verified: 47 already passes
on Windows/macOS CI, confirming the build path works there.

* docs(issue43): consolidated macOS first-run triage + close-out record

Maps each symptom reported in #43 to its root cause, fix/status and the
PR/doc that handles it:
- headline -lSystem link failure -> #162 (-isysroot + sdk_path hardening)
- first-run stdin hang -> #163
- ninja 145s / sub-index 404 -> tracked in #164 todo (non-blocking)
- VS Code xattr / config-hook fail -> xlings recipe side (non-mcpp)

The cross-platform CDB e2e in this PR (76) doubles as the macOS link
regression guard: mcpp build links, so a -lSystem regression turns it red.
CI-verified that 76 actually runs+passes on linux/macos/windows.

Closes #43
@Sunrisepeak Sunrisepeak mentioned this pull request Jun 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant