Skip to content

Comments

Fix: setting the highest required cpp standard version#3277

Merged
dyzheng merged 4 commits intodeepmodeling:developfrom
caic99:cmake-std
Dec 19, 2023
Merged

Fix: setting the highest required cpp standard version#3277
dyzheng merged 4 commits intodeepmodeling:developfrom
caic99:cmake-std

Conversation

@caic99
Copy link
Member

@caic99 caic99 commented Nov 30, 2023

Reminder

  • Have you linked an issue with this pull request?
  • Have you noticed possible changes of behavior below or in the linked issue?
  • Have you explained the changes of codes in core modules of ESolver, HSolver, ElecState, Hamilt, Operator or Psi? (ignore if not applicable)

Linked Issue

conda-forge/abacus-feedstock#12

What's changed?

  • Example: My changes might affect the performance of the application under certain conditions, and I have tested the impact on various scenarios...

Any changes of core modules? (ignore if not applicable)

  • Example: I have added a new virtual function in the esolver base class in order to ...

njzjz added a commit to njzjz/abacus-feedstock that referenced this pull request Nov 30, 2023
Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
@njzjz
Copy link
Member

njzjz commented Dec 1, 2023

Maybe apply 9c472e9 in this PR?

@caic99
Copy link
Member Author

caic99 commented Dec 2, 2023

Maybe apply 9c472e9 in this PR?

OK, will do

@caic99 caic99 requested a review from dyzheng December 2, 2023 09:52
@dyzheng dyzheng merged commit baaddfa into deepmodeling:develop Dec 19, 2023
@caic99 caic99 deleted the cmake-std branch December 20, 2023 02:49
njzjz added a commit to njzjz/deepmd-kit that referenced this pull request Jul 13, 2024
Copy from deepmodeling/abacus-develop#3277

Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
github-merge-queue bot pushed a commit to deepmodeling/deepmd-kit that referenced this pull request Jul 13, 2024
Copied from deepmodeling/abacus-develop#3277
authored by @caic99

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Enhanced compatibility with different Torch versions by dynamically
setting the appropriate C++ standard (C++14 or C++17) based on the Torch
version.
- **Improvements**
- Improved build process with automatic detection and configuration of
Torch version dependencies.
- Enhanced robustness with additional checks and conditional logic for
Torch integration.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
github-merge-queue bot pushed a commit to deepmodeling/deepmd-kit that referenced this pull request Jul 13, 2024
Copied from deepmodeling/abacus-develop#3277
authored by @caic99

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Enhanced compatibility with different Torch versions by dynamically
setting the appropriate C++ standard (C++14 or C++17) based on the Torch
version.
- **Improvements**
- Improved build process with automatic detection and configuration of
Torch version dependencies.
- Enhanced robustness with additional checks and conditional logic for
Torch integration.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
github-merge-queue bot pushed a commit to deepmodeling/deepmd-kit that referenced this pull request Jul 13, 2024
Copied from deepmodeling/abacus-develop#3277
authored by @caic99

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Enhanced compatibility with different Torch versions by dynamically
setting the appropriate C++ standard (C++14 or C++17) based on the Torch
version.
- **Improvements**
- Improved build process with automatic detection and configuration of
Torch version dependencies.
- Enhanced robustness with additional checks and conditional logic for
Torch integration.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
mtaillefumier pushed a commit to mtaillefumier/deepmd-kit that referenced this pull request Sep 18, 2024
…deling#3973)

Copied from deepmodeling/abacus-develop#3277
authored by @caic99

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Enhanced compatibility with different Torch versions by dynamically
setting the appropriate C++ standard (C++14 or C++17) based on the Torch
version.
- **Improvements**
- Improved build process with automatic detection and configuration of
Torch version dependencies.
- Enhanced robustness with additional checks and conditional logic for
Torch integration.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants