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=ace96437874...
https://src.fedoraproject.org/cgit/rpms/legion.git/commit/?id=7f4215f08ad....
Change:
-%ifarch ppc64 s390x
-%ifnarch s390x
Thanks.
Full change:
============
commit ace964378748e97adc6924053ae99a37bf03b305
Author: Christoph Junghans <junghans(a)lanl.gov>
Date: Fri Aug 25 10:12:22 2017 -0600
Update to 17.08.0 (#1485085)
diff --git a/.gitignore b/.gitignore
index 8f335e0..fcf3465 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/legion-17.02.0.tar.gz
/legion*.src.rpm
/legion-17.05.0.tar.gz
+/legion-17.08.0.tar.gz
diff --git a/legion.spec b/legion.spec
index 75d7eac..ecb1b75 100644
--- a/legion.spec
+++ b/legion.spec
@@ -1,6 +1,6 @@
Name: legion
-Version: 17.05.0
-Release: 4%{?dist}
+Version: 17.08.0
+Release: 1%{?dist}
Summary: A data-centric parallel programming system
License: ASL 2.0
Url:
http://legion.stanford.edu/
@@ -138,25 +138,17 @@ popd
%{_mpich_unload}
%check
-#some tests are broken on ppc64
-#https://github.com/StanfordLegion/legion/issues/233
-%ifarch ppc64 s390x
-%global testargs ARGS='-V -E
\\(ghost\\|ghost_pull\\|custom_mapper\\|spmd_cgsolver\\|mpi_interop\\)'
-%else
%if 0%{?rhel}
#currently MPI on rhel does not support MPI_THREAD_MULTIPLE
-%global testargs ARGS='-V -E mpi_interop'
-%else
-%global testargs ARGS='-V'
-%endif
+%global testargs ARGS='-E mpi_interop'
%endif
-make -C serial test %{testargs}
+make -C serial test CTEST_OUTPUT_ON_FAILURE=1 %{?testargs:%{testargs}}
%{_openmpi_load}
-make -C openmpi test %{testargs}
+make -C openmpi test CTEST_OUTPUT_ON_FAILURE=1 %{?testargs:%{testargs}}
%{_openmpi_unload}
%{_mpich_load}
-make -C mpich test %{testargs}
+make -C mpich test CTEST_OUTPUT_ON_FAILURE=1 %{?testargs:%{testargs}}
%{_mpich_unload}
#move cmake files in a place where cmake can find them
@@ -176,11 +168,7 @@ mv %{buildroot}{%{_datadir}/Legion,%{_libdir}/cmake/%{name}}
%{_libdir}/lib*.so.1
%files devel
-%{_includedir}/*.h
-%{_includedir}/*.inl
-%{_includedir}/%{name}
-%{_includedir}/mappers
-%{_includedir}/realm
+%{_includedir}/*
%{_libdir}/lib*.so
%{_libdir}/cmake/%{name}
%{_libdir}/openmpi*/lib/lib*.so
@@ -193,7 +181,11 @@ mv %{buildroot}{%{_datadir}/Legion,%{_libdir}/cmake/%{name}}
%{_libdir}/mpich*/lib/lib*.so.1
%changelog
-* Wed Aug 04 2017 Christoph Junghans <junghans(a)votca.org> - 17.05.0-4
+* Fri Aug 25 2017 Christoph Junghans <junghans(a)votca.org> - 17.08.0-1
+- Update to 17.08.0 (#1485085)
+- Re-enable tests on ppc and some on epel7
+
+* Fri Aug 04 2017 Christoph Junghans <junghans(a)votca.org> - 17.05.0-4
- Added patch for s390x (bug #1477749), enable gasnet of s390x
* Thu Aug 03 2017 Fedora Release Engineering <releng(a)fedoraproject.org> -
17.05.0-3
diff --git a/sources b/sources
index 6238944..766440b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (legion-17.05.0.tar.gz) =
51532f043eea1467a2b8ff17004f224c763f411eb5940d0a4dc5d8eb6503d758964aba26eb4977c68264c7344fcf269682a428e86a2c1a756f91cc9c50d04677
+SHA512 (legion-17.08.0.tar.gz) =
5d97157f97e12149e5fdf3a75d2e6e8a41ebf97e09c35501e2c93437bd0a47643d261f68c6b4a83b47e64d706f35914acd3a852eb0c08a11696b05ba9ef7af87
commit 7f4215f08ade4ac1efc21598756e8a298dc8df58
Author: Christoph Junghans <junghans(a)lanl.gov>
Date: Fri Aug 4 11:12:34 2017 -0600
Added patch for s390x (bug #1477749), enable gasnet of s390x
diff --git a/legion.spec b/legion.spec
index 3556db8..75d7eac 100644
--- a/legion.spec
+++ b/legion.spec
@@ -1,18 +1,17 @@
Name: legion
Version: 17.05.0
-Release: 3%{?dist}
+Release: 4%{?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...
+#patch for s390x (bug #1477749)
+Patch0: s390x.patch
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: hwloc-devel
-#no gasnet on s390x (bug #1453092)
-%ifnarch s390x
BuildRequires: gasnet-devel
-%endif
BuildRequires: %{?fedora:cmake >= 3.1}%{?rhel:cmake3 >= 3.1}
%description
@@ -28,7 +27,6 @@ data in the memory hierarchy and assignment of tasks to processors in a
way that
is orthogonal to correctness, thereby enabling easy porting and tuning of Legion
applications to new architectures.
-%ifnarch s390x
%package openmpi
Summary: Legion Open MPI binaries and libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
@@ -70,17 +68,14 @@ is orthogonal to correctness, thereby enabling easy porting and tuning
of Legion
applications to new architectures.
Legion compiled with MPICH, package incl. binaries and libraries
-%endif
%package devel
Summary: Development headers and libraries for %{name} library
Requires: %{name}%{?_isa} = %{version}-%{release}
-%ifnarch s390x
Requires: %{name}-openmpi%{?_isa} = %{version}
Requires: %{name}-mpich%{?_isa} = %{version}
Requires: mpich-devel
Requires: openmpi-devel
-%endif
%description devel
Legion is a data-centric parallel programming system for writing portable
@@ -99,6 +94,9 @@ This package contains development headers and libraries for the legion
library
%prep
%setup -q -n %{name}-%{name}-%{version}
+%ifnarch s390x
+%patch0 -p1
+%endif
%build
mkdir serial openmpi mpich
@@ -110,7 +108,6 @@ export LDFLAGS="%{__global_ldflags} -Wl,--as-needed"
%make_build
popd
-%ifnarch s390x
pushd openmpi
%{_openmpi_load}
export LDFLAGS="%{__global_ldflags} -Wl,--as-needed"
@@ -130,18 +127,15 @@ export LDFLAGS="%{__global_ldflags} -Wl,--as-needed"
%make_build
%{_mpich_unload}
popd
-%endif
%install
%make_install -C serial
-%ifnarch s390x
%{_openmpi_load}
%make_install -C openmpi
%{_openmpi_unload}
%{_mpich_load}
%make_install -C mpich
%{_mpich_unload}
-%endif
%check
#some tests are broken on ppc64
@@ -158,14 +152,12 @@ popd
%endif
make -C serial test %{testargs}
-%ifnarch s390x
%{_openmpi_load}
make -C openmpi test %{testargs}
%{_openmpi_unload}
%{_mpich_load}
make -C mpich test %{testargs}
%{_mpich_unload}
-%endif
#move cmake files in a place where cmake can find them
mkdir -p %{buildroot}%{_libdir}/cmake
@@ -191,7 +183,6 @@ mv %{buildroot}{%{_datadir}/Legion,%{_libdir}/cmake/%{name}}
%{_includedir}/realm
%{_libdir}/lib*.so
%{_libdir}/cmake/%{name}
-%ifnarch s390x
%{_libdir}/openmpi*/lib/lib*.so
%{_libdir}/mpich*/lib/lib*.so
@@ -200,9 +191,11 @@ mv %{buildroot}{%{_datadir}/Legion,%{_libdir}/cmake/%{name}}
%files mpich
%{_libdir}/mpich*/lib/lib*.so.1
-%endif
%changelog
+* Wed Aug 04 2017 Christoph Junghans <junghans(a)votca.org> - 17.05.0-4
+- Added patch for s390x (bug #1477749), enable gasnet of s390x
+
* Thu Aug 03 2017 Fedora Release Engineering <releng(a)fedoraproject.org> -
17.05.0-3
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
diff --git a/s390x.patch b/s390x.patch
new file mode 100644
index 0000000..a776c8a
--- /dev/null
+++ b/s390x.patch
@@ -0,0 +1,14 @@
+--- legion-legion-17.05.0/runtime/realm/numa/numasysif.cc 2017/06/15 14:00:13 1.1
++++ legion-legion-17.05.0/runtime/realm/numa/numasysif.cc 2017/06/15 14:01:01
+@@ -27,10 +27,11 @@
+
+ #include <vector>
+
+ #ifdef __linux__
+ #include <unistd.h>
++#include <asm-generic/unistd.h>
+ #include <sys/syscall.h>
+ #include <linux/mempolicy.h>
+ #include <dirent.h>
+ #include <sched.h>
+ #include <ctype.h>
commit c590a5576c911137d9309f87b07beadb9154bb62
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Thu Aug 3 01:03:30 2017 +0000
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
diff --git a/legion.spec b/legion.spec
index cd2bcb7..3556db8 100644
--- a/legion.spec
+++ b/legion.spec
@@ -1,6 +1,6 @@
Name: legion
Version: 17.05.0
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: A data-centric parallel programming system
License: ASL 2.0
Url:
http://legion.stanford.edu/
@@ -203,6 +203,9 @@ mv %{buildroot}{%{_datadir}/Legion,%{_libdir}/cmake/%{name}}
%endif
%changelog
+* Thu Aug 03 2017 Fedora Release Engineering <releng(a)fedoraproject.org> -
17.05.0-3
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
+
* Wed Jul 26 2017 Fedora Release Engineering <releng(a)fedoraproject.org> -
17.05.0-2
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
commit 258d0e39783262d4cfa6d664dc671675656e725c
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Wed Jul 26 18:22:20 2017 +0000
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
diff --git a/legion.spec b/legion.spec
index 9ad8c21..cd2bcb7 100644
--- a/legion.spec
+++ b/legion.spec
@@ -1,6 +1,6 @@
Name: legion
Version: 17.05.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A data-centric parallel programming system
License: ASL 2.0
Url:
http://legion.stanford.edu/
@@ -203,6 +203,9 @@ mv %{buildroot}{%{_datadir}/Legion,%{_libdir}/cmake/%{name}}
%endif
%changelog
+* Wed Jul 26 2017 Fedora Release Engineering <releng(a)fedoraproject.org> -
17.05.0-2
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
+
* Fri May 26 2017 Christoph Junghans <junghans(a)votca.org> - 17.05.0-1
- Version bump to 17.05.0 (bug #1456066)
- Drop 229.patch and 232.patch - merged upstream
commit 2e73bb5af655b7086ef0805008aa9297c88743fd
Author: Christoph Junghans <junghans(a)lanl.gov>
Date: Sun May 28 14:30:08 2017 -0600
exclude mpi_interop test on epel7
diff --git a/legion.spec b/legion.spec
index 83777d7..9ad8c21 100644
--- a/legion.spec
+++ b/legion.spec
@@ -149,8 +149,13 @@ popd
%ifarch ppc64 s390x
%global testargs ARGS='-V -E
\\(ghost\\|ghost_pull\\|custom_mapper\\|spmd_cgsolver\\|mpi_interop\\)'
%else
+%if 0%{?rhel}
+#currently MPI on rhel does not support MPI_THREAD_MULTIPLE
+%global testargs ARGS='-V -E mpi_interop'
+%else
%global testargs ARGS='-V'
%endif
+%endif
make -C serial test %{testargs}
%ifnarch s390x