Skip to content

refactor: Refactor the dependency between CMake targets#310

Merged
zhanglei1949 merged 1 commit into
alibaba:mainfrom
zhanglei1949:zl/fix-cmake-dep
May 6, 2026
Merged

refactor: Refactor the dependency between CMake targets#310
zhanglei1949 merged 1 commit into
alibaba:mainfrom
zhanglei1949:zl/fix-cmake-dep

Conversation

@zhanglei1949
Copy link
Copy Markdown
Member

@zhanglei1949 zhanglei1949 commented May 6, 2026

Fix #308

This pull request updates the build dependencies across multiple CMake configuration files. The main change is replacing the dependency on neug_plan_proto with a dependency on neug_proto for various internal libraries. This ensures that all affected components now depend on the correct proto target, likely due to a consolidation or renaming of proto dependencies.

Build system dependency updates:

  • Replaced add_dependencies(... neug_plan_proto) with add_dependencies(... neug_proto) in the following libraries and their respective CMakeLists.txt files:
    • neug_common (src/common/CMakeLists.txt)
    • neug_binder, neug_binder_bind, neug_binder_bind_copy, neug_binder_bind_ddl, neug_binder_bind_read, neug_binder_bind_expression, neug_binder_ddl, neug_binder_expression, neug_binder_query, neug_binder_rewriter, neug_binder_visitor (various subdirectories of src/compiler/binder/) [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11]
    • neug_catalog, neug_catalog_entry (src/compiler/catalog/, src/compiler/catalog/catalog_entry/) [1] [2]
    • compiler_common, neug_common_arrow, neug_common_copier_config, neug_common_data_chunk, neug_common_enums, neug_common_task_system (various subdirectories of src/compiler/common/) [1] [2] [3] [4] [5] [6]

This change helps maintain consistency and ensures all relevant targets are built against the updated proto dependency.

@zhanglei1949 zhanglei1949 requested a review from liulx20 May 6, 2026 06:36
@zhanglei1949 zhanglei1949 merged commit 796b78c into alibaba:main May 6, 2026
17 checks passed
@lnfjpt lnfjpt mentioned this pull request May 26, 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.

Incorrect dependency between CMake targets cause random building faliure

2 participants