Skip to content
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

性能测试改为优先 find_package,查找失败才自动下载 #79

Merged
merged 1 commit into from
Apr 12, 2024
Merged

性能测试改为优先 find_package,查找失败才自动下载 #79

merged 1 commit into from
Apr 12, 2024

Conversation

zhaoxi-scut
Copy link
Member

Pull Request 合并请求准备清单

详情参见此处

  • 我同意在 Apache 2 开源许可下为本项目做贡献
  • 此 pull request 是在正确的分支上提出的
  • 此 pull request 有对应的错误报告或其他待改进的内容
  • 我本地的 RMVL 进行了单元测试、性能测试,有对应的测试数据
  • 我提交的 feature 有很好的文档记录,并且可以使用 CMake 项目构建示例代码

具体内容

  • 在 RMVLCompileOptions.cmake 文件中使用
    find_package(benchmark QUIET)
    在开启 BUILD_PERF_TEST 时优先查找,若找不到 benchmark 才会进行下载

@zhaoxi-scut zhaoxi-scut added the optimization 代码重构、功能优化 label Apr 12, 2024
@zhaoxi-scut zhaoxi-scut added this to the 1.3.0 milestone Apr 12, 2024
@zhaoxi-scut zhaoxi-scut merged commit 46e5b44 into cv-rmvl:master Apr 12, 2024
3 checks passed
@zhaoxi-scut zhaoxi-scut deleted the perftest-support branch April 12, 2024 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
optimization 代码重构、功能优化
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant