summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorPhil Carns <carns@mcs.anl.gov>2019-05-01 19:12:01 -0400
committerPeter Scheibel <scheibel1@llnl.gov>2019-05-02 08:12:01 +0900
commit396955b9ba14fef2b57e7ca35d66793171c81ad0 (patch)
tree240df72997033f09bd3a8026f3592d043626e02f /var
parentc2e280b7945e1bd710a085e839d59f3b6d502577 (diff)
downloadspack-396955b9ba14fef2b57e7ca35d66793171c81ad0.tar.gz
spack-396955b9ba14fef2b57e7ca35d66793171c81ad0.tar.bz2
spack-396955b9ba14fef2b57e7ca35d66793171c81ad0.tar.xz
spack-396955b9ba14fef2b57e7ca35d66793171c81ad0.zip
New package: libpmemobj-cpp (#11309)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/libpmemobj-cpp/package.py26
1 files changed, 26 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/libpmemobj-cpp/package.py b/var/spack/repos/builtin/packages/libpmemobj-cpp/package.py
new file mode 100644
index 0000000000..9800feb3d7
--- /dev/null
+++ b/var/spack/repos/builtin/packages/libpmemobj-cpp/package.py
@@ -0,0 +1,26 @@
+# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class LibpmemobjCpp(CMakePackage):
+ """C++ bindings for libpmemobj (https://github.com/pmem/pmdk)"""
+
+ homepage = "https://github.com/pmem/libpmemobj-cpp"
+ url = "https://github.com/pmem/libpmemobj-cpp/archive/1.6.tar.gz"
+ git = "https://github.com/pmem/libpmemobj-cpp.git"
+
+ version('develop', branch='master')
+ version('1.6', sha256='791bf86c6b9401451e3d20f19cb8799d312b9d58659cb93aa532cd724db554ae')
+ version('1.5.1', sha256='0448bac4697f6563789e5bf22b8556288ae67ab916608bc45d0a3baa24c67985')
+ version('1.5', sha256='6254aa2fb77977f8b91998eb866216d2af22f4ccbffdfc7932df1dff151da61e')
+
+ # libpmemobj only supports 'Debug' and 'Release'
+ variant('build_type', default='Release',
+ description='CMake build type',
+ values=('Debug', 'Release'))
+
+ depends_on('pmdk')