Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

CMake and Meson build definitions are Out Of Sync

未關閉
#894 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
5/5
預估耗時
一週以上
新手友好度
38/100
Issue 類型
重構
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
cmake, cpp

研究方向

比較 main 提交 e0399c6 中的 CMake 和 Meson 建置定義,從公開標頭檔安裝、table_test 原始檔以及列出的相依性版本固定開始。檢查 snapshot_summary_builder_test.cc 和 issue #256,以確認所述範圍。意外差異已對齊,而有意的相依性與功能差異已記錄並經過測試,即表示完成。

由索引模型根據 Issue 內容生成。

描述

enhancement question

Description

The CMake and Meson build definitions are maintained separately and have drifted. On current main (e0399c6945326dd5281da07de8ed14a61c9f2cac), equivalent configurations do not install the same public headers or run the same core tests.

Examples:

  • CMake installs public headers by globbing each directory, while Meson lists them manually. As a result:

    • CMake installs iceberg/puffin_dv_io.h and iceberg/catalog/rest/auth/token_refresh_scheduler.h, but Meson does not.
    • Meson installs iceberg/catalog/catalog_util.h, iceberg/catalog/session_catalog.h, and iceberg/catalog/session_context.h, but CMake does not install headers from src/iceberg/catalog/.
  • CMake includes snapshot_summary_builder_test.cc in table_test, but Meson does not include that test source, so the Meson CI path does not exercise it.

  • Vendored/fallback dependency versions differ between the two build systems:

    Dependency CMake Meson
    CRoaring 4.4.3 4.3.11
    nlohmann/json 3.11.3 3.12.0
    GoogleTest 1.15.2 1.17.0

    Other shared dependencies, such as nanoarrow 0.9.0, utf8proc 2.10.0, spdlog 1.15.3, cpr 1.14.1, and Google Benchmark 1.8.4, are currently aligned but can drift because their pins are also declared independently.

  • Dependency resolution policy also differs: CMake requires system Zlib and Curl, while Meson can fall back to pinned wraps (Zlib 1.3.1 and Curl 8.10.1). Any intentional difference here should be documented and tested explicitly.

The Meson bundle gap is already tracked by #256 and is outside the scope of this issue. Other intentional feature differences should likewise remain explicit rather than appearing as accidental drift.


This to track current status and initiated a discussion on how we can maintain and sync the build tools in the long term.

主要語言
C++
星號
223
分支
127
平均合併
1 天 13 小時
30 天內合併 PR
28

環境準備

我們還沒有檢查這個專案的環境設定檔。先看它的 README,通用步驟見我們的新手貢獻指南。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

apache/iceberg-cpp 的其他 Issue

查看 apache/iceberg-cpp 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。