Skip to content

Fix typo in ANN benchmark main compile definition - #2974

Merged
rapids-bot[bot] merged 2 commits into
NVIDIA:mainfrom
mc8max:fix/cmake_typo_cpp_bench_ann
Nov 2, 2026
Merged

rapids-bot[bot] merged 2 commits into
NVIDIA:mainfrom
mc8max:fix/cmake_typo_cpp_bench_ann

Conversation

@mc8max

@mc8max mc8max commented Oct 31, 2026

Copy link
Copy Markdown
Contributor

This PR removes the stray > from ANN_BENCH_BUILD_MAIN in cpp/bench/ann/CMakeLists.txt.
This corrects the compile definition used when CUVS_ANN_BENCH_SINGLE_EXE is disabled.

@copy-pr-bot

copy-pr-bot Bot commented Oct 31, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@coderabbitai

coderabbitai Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: NVIDIA/cuvs
  • Branch: main
  • File: .coderabbit.yaml
  • Commit: 44df703
  • Layers: Repository YAML
  • Review profile: CHILL
  • Plan: Enterprise
  • Run ID: 542bf7aa-ba84-4191-a918-13bac4e36af4
Commits

Reviewing files that changed from the base of the PR and between 44df703 and 8cfaa99.

Files selected for processing: 1
  • cpp/bench/ann/CMakeLists.txt

Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 11 remain after this review.

Summary

Summary by CodeRabbit

  • Bug Fixes
    • Corrected the build configuration for ANN benchmarks, allowing the affected benchmark target to build as intended.

The non-single-executable ANN benchmark target’s compile definition changes from ANN_BENCH_BUILD_MAIN> to ANN_BENCH_BUILD_MAIN.

Changes: ANN benchmark build

Layer / File(s) Summary
Correct benchmark compile definition
cpp/bench/ann/CMakeLists.txt
The target’s compile definition no longer includes a trailing >.

Estimated code review effort: 2 (Simple) | ~5 minutes

Change: Bug fix

Suggested reviewers: achirkin

Merge Risk: Minimal · up to 8cfaa

The compile-definition typo is fixed and the benchmark targets retain the expected macro contract.

Pre-merge checks: Passed 4
Check name Status Explanation
Description check Passed The description directly explains the removal of the stray > from ANN_BENCH_BUILD_MAIN and the resulting correction to the ANN benchmark compile definition.
Title check Passed The title clearly and concisely identifies the typo fix in the ANN benchmark main compile definition.
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Finishing Touches
Generate unit tests (beta)
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@mc8max
mc8max marked this pull request as draft October 31, 2026 12:22
@mc8max mc8max closed this Oct 31, 2026
@mc8max mc8max reopened this Oct 31, 2026
@mc8max
mc8max marked this pull request as ready for review October 31, 2026 12:27
@mc8max

mc8max commented Oct 31, 2026

Copy link
Copy Markdown
Contributor Author

Hi @achirkin, can you help review this PR please?

@achirkin achirkin added bug Something isn't working non-breaking Introduces a non-breaking change labels Nov 2, 2026
@achirkin achirkin moved this from Done to In Progress in Unstructured Data Processing Nov 2, 2026
@achirkin

achirkin commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

/ok to test 5af07a3

@achirkin

achirkin commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Hmm, not sure how come this was unnoticed for two years and still compiling

@achirkin achirkin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for spotting this!

@achirkin

achirkin commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

/merge

@github-project-automation github-project-automation Bot moved this from In Progress to Approved in Unstructured Data Processing Nov 2, 2026
@rapids-bot
rapids-bot Bot merged commit 9009000 into NVIDIA:main Nov 2, 2026
131 checks passed
@github-project-automation github-project-automation Bot moved this from Approved to Done in Unstructured Data Processing Nov 2, 2026
@mc8max
mc8max deleted the fix/cmake_typo_cpp_bench_ann branch November 2, 2026 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working non-breaking Introduces a non-breaking change

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants