-
Notifications
You must be signed in to change notification settings - Fork 584
Fix version in DeePMDConfigVersion.cmake #4577
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
Conversation
📝 WalkthroughWalkthroughThe pull request updates the CMake configuration by modifying the versioning expression in the Changes
Suggested labels
Tip 🌐 Web search-backed reviews and chat
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
njzjz
left a 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.
LGTM, but need to rebase.
We only accept new PRs on the devel branch.
|
Sorry, my bad. I'll fix the conflicts.
It would help to avoid these issues if the |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## devel #4577 +/- ##
==========================================
- Coverage 84.61% 84.61% -0.01%
==========================================
Files 680 680
Lines 64467 64466 -1
Branches 3538 3538
==========================================
- Hits 54546 54545 -1
+ Misses 8780 8779 -1
- Partials 1141 1142 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This can be discussed, @wanghan-iapcm |
The double quotes end up as follows in `DeePMDConfigVersion.cmake`: ```cmake set(PACKAGE_VERSION "$<IF:?:"0.0.0">") ``` This result in the following warning: ``` CMake Error (dev) at /opt/cp2k-toolchain/install/deepmd-kit-3.0.1/lib/cmake/DeePMD/DeePMDConfigVersion.cmake:10: Syntax Warning in cmake code at column 30 Argument not separated from preceding token by whitespace. Call Stack (most recent call first): CMakeLists.txt:703 (find_package) This error is for project developers. Use -Wno-error=dev to suppress it. ``` <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Bug Fixes** - Improved the project’s version handling to ensure that when no version is provided, a reliable default is used, resulting in more consistent and accurate version information for end-users. <!-- end of auto-generated comment: release notes by coderabbit.ai --> (cherry picked from commit 8104841)
The double quotes end up as follows in
DeePMDConfigVersion.cmake:This result in the following warning:
Summary by CodeRabbit