8000 refactor cmake by LHT129 · Pull Request #870 · antgroup/vsag · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

refactor cmake #870

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

refactor cmake #870

wants to merge 1 commit into from

Conversation

LHT129
Copy link
Collaborator
@LHT129 LHT129 commented Jul 1, 2025

closed: #886

@LHT129 LHT129 self-assigned this Jul 1, 2025
@LHT129 LHT129 requested a review from ShawnShawnYou as a code owner July 1, 2025 05:41
@LHT129 LHT129 added the kind/improvement Code improvements (variable/function renaming, refactoring, etc. ) label Jul 1, 2025
@LHT129 LHT129 requested review from inabao and wxyucs as code owners July 1, 2025 05:41
@LHT129 LHT129 requested a review from jiaweizone as a code owner July 1, 2025 05:41
@mergify mergify bot added the module/simd label Jul 1, 2025
@LHT129 LHT129 force-pushed the cmake branch 3 times, most recently from 9e6c58e to 1d4319d Compare July 1, 2025 06:19
@@ -17,7 +17,19 @@

#include <fmt/format.h>

#include "../../logger.h"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can directly #include "logger.h" here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same name as diskann's logger.h

template class StandardHeap<false, true>;
template class StandardHeap<false, false>;

} // namespace vsag
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

new line

@@ -78,4 +78,4 @@ simd_add_definitions (DIST_CONTAINS_AVX512VPOPCNTDQ -DENABLE_AVX512VPOPCNTDQ=1)
simd_add_definitions (DIST_CONTAINS_NEON -DENABLE_NEON=1)

target_link_libraries (simd INTERFACE cpuinfo coverage_config)
install (TARGETS simd ARCHIVE DESTINATION lib)
# install (TARGETS simd ARCHIVE DESTINATION lib)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove this line

@LHT129 LHT129 force-pushed the cmake branch 17 times, most recently from 61a99a2 to 90ccf21 Compare July 3, 2025 09:57
@LHT129 LHT129 force-pushed the cmake branch 9 times, most recently from 0227f2f to 7ac494b Compare July 4, 2025 02:48
Copy link
codecov bot commented Jul 4, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

❌ Your project check has failed because the head coverage (88.38%) is below the target coverage (90.00%). You can increase the head coverage or adjust the target coverage.

@@            Coverage Diff             @@
##             main     #870      +/-   ##
==========================================
- Coverage   90.25%   88.38%   -1.87%     
==========================================
  Files         224      142      -82     
  Lines       15026     6894    -8132     
==========================================
- Hits        13561     6093    -7468     
+ Misses       1465      801     -664     
Flag Coverage Δ
cpp 88.38% <100.00%> (-1.87%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
common 92.29% <100.00%> (-0.44%) ⬇️
datacell 90.00% <100.00%> (-0.62%) ⬇️
index 88.00% <100.00%> (-0.35%) ⬇️
simd 87.09% <ø> (-12.91%) ⬇️

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e352d90...d4b4fd1. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@LHT129 LHT129 force-pushed the cmake branch 6 times, most recently from dc4ec85 to 99fcec4 Compare July 4, 2025 08:12
Copy link
Collaborator
@inabao inabao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Signed-off-by: LHT129 <tianlan.lht@antgroup.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/improvement Code improvements (variable/function renaming, refactoring, etc. ) module/simd size/XXL version/0.16
Projects
None yet
Development

Successfully merging this pull request may close these issues.

split cmake module and "include" dependance in headers
3 participants
0