Skip to content

CMake: Mark ELPA_DIR as deprecated #7630

Open
Growl1234 wants to merge 5 commits into
deepmodeling:developfrom
Growl1234:cmake-elpa
Open

CMake: Mark ELPA_DIR as deprecated #7630
Growl1234 wants to merge 5 commits into
deepmodeling:developfrom
Growl1234:cmake-elpa

Conversation

@Growl1234

@Growl1234 Growl1234 commented Jul 13, 2026

Copy link
Copy Markdown

With this PR, ELPA_DIR is mark as deprecated and will be removed in the future. With the final removal, CMake will fully leverage pkg-config to find ELPA and get all information of it, including ELPA_VERSION.

Users have to ensure pkg-config is installed and the file elpa.pc or elpa_openmp.pc is discoverable by pkg-config through PKG_CONFIG_PATH (except the case under /usr or /usr/include) like:

prepend_path PKG_CONFIG_PATH "${pkg_install_dir}/nvidia/lib/pkgconfig"

Copilot AI review requested due to automatic review settings July 13, 2026 07:27

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@ZhouXY-PKU ZhouXY-PKU left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Set "deprecated in the future"?

Comment thread cmake/modules/FindELPA.cmake Outdated
Comment thread docs/quick_start/easy_install.md
Comment thread toolchain/build_abacus_intel.sh
@Growl1234 Growl1234 changed the title CMake: Find ELPA through pkg-config module CMake: Mark ELPA_DIR as deprecated Jul 14, 2026
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.

3 participants