- added correct link flags for perl bindings (bsc#1108671)

* added correct linker search path in slurm-2.4.4-rpath.patch
  * perl:Switch is required by slurm torque wrappers

OBS-URL: https://build.opensuse.org/package/show/network:cluster/slurm?expand=0&rev=70
This commit is contained in:
Christian Goll 2018-09-24 09:37:13 +00:00 committed by Git OBS Bridge
parent 410ad28aca
commit 39fedd2ce8
3 changed files with 10 additions and 2 deletions

View File

@ -6,7 +6,7 @@ diff -aruN slurm-2.4.4.orig/contribs/perlapi/libslurm/perl/Makefile.PL.in slurm-
# flags so we have to add some :)
my $os = lc(`uname`);
-my $other_ld_flags = "-Wl,-rpath,@top_builddir@/src/api/.libs -Wl,-rpath,@prefix@/lib";
+my $other_ld_flags = " ";
+my $other_ld_flags = "-L@top_builddir@/src/api/.libs -lslurm";
$other_ld_flags = " -brtl -G -bnoentry -bgcbypass:1000 -bexpfull"
if $os =~ "aix";
@ -27,7 +27,7 @@ diff -aruN slurm-2.4.4.orig/contribs/perlapi/libslurmdb/perl/Makefile.PL.in slur
# flags so we have to add some :)
my $os = lc(`uname`);
-my $other_ld_flags = "-Wl,-rpath,@top_builddir@/src/db_api/.libs -Wl,-rpath,@prefix@/lib";
+my $other_ld_flags = " ";
+my $other_ld_flags = "-L@top_builddir@/src/api/.libs -lslurm";
$other_ld_flags = " -brtl -G -bnoentry -bgcbypass:1000 -bexpfull"
if $os =~ "aix";

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Sep 24 09:25:57 UTC 2018 - cgoll@suse.com
- added correct link flags for perl bindings (bsc#1108671)
* added correct linker search path in slurm-2.4.4-rpath.patch
* perl:Switch is required by slurm torque wrappers
-------------------------------------------------------------------
Sat Sep 22 06:09:18 UTC 2018 - eich@suse.com

View File

@ -235,6 +235,7 @@ This package contains the SLURM plugins (loadable shared objects)
%package torque
Summary: Wrappers for transitition from Torque/PBS to SLURM
Group: Productivity/Clustering/Computing
Requires: perl-Switch
Requires: perl-slurm = %{version}
Provides: torque-client