35 lines
1.2 KiB
Bash
35 lines
1.2 KiB
Bash
# Template file for 'slurm-wlm'
|
|
pkgname=slurm-wlm
|
|
version=17.11.9.1
|
|
revision=1
|
|
_distver="${version//./-}"
|
|
wrksrc="slurm-slurm-${_distver}"
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static"
|
|
hostmakedepends="perl cgit python pkg-config"
|
|
# XXX: ofed, DataWarp, netloc, blcr
|
|
makedepends="munge-devel lua-devel pam-devel libressl-devel gtk+-devel
|
|
ncurses-devel readline-devel libmysqlclient-devel json-c-devel libhwloc-devel
|
|
freeipmi-devel"
|
|
short_desc="Workload manager for Linux clusters of all sizes"
|
|
maintainer="Toyam Cox <Vaelatern@voidlinux.eu>"
|
|
license="GPL-2"
|
|
homepage="http://slurm.schedmd.com/slurm.html"
|
|
distfiles="https://github.com/SchedMD/slurm/archive/slurm-${_distver}.tar.gz"
|
|
checksum=d26718780cffa407f05d91bdc90ead001649c3c10f6497a0dfef4db576208799
|
|
|
|
case "${XBPS_TARGET_MACHINE}" in
|
|
# Undefined: inet_nsap_addr and getgrent_r
|
|
# Used in the core of the program.
|
|
*-musl) broken="https://api.travis-ci.org/jobs/124091254/log.txt";;
|
|
esac
|
|
|
|
if [ -z "${CROSS_BUILD}" ]; then
|
|
# The below at time of writing can not be cross compiled
|
|
makedepends+=" rrdtool-devel hdf5-devel libnuma-devel"
|
|
fi
|
|
|
|
post_install() {
|
|
# Rename slurm(1) manpage to avoid conflict with slurm
|
|
mv ${DESTDIR}/usr/share/man/man1/slurm.1 ${DESTDIR}/usr/share/man/man1/slurm-wlm.1
|
|
}
|