1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

sysutils/slurm-wlm: update to version 16.05.06

Changes in Slurm 16.05.6:
https://github.com/SchedMD/slurm/blob/master/NEWS

Port changes: Added a patch to fix a build issue. The patch was also
accepted upstream and should appear in the next Slurm release.

Reviewed by:	mat
Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D8411
This commit is contained in:
Joseph Mingrone 2016-11-02 19:47:27 +00:00
parent 2cdb4cccc7
commit 25e6a123e1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=425171
4 changed files with 22 additions and 9 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= slurm
PORTVERSION= 16.05.5
PORTVERSION= 16.05.6
CATEGORIES= sysutils
MASTER_SITES= http://www.schedmd.com/download/latest/ \
http://www.schedmd.com/download/archive/ \
@ -27,8 +27,10 @@ USE_LDCONFIG= yes
USE_RC_SUBR= slurmctld slurmd
PLIST_SUB= PORTVERSION="${PORTVERSION}"
INSTALL_TARGET= install-strip
USES= gmake libtool pkgconfig python:build readline ssl tar:bz2
USES= gmake libtool pkgconfig python:build readline shebangfix ssl \
tar:bz2
USE_PERL5= configure
SHEBANG_FILES= doc/html/shtml2html.py doc/man/man2html.py
OPTIONS_DEFINE= CURL DOCS GTK2 HDF5 HWLOC IPMI MYSQL RRD
OPTIONS_DEFAULT=HDF5 HWLOC
@ -76,10 +78,6 @@ LDFLAGS+= -L${LOCALBASE}/lib -lsysinfo -lkvm
# add a pty.h for the build.
post-patch:
${CP} ${FILESDIR}/pty.h ${WRKSRC}/slurm
${REINPLACE_CMD} \
-e 's|/usr/bin/env python|${PYTHON_CMD}|g' \
${WRKSRC}/doc/html/shtml2html.py \
${WRKSRC}/doc/man/man2html.py
post-install:
${INSTALL_DATA} ${FILESDIR}/slurm.conf.sample ${STAGEDIR}${PREFIX}/etc/

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1475245168
SHA256 (slurm-16.05.5.tar.bz2) = 28cfd6a15599842f46cd81ae240a2b01b01e71a677f7eec6d5ba16b38e3d54e9
SIZE (slurm-16.05.5.tar.bz2) = 6247257
TIMESTAMP = 1478012730
SHA256 (slurm-16.05.6.tar.bz2) = 992b74f400f3821d60625d66797f56739f8571b80bad56211de0001791abf58b
SIZE (slurm-16.05.6.tar.bz2) = 6249232

View File

@ -0,0 +1,13 @@
--- src/plugins/node_features/knl_generic/node_features_knl_generic.c.orig 2016-11-01 15:40:01 UTC
+++ src/plugins/node_features/knl_generic/node_features_knl_generic.c
@@ -46,6 +46,10 @@
#include <sys/types.h>
#include <unistd.h>
+#if defined(__FreeBSD__) || defined(__NetBSD__)
+#define POLLRDHUP POLLHUP
+#endif
+
#include "slurm/slurm.h"
#include "src/common/assoc_mgr.h"

View File

@ -169,6 +169,8 @@ lib/slurm/mpi_pmi2.a
lib/slurm/mpi_pmi2.so
lib/slurm/node_features_knl_cray.a
lib/slurm/node_features_knl_cray.so
lib/slurm/node_features_knl_generic.a
lib/slurm/node_features_knl_generic.so
lib/slurm/power_none.a
lib/slurm/power_none.so
lib/slurm/preempt_job_prio.a