Skip to content

p8: bootstrap 残骸を撤去して #99 を closing#111

Merged
thawk105 merged 1 commit into
masterfrom
p8-bootstrap-cleanup
May 15, 2026
Merged

p8: bootstrap 残骸を撤去して #99 を closing#111
thawk105 merged 1 commit into
masterfrom
p8-bootstrap-cleanup

Conversation

@thawk105
Copy link
Copy Markdown
Owner

@thawk105 thawk105 commented May 15, 2026

Summary

  • build_tools/bootstrap_apt.sh ラッパ (ubuntu.depsxargs apt-get install に投げるだけのスクリプト) を削除し、build_tools/ubuntu.deps は手動 apt install でそのまま流せる shopping list として残置。
  • docs/build_{ja,en}.md を「3 本の bootstrap スクリプト + submodule init」前提から cmake -S . -B build && cmake --build build 完結のフローに書き換え (CI キャッシュ説明の bootstrap output 言及も同期)。
  • docs/architecture_{ja,en}.md のレイアウト記述・README.md.devcontainer/post-create.sh を FetchContent ベースに合わせて整合。

PR #109 (MERGED) で完了済みの 3 ライブラリ FetchContent 移行 (masstree / mimalloc / googletest) の仕上げ。CLAUDE.md ハードルール#5 に従い _ja / _en を同一 commit で更新。

補足: autoconf は残置

当初 ubuntu.deps から autoconf も削除したが (commit a848508)、cmake/ThirdParty.cmake (L66-L77) が今も masstree 上流の ./bootstrap.sh (= autoreconf) を add_custom_command 経由で起動するため autoconf依然として必須。host build が壊れるので follow-up commit (c759ceb) で復活させた。ubuntu.deps は PR #111 前と同内容。

フォローアップ提案 (別 issue 化想定)

masstree 上流には commit 済みの configure (autoreconf 出力) が同梱されており、bootstrap.sh が呼ぶ autoreconf は本来不要。ThirdParty.cmake./bootstrap.sh 呼び出しを撤去して ./configure を直叩きにすれば、ubuntu.deps / devcontainer Dockerfile の双方から autoconf (および間接依存の automake / libtool / pkg-config) を落とせる。Issue #99 のスコープを越えるので本 PR には含めず別 issue で対応する。

Test plan

  • docs/build_{ja,en}.md / docs/architecture_{ja,en}.md が submodule / bootstrap 言及なしの記述に揃っていること (_ja / _en セット)
  • CI build ジョブがグリーン (devcontainer image 経由)
  • .github/workflows/format.ymldocs/** / .devcontainer/**paths-ignore にしているので、本 PR ではトリガーされないことを確認
  • ubuntu.deps の内容が PR 前と同じ (autoconf 行を含む) こと

Closes #99

FetchContent 移行 (#109) の仕上げ。

- build_tools/ubuntu.deps から masstree 旧 bootstrap.sh (autoreconf)
  用の autoconf 依存を削除
- build_tools/bootstrap_apt.sh ラッパを削除 (ubuntu.deps と冗長)
- docs/build_{ja,en}.md を submodule + bootstrap 前提から
  `cmake -S . -B build && cmake --build build` 完結のフローに更新
- docs/architecture_{ja,en}.md のレイアウト記述を FetchContent
  反映 (third_party/ submodule 行を削除し、cmake/ThirdParty.cmake
  を追記)
- README.md / .devcontainer/post-create.sh の bootstrap 案内も同期

Closes #99
@thawk105 thawk105 merged commit 2432a1a into master May 15, 2026
4 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.

[P8] third_party: bootstrap / CI / docs クリーンアップ(FetchContent 移行の仕上げ)

1 participant