pmdk: add the latest release 1.12.1 (#35440)

* pmdk: add the latest release 1.12.1
  Both master and 1.12.1 require CMake.
* pmdk: fix style
This commit is contained in:
H. Joe Lee 2023-02-10 16:44:22 -06:00 committed by GitHub
parent 1f7c59eb06
commit f1b004a0d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,10 +13,12 @@ class Pmdk(Package):
"""
homepage = "https://pmem.io/pmdk/"
url = "https://github.com/pmem/pmdk/archive/1.5.tar.gz"
url = "https://github.com/pmem/pmdk/archive/1.12.1.tar.gz"
git = "https://github.com/pmem/pmdk.git"
maintainers("hyoklee")
version("master", branch="master")
version("1.12.1", sha256="53602e4c2439957046b428187665c5ff38cb90ca50956eb917b509a2e96909a3")
version("1.11.0", sha256="bfbc82e6bfd788c8bcb380da76172b83732d12775a719c9c423eb2fadc78bb3a")
version("1.10", sha256="06edcd43ef267c4cc70754d5d1a5d88aeb9f2086bc014bf2594df4c5efd8cc4e")
version("1.9.2", sha256="6bca98ecf9e036603951024b7436d688cd1907b2d8c428373697fafff4096a4f")
@ -34,6 +36,7 @@ class Pmdk(Package):
variant("experimental", default=False, description="Build experimental stuff")
variant("rpmem", default=False, description="Build remote persistent memory components")
depends_on("cmake", when="@1.12.1:")
depends_on("ncurses", when="@1.6:")
depends_on("libfabric", when="+rpmem")
# documentation requires doxygen and a bunch of other dependencies