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
7615e0dd
Commit
7615e0dd
authored
Jan 11, 2019
by
Matthieu Dorier
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of xgitlab.cels.anl.gov:sds/sds-repo
parents
377a2974
4edf2975
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
1 deletion
+15
-1
packages/pmem/package.py
packages/pmem/package.py
+15
-1
No files found.
packages/pmem/package.py
View file @
7615e0dd
...
...
@@ -23,6 +23,7 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
##############################################################################
from
spack
import
*
import
spack.architecture
import
os
...
...
@@ -48,4 +49,17 @@ class Pmem(Package):
patch
(
'0002-remove-secure-getenv.patch'
,
when
=
'@1.4:'
)
def
install
(
self
,
spec
,
prefix
):
make
(
"install"
,
"prefix=%s"
%
prefix
,
"NDCTL_ENABLE=n"
,
"EXTRA_CFLAGS=-Wno-error"
,
"BUILD_RPMEM=n"
)
make_args
=
[
'prefix=%s'
%
prefix
,
'NDCTL_ENABLE=n'
,
'EXTRA_CFLAGS=-Wno-error'
,
'BUILD_RPMEM=n'
,
]
# pmdk is particular about the ARCH specification, must be
# exactly "x86_64" for build to work
if
'x86_64'
in
spack
.
architecture
.
sys_type
():
make_args
+=
[
'ARCH=x86_64'
]
make
(
"install"
,
*
make_args
)
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