diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 20 | ||||
-rw-r--r-- | slurm-llnl-dev.install | 5 |
3 files changed, 15 insertions, 12 deletions
@@ -1,7 +1,7 @@ pkgbase = slurm-llnl-dev pkgdesc = Simple Linux Utility for Resource Management (development version) pkgver = 16.05.0_0pre2 - pkgrel = 1 + pkgrel = 2 url = http://www.schedmd.com install = slurm-llnl-dev.install arch = i686 @@ -7,7 +7,7 @@ pkgver=16.05.0_0pre2 # Hyphens (-) are prohibited however they are used by the package author # therefore it is necessary to invoke ${pkgver} like ${pkgver//_/-} # this will substituet any udnerscores (_) with hyphens -pkgrel=1 +pkgrel=2 pkgdesc="Simple Linux Utility for Resource Management (development version)" arch=('i686' 'x86_64') url="http://www.schedmd.com" @@ -32,7 +32,7 @@ makedepends=('python') provides=('slurm-llnl') conflicts=('slurm-llnl' 'slurm-llnl-git') backup=('etc/default/slurm-llnl') -install=${pkgname}.install +install="${pkgname}.install" source=("slurm-tmpfiles.conf" "slurm-llnl-default-conf" "slurmctld.service" @@ -56,11 +56,19 @@ build() { # # Read http://slurm.schedmd.com/quickstart_admin.html for more information + ./autogen.sh ./configure \ - --prefix=/usr \ - --sbindir=/usr/bin \ - --sysconfdir=/etc/slurm-llnl \ - --localstatedir=/var + --prefix=/usr \ + --sbindir=/usr/bin \ + --sysconfdir=/etc/slurm-llnl \ + --localstatedir=/var \ + --enable-pam \ + --with-proctrack \ + --with-hdf5 \ + --with-hwloc \ + --with-rrdtool \ + --with-ssl \ + --with-munge make } diff --git a/slurm-llnl-dev.install b/slurm-llnl-dev.install index 17a84b71daf6..77a897dd2db3 100644 --- a/slurm-llnl-dev.install +++ b/slurm-llnl-dev.install @@ -21,16 +21,11 @@ post_install() { echo -e "\e[34;1m==>\e[39;1m NOTE: You have to create a slurm configuration-file in /etc/slurm-llnl/ \e[0m" echo -e "\e[34;1m==>\e[39;1m prior to starting any slurm daemons. \e[0m" - echo -e "\e[34;1m==>\e[39;1m NOTE: In order for new optional dependencies to be taken into account \e[0m" - echo -e "\e[34;1m==>\e[39;1m slurm-llnl has to be recompiled. \e[0m" } ## arg 1: the new package version ## arg 2: the old package version post_upgrade() { - echo -e "\e[34;1m==>\e[39;1m NOTE: In order for new optional dependencies to be taken into account \e[0m" - echo -e "\e[34;1m==>\e[39;1m slurm-llnl has to be recompiled. \e[0m" - # THIS HAS TO BE REMOVED ONEDAY - TODO if [ -f /etc/slurm/slurm.conf ]; then mv /etc/slurm/* /etc/slurm-llnl/ |