The package rpms/legion.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/legion.git/commit/?id=cc5e48c883d....
Change:
+%ifarch ppc64 s390x
Thanks.
Full change:
============
commit cc5e48c883da9d883aa1749a4b3b144d2df257b8
Author: Christoph Junghans <junghans(a)votca.org>
Date: Mon Feb 5 06:37:28 2018 -0700
Added gcc-8.patch to support gcc-8
diff --git a/gcc-8.patch b/gcc-8.patch
new file mode 100644
index 0000000..9cbbc5f
--- /dev/null
+++ b/gcc-8.patch
@@ -0,0 +1,54 @@
+From ca6bd6b00d89f3e0a865f048addf8d68adf07dbb Mon Sep 17 00:00:00 2001
+From: Christoph Junghans <junghans(a)lanl.gov>
+Date: Sun, 4 Feb 2018 13:05:18 -0700
+Subject: [PATCH] workaround for gcc-8 compiler bug
+
+Ref: StanfordLegion/legion#350
+https://github.com/StanfordLegion/legion/issues/350#issuecomment-363245859
+---
+ runtime/realm/id.inl | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/runtime/realm/id.inl b/runtime/realm/id.inl
+index 8fdd114b2..a0675d9c2 100644
+--- a/runtime/realm/id.inl
++++ b/runtime/realm/id.inl
+@@ -96,7 +96,7 @@ namespace Realm {
+ ID id;
+ id.rsrv.type_tag = FMT_Reservation::TAG_VALUE;
+ id.rsrv.creator_node = creator_node;
+- id.rsrv.unused = 0;
++ //id.rsrv.unused = 0;
+ id.rsrv.rsrv_idx = rsrv_idx;
+ return id;
+ }
+@@ -111,7 +111,7 @@ namespace Realm {
+ ID id;
+ id.memory.type_tag = FMT_Memory::TAG_VALUE;
+ id.memory.owner_node = owner_node;
+- id.memory.unused = 0;
++ //id.memory.unused = 0;
+ id.memory.mem_idx = mem_idx;
+ return id;
+ }
+@@ -126,7 +126,7 @@ namespace Realm {
+ ID id;
+ id.memory.type_tag = FMT_IB_Memory::TAG_VALUE;
+ id.memory.owner_node = owner_node;
+- id.memory.unused = 0;
++ //id.memory.unused = 0;
+ id.memory.mem_idx = mem_idx;
+ return id;
+ }
+@@ -157,7 +157,7 @@ namespace Realm {
+ ID id;
+ id.proc.type_tag = FMT_Processor::TAG_VALUE;
+ id.proc.owner_node = owner_node;
+- id.proc.unused = 0;
++ //id.proc.unused = 0;
+ id.proc.proc_idx = proc_idx;
+ return id;
+ }
+--
+2.14.3
+
diff --git a/legion.spec b/legion.spec
index b34dc6c..5c603aa 100644
--- a/legion.spec
+++ b/legion.spec
@@ -1,10 +1,12 @@
Name: legion
Version: 18.02.0
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: A data-centric parallel programming system
License: ASL 2.0
Url:
http://legion.stanford.edu/
Source0:
https://github.com/StanfordLegion/legion/archive/%{name}-%{version}.tar.g...
+#
https://github.com/StanfordLegion/legion/issues/350
+Patch0: gcc-8.patch
BuildRequires: gcc
BuildRequires: gcc-c++
@@ -97,6 +99,7 @@ This package contains development headers and libraries for the legion
library
%prep
%setup -q -n %{name}-%{name}-%{version}
+%patch0 -p1
%build
mkdir serial openmpi mpich
@@ -155,6 +158,11 @@ popd
%global testargs ARGS='-E mpi_interop'
%endif
+#
https://github.com/StanfordLegion/legion/issues/350
+%ifarch ppc64 s390x
+%global testargs ARGS='-E circuit'
+%endif
+
make -C serial test CTEST_OUTPUT_ON_FAILURE=1 %{?testargs:%{testargs}}
%{_openmpi_load}
make -C openmpi test CTEST_OUTPUT_ON_FAILURE=1 %{?testargs:%{testargs}}
@@ -193,6 +201,9 @@ mv %{buildroot}{%{_datadir}/Legion,%{_libdir}/cmake/%{name}}
%{_libdir}/mpich*/lib/lib*.so.1
%changelog
+* Mon Feb 12 2018 Christoph Junghans <junghans(a)votca.org> - 18.02.0-3
+- Added gcc-8.patch to support gcc-8
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> -
18.02.0-2
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild