summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGordian Edenhofer2017-11-19 22:54:36 +0100
committerGordian Edenhofer2017-11-19 22:54:36 +0100
commite8e94fb6ff80a82c458cb03f6f4482a29c4a4852 (patch)
treebcf6f862b3f531ee3199a029f24a64ce2c791768
parenta26823cac3e01a4fb4ca81b409fa8db80aa9a498 (diff)
downloadaur-e8e94fb6ff80a82c458cb03f6f4482a29c4a4852.tar.gz
upgpkg: slurm-llnl 17.02.9.1-2
Fix runtime bug related to the usage of a hardened build environment by removing '-z,now' from the LDFLAGS and CFLAGS environment variable. upgpkg: slurm-llnl-dev 17.11.0.0rc3-2 upgpkg: slurm-llnl-git 17.11.0.0pre2.r1285.g9f8f68e3cb-1
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
2 files changed, 7 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f3f6b3c50a2..5c42f9b6080 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = slurm-llnl-git
pkgdesc = Simple Linux Utility for Resource Management (development version)
- pkgver = 17.11.0.0pre2.r1181.g7394fb21f2
+ pkgver = 17.11.0.0pre2.r1285.g9f8f68e3cb
pkgrel = 1
url = https://www.schedmd.com
install = slurm-llnl-git.install
@@ -27,7 +27,7 @@ pkgbase = slurm-llnl-git
optdepends = numactl: NUMA support in the task/affinity plugin
optdepends = ncurses: adds the smap command
optdepends = gtk2: enables the sview command, a simple graphical frontend
- provides = slurm-llnl=17.11.0.0pre2.r1181.g7394fb21f2
+ provides = slurm-llnl=17.11.0.0pre2.r1285.g9f8f68e3cb
conflicts = slurm-llnl
backup = etc/default/slurm-llnl
source = slurm-tmpfiles.conf
diff --git a/PKGBUILD b/PKGBUILD
index d9549421fa6..fdf6d7b9dfd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
# Submitter: Fredrik Tegenfeldt <fredrik.tegenfeldt@unige.ch>
pkgname=slurm-llnl-git
-pkgver=17.11.0.0pre2.r1181.g7394fb21f2
+pkgver=17.11.0.0pre2.r1285.g9f8f68e3cb
pkgrel=1
pkgdesc="Simple Linux Utility for Resource Management (development version)"
arch=('i686' 'x86_64' 'armv7h')
@@ -61,6 +61,10 @@ build() {
#
# Read https://slurm.schedmd.com/quickstart_admin.html for more information
+ # Slurm requires a relaxed build environment, see https://bugs.schedmd.com/show_bug.cgi?id=2443
+ export CFLAGS="${CFLAGS//-z,now/-z,lazy}"
+ export LDFLAGS="${LDFLAGS//-z,now/-z,lazy}"
+
./autogen.sh
./configure \
--prefix=/usr \