Skip to content

CMake: Clean up towards target-based dependency handling - #8377

Draft
Growl1234 wants to merge 8 commits into
deepmodeling:developfrom
Growl1234:cmake
Draft

Growl1234 wants to merge 8 commits into
deepmodeling:developfrom
Growl1234:cmake

Conversation

@Growl1234

@Growl1234 Growl1234 commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

All dependency handling except GPU/SW/DCU etc should now be target-based. (For CUDA it's rather straight-forward as CMake has its own FindCUDAToolkit module, but I will do this transition in a dedicated PR.)

I also removed the deprecated ELPA_DIR discovery approach; FindELPA now search the library fully via pkg-config.

I have not yet get through relevant tests (especially DeePMD part); will do it tomorrow.

@Growl1234 Growl1234 added the Compile & CICD & Docs & Dependencies Issues related to compiling ABACUS label Nov 24, 2026
@Growl1234

Copy link
Copy Markdown
Collaborator Author

Some source modules create internal object libraries which needs to be cleaned up in the near future.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Compile & CICD & Docs & Dependencies Issues related to compiling ABACUS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant