Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
sds-repo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sds
sds-repo
Commits
434edb7f
Commit
434edb7f
authored
Aug 24, 2018
by
Rob Latham
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
spackage for pmemkv
parent
4a809d93
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
50 additions
and
0 deletions
+50
-0
packages/pmemkv/0001-hack-make-install-for-spack.patch
packages/pmemkv/0001-hack-make-install-for-spack.patch
+27
-0
packages/pmemkv/package.py
packages/pmemkv/package.py
+23
-0
No files found.
packages/pmemkv/0001-hack-make-install-for-spack.patch
0 → 100644
View file @
434edb7f
From f6883b2c19f9e35ee90e923d6e4ac0b00c16d1bf Mon Sep 17 00:00:00 2001
From: Rob Latham <robl@mcs.anl.gov>
Date: Thu, 23 Aug 2018 16:35:54 -0500
Subject: [PATCH] hack make install for spack
---
Makefile | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 4671d580..230dc327 100644
--- a/Makefile
+++ b/Makefile
@@ -17,7 +17,9 @@
sharedlib:
cd ./bin && make pmemkv
install:
- cp ./bin/libpmemkv.so $(prefix)/lib
+ mkdir -p $(prefix)/lib
+ mkdir -p $(prefix)/include
+ cp spack-build/libpmemkv.so $(prefix)/lib
cp ./src/pmemkv.h $(prefix)/include/libpmemkv.h
uninstall:
--
2.17.1
packages/pmemkv/package.py
0 → 100644
View file @
434edb7f
from
spack
import
*
class
Pmemkv
(
CMakePackage
):
"""Key/Value Datastore for Persistent Memory"""
homepage
=
"https://github.com/pmem/pmemkv"
url
=
"https://github.com/pmem/pmemkv.git"
version
(
'master'
,
git
=
'https://github.com/pmem/pmemkv.git'
)
depends_on
(
'libpmemobj-cpp'
)
patch
(
'0001-hack-make-install-for-spack.patch'
)
def
cmake_args
(
self
):
# Add arguments other than
# CMAKE_INSTALL_PREFIX and CMAKE_BUILD_TYPE
args
=
[]
return
args
def
install
(
self
,
spec
,
prefix
):
make
(
"install"
,
"prefix=%s"
%
prefix
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment