Skip to content

P3 follow-up: move occ/ under cc/#42

Merged
thawk105 merged 1 commit into
masterfrom
p3-occ-followup
May 12, 2026
Merged

P3 follow-up: move occ/ under cc/#42
thawk105 merged 1 commit into
masterfrom
p3-occ-followup

Conversation

@thawk105
Copy link
Copy Markdown
Owner

Summary

Follow-up to #41occ/ was the only CC implementation still sitting at the repo root after the rest moved to cc/. It uses a plain Makefile on the legacy uint64-key API and is not wired into CMake, so this is a cosmetic / consistency move rather than a functional change.

  • git mv occ -> cc/occ
  • Relative includes shifted to match the extra depth:
    • .cc files at cc/occ/: "../include/...""../../include/..."
    • headers at cc/occ/include/: "../../include/...""../../../include/..."
  • cc/occ/Makefile relative paths (REL, -I, the masstree include, clean target) adjusted similarly.
  • CLAUDE.md and docs/protocols.md references updated.

Caveat

cc/occ/Makefile still references include/MakefileForMasstreeUse, which is not in the tree, so the build was already broken before this move — not in scope to fix here. Porting cc/occ/ to ccbench_add_protocol(...) is the natural follow-up.

Test plan

  • cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug && cmake --build build -j still succeeds (34 binaries — occ is not part of the CMake tree)
  • No remaining references to a top-level occ/ in CLAUDE.md, README.md, docs/, CMakeLists.txt
  • CI passes

occ/ was the only CC implementation still sitting at the repo root after
the rest moved to cc/. It uses a plain Makefile on the legacy uint64-key
API and is not wired into CMake, so it's a cosmetic move — not a
functional change — but worth doing so cc/ contains every protocol.

- git mv occ -> cc/occ
- Relative includes shifted to account for the extra depth:
    .cc files at cc/occ/:        "../include/..."   -> "../../include/..."
    headers at cc/occ/include/:  "../../include/..." -> "../../../include/..."
- Makefile relative paths adjusted similarly (REL, -I, masstree include,
  clean target).
- Doc references in CLAUDE.md and docs/protocols.md updated.

The Makefile still references include/MakefileForMasstreeUse which is
not in the tree, so the build was already broken before this move; not
in scope to fix here. Porting cc/occ/ to ccbench_add_protocol(...) is
the natural follow-up.
@thawk105 thawk105 merged commit be6eb70 into master May 12, 2026
2 checks passed
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