-
Notifications
You must be signed in to change notification settings - Fork 12
[Core] Fix compilation with module #83
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
base: master
Are you sure you want to change the base?
Conversation
|
Important Review skippedToo many files! This PR contains 218 files, which is 68 over the limit of 150. You can disable this status message by setting the
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c02d590214
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| set(BENCHMARK_ENABLE_INSTALL OFF) | ||
| set(BENCHMARK_ENABLE_TESTING OFF) | ||
| set(BENCHMARK_ENABLE_GTEST_TESTS OFF) | ||
| add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/external/benchmark EXCLUDE_FROM_ALL) | ||
| add_subdirectory(benchmark) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ensure benchmark dependency for OPFLOW_BUILD_ALL
When OPFLOW_BUILD_ALL is ON but OPFLOW_BUILD_BENCHMARKS is OFF (the default), this block still adds the benchmarks, but Google Benchmark is now only added in external/CMakeLists.txt under if(OPFLOW_BUILD_BENCHMARKS). In that configuration benchmark::benchmark is never defined, so benchmark/CMakeLists.txt fails to configure/link. Consider extending the external benchmark condition to include OPFLOW_BUILD_ALL or re-adding the subdirectory here.
Useful? React with 👍 / 👎.
No description provided.