Add Meson Build System Support to ddX#157
Merged
Merged
Conversation
c5bbd36 to
4d4b56d
Compare
3 tasks
Collaborator
|
I updated this with the new radial derivatives and added some proper testing. It's now ready for the merge. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add Meson Build System Support to ddX
Summary
This pull request implements a Meson-based build and test setup for ddX (see issue #155), providing an alternative to the existing CMake workflow. The Meson configuration is purely additive and does not remove or disrupt the CMake build. Portions of these Meson files and snippets were adapted from tblite and dftd4.
Key Changes
Meson Build Files
meson.buildfor compiling ddX with dependencies (BLAS, LAPACK, OpenMP).meson.buildfiles for tests, includingstandalone_tests.Testing Integration
test()calls, preserving coverage (e.g.,ddx_driver,force,lpb_incore).tests/standalone_tests/meson_test_wrapper.in) where needed to accommodate older Meson versions lacking advancedtest()arguments.Preservation of CMake
Documentation
docs/folder.Minimum Meson Version
Requires Meson 0.61 or later.
Quick Usage
meson setup build meson compile -C build meson test -C build --print-errorlogReferences