GitLab maintenance scheduled for Tomorrow, 2019-04-24, from 12:00 to 13:00 CDT - Services will be unavailable during this time.

Commit 6aa8b757 authored by Philip Carns's avatar Philip Carns

remove pmdk package

- upstreamed, and fork used in regression testing has been rebased to
  pick it up
parent d14a927f
From 750e9d9dac52af483dc556be80f1f69bc522e5be Mon Sep 17 00:00:00 2001
From: Rob Latham <robl@mcs.anl.gov>
Date: Tue, 8 May 2018 15:48:49 -0500
Subject: [PATCH] make doc building explicit
---
Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index 7f2417d9..b29672b3 100644
--- a/Makefile
+++ b/Makefile
@@ -93,7 +93,7 @@ clean:
clobber:
$(MAKE) -C src $@
- $(MAKE) -C doc $@
+ #$(MAKE) -C doc $@
$(MAKE) -C utils $@
$(RM) -r $(RPM_BUILDDIR) $(DPKG_BUILDDIR) rpm dpkg
@@ -142,7 +142,7 @@ rpm dpkg: pkg-clean source
install uninstall:
$(MAKE) -C src $@
- $(MAKE) -C doc $@
+ #$(MAKE) -C doc $@
.PHONY: all clean clobber test check cstyle check-license install uninstall\
source rpm dpkg pkg-clean pcheck check-remote format doc $(SUBDIRS)
--
2.17.0
--- a/src/common/os_posix.c 2018-03-29 16:42:27.000000000 +0000
+++ b/src/common/os_posix.c 2018-05-09 09:16:01.100000000 +0000
@@ -278,7 +278,7 @@
char *
os_getenv(const char *name)
{
- return secure_getenv(name);
+ return getenv(name);
}
/*
##############################################################################
# Copyright (c) 2013-2017, Lawrence Livermore National Security, LLC.
# Produced at the Lawrence Livermore National Laboratory.
#
# This file is part of Spack.
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
# LLNL-CODE-647188
#
# For details, see https://github.com/llnl/spack
# Please also see the NOTICE and LICENSE files for our notice and the LGPL.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License (as
# published by the Free Software Foundation) version 2.1, February 1999.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
# conditions of the GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
##############################################################################
from spack import *
import spack.architecture
import os
class Pmdk(Package):
"""The Persistent Memory Development Kit (PMDK), formerly known as NVML, is a library for using memory-mapped persistence, optimized specifically for persistent memory"""
homepage = "http://pmem.io/pmdk/"
url = "https://github.com/pmem/pmdk/archive/1.5.tar.gz"
git = "https://github.com/pmem/pmdk.git"
version('develop', branch='master')
version('1.5', sha256='6b069d7207febeb62440e89245e8b18fcdf40b6170d2ec2ef33c252ed16db2d4')
# in the nvml -> pmdk name change, these hashes needed to be updated
version('1.4.2', sha256='df7e658e75d28cd80f6d2ff7b9fc9ae2885d52f8923fdbacecfd46215115fb4c')
version('1.4', '8813455d9518b8d7e0c296a706314940')
version('1.3', '32c41d0d7f1c855b7d2b9622631a6bc3')
# experimental rpmem
#depends_on('libfabric@1.4.2:')
depends_on('ncurses', when='@1.5:')
# documentation requires doxygen and a bunch of other depenedncies that
# were not working properly on our contianers
patch('0001-make-doc-building-explicit.patch')
patch('0002-remove-secure-getenv.patch', when='@1.4:')
def install(self, spec, prefix):
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)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment