Skip to content

Commit

Permalink
Pin dependency versions also in meson.build (tblite#215)
Browse files Browse the repository at this point in the history
* Pin dependency versions also in meson.build

* Revert to (updated) ranges for dependency versions

* Add upper bound for dftd4 version

* Update config/meson.build

Co-authored-by: Marvin Friede <[email protected]>

---------

Co-authored-by: Marvin Friede <[email protected]>
  • Loading branch information
thfroitzheim and marvinfriede authored Nov 10, 2024
1 parent 98fc504 commit 1b74889
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion config/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ lib_deps += mctc_dep
# Create DFT-D4 library as subproject
dftd4_dep = dependency(
'dftd4',
version: '>=3.0.0',
version: ['>=3.4.0', '<4'],
fallback: ['dftd4', 'dftd4_dep'],
default_options: ['default_library=static', 'api=false', 'python=false'],
)
Expand All @@ -132,6 +132,7 @@ lib_deps += dftd4_dep
# Create DFT-D3 library as subproject
sdftd3_dep = dependency(
's-dftd3',
version: '>=0.6.0',
fallback: ['s-dftd3', 'sdftd3_dep'],
default_options: ['default_library=static', 'api=false', 'python=false'],
)
Expand Down
2 changes: 1 addition & 1 deletion test/unit/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# Create mstore as subproject for testing
mstore_dep = dependency(
'mstore',
version: '>=0.1',
version: '>=0.3.0',
fallback: ['mstore', 'mstore_dep'],
required: not meson.is_subproject(),
default_options: [
Expand Down

0 comments on commit 1b74889

Please sign in to comment.