Architecture specific change in rpms/graphlcd-base.git
by githook-noreply@fedoraproject.org
The package rpms/graphlcd-base.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/graphlcd-base.git/commit/?id=0bc4....
Change:
+ExclusiveArch: i686 x86_64 armv7hl
Thanks.
Full change:
============
commit 0bc4a4a3505eee02c6afe840bfa211e23a25d7e2
Author: Martin Gansser <mgansser(a)online.de>
Date: Mon Nov 19 19:31:12 2018 +0100
Initial import (#1648426).
diff --git a/graphlcd-base.spec b/graphlcd-base.spec
index b5110d6..2157c0a 100644
--- a/graphlcd-base.spec
+++ b/graphlcd-base.spec
@@ -14,6 +14,8 @@ BuildRequires: perl-interpreter
BuildRequires: systemd
BuildRequires: zlib-devel
+ExclusiveArch: i686 x86_64 armv7hl
+
%description
The GraphLCD base is a project to support graphical LC displays. It is
mainly used by the graphlcd plugin for the Video Disc Recorder to
5 years, 5 months
Architecture specific change in rpms/graphlcd-base.git
by githook-noreply@fedoraproject.org
The package rpms/graphlcd-base.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/graphlcd-base.git/commit/?id=0bc4....
Change:
+ExclusiveArch: i686 x86_64 armv7hl
Thanks.
Full change:
============
commit 0bc4a4a3505eee02c6afe840bfa211e23a25d7e2
Author: Martin Gansser <mgansser(a)online.de>
Date: Mon Nov 19 19:31:12 2018 +0100
Initial import (#1648426).
diff --git a/graphlcd-base.spec b/graphlcd-base.spec
index b5110d6..2157c0a 100644
--- a/graphlcd-base.spec
+++ b/graphlcd-base.spec
@@ -14,6 +14,8 @@ BuildRequires: perl-interpreter
BuildRequires: systemd
BuildRequires: zlib-devel
+ExclusiveArch: i686 x86_64 armv7hl
+
%description
The GraphLCD base is a project to support graphical LC displays. It is
mainly used by the graphlcd plugin for the Video Disc Recorder to
5 years, 5 months
Architecture specific change in rpms/nextcloud-client.git
by githook-noreply@fedoraproject.org
The package rpms/nextcloud-client.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/nextcloud-client.git/commit/?id=c....
Change:
+ExcludeArch: ppc64 ppc64le s390x
Thanks.
Full change:
============
commit cda301d3bff1b3a0e0de312461bd1d6c241c4f68
Author: Germano Massullo <germano.massullo(a)gmail.com>
Date: Mon Nov 19 17:12:25 2018 +0100
ExcludeArch: ppc64 ppc64le s390
diff --git a/nextcloud-client.spec b/nextcloud-client.spec
index 1516c56..36319f2 100644
--- a/nextcloud-client.spec
+++ b/nextcloud-client.spec
@@ -2,7 +2,7 @@
Name: nextcloud-client
Version: 2.5.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: The Nextcloud Client
# -libs are LGPLv2+, rest GPLv2
@@ -54,6 +54,9 @@ Requires: %{name}-libs%{?_isa} = %{version}-%{release}
Provides: mirall = %{version}-%{release}
Obsoletes: mirall < 1.8.0
+# Read https://bugzilla.redhat.com/show_bug.cgi?id=1651261
+ExcludeArch: ppc64 ppc64le s390x
+
%description
Nextcloud-client enables you to connect to your private Nextcloud Server.
With it you can create folders in your home directory, and keep the contents
@@ -233,6 +236,9 @@ fi
%endif
%changelog
+* Mon Nov 19 2018 Germano Massullo <germano(a)germanomassullo.org> - 2.5.0-2
+- added ExcludeArch: ppc64, ppc64le, s390. Read https://bugzilla.redhat.com/show_bug.cgi?id=1651261
+
* Thu Nov 15 2018 Germano Massullo <germano(a)germanomassullo.org> - 2.5.0-1
- 2.5.0 release
5 years, 5 months
Architecture specific change in rpms/nextcloud-client.git
by githook-noreply@fedoraproject.org
The package rpms/nextcloud-client.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/nextcloud-client.git/commit/?id=c....
Change:
+ExcludeArch: ppc64 ppc64le s390x
Thanks.
Full change:
============
commit cda301d3bff1b3a0e0de312461bd1d6c241c4f68
Author: Germano Massullo <germano.massullo(a)gmail.com>
Date: Mon Nov 19 17:12:25 2018 +0100
ExcludeArch: ppc64 ppc64le s390
diff --git a/nextcloud-client.spec b/nextcloud-client.spec
index 1516c56..36319f2 100644
--- a/nextcloud-client.spec
+++ b/nextcloud-client.spec
@@ -2,7 +2,7 @@
Name: nextcloud-client
Version: 2.5.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: The Nextcloud Client
# -libs are LGPLv2+, rest GPLv2
@@ -54,6 +54,9 @@ Requires: %{name}-libs%{?_isa} = %{version}-%{release}
Provides: mirall = %{version}-%{release}
Obsoletes: mirall < 1.8.0
+# Read https://bugzilla.redhat.com/show_bug.cgi?id=1651261
+ExcludeArch: ppc64 ppc64le s390x
+
%description
Nextcloud-client enables you to connect to your private Nextcloud Server.
With it you can create folders in your home directory, and keep the contents
@@ -233,6 +236,9 @@ fi
%endif
%changelog
+* Mon Nov 19 2018 Germano Massullo <germano(a)germanomassullo.org> - 2.5.0-2
+- added ExcludeArch: ppc64, ppc64le, s390. Read https://bugzilla.redhat.com/show_bug.cgi?id=1651261
+
* Thu Nov 15 2018 Germano Massullo <germano(a)germanomassullo.org> - 2.5.0-1
- 2.5.0 release
5 years, 5 months
Architecture specific change in rpms/nextcloud-client.git
by githook-noreply@fedoraproject.org
The package rpms/nextcloud-client.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/nextcloud-client.git/commit/?id=c....
Change:
+ExcludeArch: ppc64 ppc64le s390x
Thanks.
Full change:
============
commit cda301d3bff1b3a0e0de312461bd1d6c241c4f68
Author: Germano Massullo <germano.massullo(a)gmail.com>
Date: Mon Nov 19 17:12:25 2018 +0100
ExcludeArch: ppc64 ppc64le s390
diff --git a/nextcloud-client.spec b/nextcloud-client.spec
index 1516c56..36319f2 100644
--- a/nextcloud-client.spec
+++ b/nextcloud-client.spec
@@ -2,7 +2,7 @@
Name: nextcloud-client
Version: 2.5.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: The Nextcloud Client
# -libs are LGPLv2+, rest GPLv2
@@ -54,6 +54,9 @@ Requires: %{name}-libs%{?_isa} = %{version}-%{release}
Provides: mirall = %{version}-%{release}
Obsoletes: mirall < 1.8.0
+# Read https://bugzilla.redhat.com/show_bug.cgi?id=1651261
+ExcludeArch: ppc64 ppc64le s390x
+
%description
Nextcloud-client enables you to connect to your private Nextcloud Server.
With it you can create folders in your home directory, and keep the contents
@@ -233,6 +236,9 @@ fi
%endif
%changelog
+* Mon Nov 19 2018 Germano Massullo <germano(a)germanomassullo.org> - 2.5.0-2
+- added ExcludeArch: ppc64, ppc64le, s390. Read https://bugzilla.redhat.com/show_bug.cgi?id=1651261
+
* Thu Nov 15 2018 Germano Massullo <germano(a)germanomassullo.org> - 2.5.0-1
- 2.5.0 release
5 years, 5 months
Architecture specific change in rpms/nextcloud-client.git
by githook-noreply@fedoraproject.org
The package rpms/nextcloud-client.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/nextcloud-client.git/commit/?id=c....
Change:
+ExcludeArch: ppc64 ppc64le s390x
Thanks.
Full change:
============
commit cda301d3bff1b3a0e0de312461bd1d6c241c4f68
Author: Germano Massullo <germano.massullo(a)gmail.com>
Date: Mon Nov 19 17:12:25 2018 +0100
ExcludeArch: ppc64 ppc64le s390
diff --git a/nextcloud-client.spec b/nextcloud-client.spec
index 1516c56..36319f2 100644
--- a/nextcloud-client.spec
+++ b/nextcloud-client.spec
@@ -2,7 +2,7 @@
Name: nextcloud-client
Version: 2.5.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: The Nextcloud Client
# -libs are LGPLv2+, rest GPLv2
@@ -54,6 +54,9 @@ Requires: %{name}-libs%{?_isa} = %{version}-%{release}
Provides: mirall = %{version}-%{release}
Obsoletes: mirall < 1.8.0
+# Read https://bugzilla.redhat.com/show_bug.cgi?id=1651261
+ExcludeArch: ppc64 ppc64le s390x
+
%description
Nextcloud-client enables you to connect to your private Nextcloud Server.
With it you can create folders in your home directory, and keep the contents
@@ -233,6 +236,9 @@ fi
%endif
%changelog
+* Mon Nov 19 2018 Germano Massullo <germano(a)germanomassullo.org> - 2.5.0-2
+- added ExcludeArch: ppc64, ppc64le, s390. Read https://bugzilla.redhat.com/show_bug.cgi?id=1651261
+
* Thu Nov 15 2018 Germano Massullo <germano(a)germanomassullo.org> - 2.5.0-1
- 2.5.0 release
5 years, 5 months
Architecture specific change in rpms/hpx.git
by githook-noreply@fedoraproject.org
The package rpms/hpx.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/hpx.git/commit/?id=8e30bc8059183b....
Change:
+%ifarch ppc64le aarch64
Thanks.
Full change:
============
commit 8e30bc8059183b2f2c08a3f47188d84230a32596
Author: Christoph Junghans <junghans(a)lanl.gov>
Date: Mon Nov 19 08:36:35 2018 -0700
Initial import (#1649874)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..dd872dc
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+/hpx-*.src.rpm
+/hpx_1.2.0.tar.gz
diff --git a/3551.patch b/3551.patch
new file mode 100644
index 0000000..22bd73d
--- /dev/null
+++ b/3551.patch
@@ -0,0 +1,88 @@
+From 5ffbb5fdcce82b8ba19efd9cc6a7bfcc0b62ba15 Mon Sep 17 00:00:00 2001
+From: John Biddiscombe <biddisco(a)cscs.ch>
+Date: Thu, 15 Nov 2018 11:49:21 +0100
+Subject: [PATCH] Fix uint64_t causing compilation fail on i686
+
+use std:: for all uint16_t and uint64_t throughout
+---
+ .../async_customization.cpp | 22 +++++++++----------
+ 1 file changed, 11 insertions(+), 11 deletions(-)
+
+diff --git a/examples/resource_partitioner/async_customization.cpp b/examples/resource_partitioner/async_customization.cpp
+index 16aca83b5a5..e6c6a61e004 100644
+--- a/examples/resource_partitioner/async_customization.cpp
++++ b/examples/resource_partitioner/async_customization.cpp
+@@ -29,7 +29,7 @@
+ #include "shared_priority_queue_scheduler.hpp"
+ //
+ #include <cstddef>
+-#include <cstddef>
++#include <cstdint>
+ #include <iostream>
+ #include <memory>
+ #include <string>
+@@ -382,11 +382,11 @@ int test(Executor &exec)
+ // test 3b
+ std::cout << "============================" << std::endl;
+ std::cout << "Test 3b : when_all(shared)" << std::endl;
+- future<uint64_t> fws1 = make_ready_future(uint64_t(42));
++ future<std::uint64_t> fws1 = make_ready_future(std::uint64_t(42));
+ shared_future<float> fws2 = make_ready_future(3.1415f).share();
+ //
+ auto fws = when_all(fws1, fws2).then(exec,
+- [](future<util::tuple<future<uint64_t>, shared_future<float>>> && f)
++ [](future<util::tuple<future<std::uint64_t>, shared_future<float>>> && f)
+ {
+ auto tup = f.get();
+ auto cmplx = std::complex<double>(
+@@ -401,13 +401,13 @@ int test(Executor &exec)
+ // test 4a
+ std::cout << "============================" << std::endl;
+ std::cout << "Test 4a : dataflow()" << std::endl;
+- future<uint16_t> f1 = make_ready_future(uint16_t(255));
++ future<std::uint16_t> f1 = make_ready_future(std::uint16_t(255));
+ future<double> f2 = make_ready_future(127.890);
+ //
+ auto fd = dataflow(exec,
+- [](future<uint16_t> && f1, future<double> && f2)
++ [](future<std::uint16_t> && f1, future<double> && f2)
+ {
+- auto cmplx = std::complex<uint64_t>(f1.get(), f2.get());
++ auto cmplx = std::complex<std::uint64_t>(f1.get(), f2.get());
+ std::cout << "Inside dataflow : " << cmplx << std::endl;
+ return cmplx;
+ }
+@@ -419,13 +419,13 @@ int test(Executor &exec)
+ // test 4b
+ std::cout << "============================" << std::endl;
+ std::cout << "Test 4b : dataflow(shared)" << std::endl;
+- future<uint16_t> fs1 = make_ready_future(uint16_t(255));
++ future<std::uint16_t> fs1 = make_ready_future(std::uint16_t(255));
+ shared_future<double> fs2 = make_ready_future(127.890).share();
+ //
+ auto fds = dataflow(exec,
+- [](future<uint16_t> && f1, shared_future<double> && f2)
++ [](future<std::uint16_t> && f1, shared_future<double> && f2)
+ {
+- auto cmplx = std::complex<uint64_t>(f1.get(), f2.get());
++ auto cmplx = std::complex<std::uint64_t>(f1.get(), f2.get());
+ std::cout << "Inside dataflow(shared) : " << cmplx << std::endl;
+ return cmplx;
+ }
+@@ -453,14 +453,14 @@ namespace hpx { namespace threads { namespace executors
+ std::cout << "Hint 2 \n";
+ return 0;
+ }
+- int operator()(const uint16_t, const double) const {
++ int operator()(const std::uint16_t, const double) const {
+ std::cout << "Hint 3 \n";
+ return 0;
+ }
+ int operator()(const util::tuple<future<int>, future<double>> &) const {
+ return 0;
+ }
+- int operator()(const util::tuple<future<long unsigned int>,
++ int operator()(const util::tuple<future<std::uint64_t>,
+ shared_future<float>> &) const
+ {
+ return 0;
diff --git a/hpx.spec b/hpx.spec
new file mode 100644
index 0000000..c937a5e
--- /dev/null
+++ b/hpx.spec
@@ -0,0 +1,256 @@
+Name: hpx
+Version: 1.2.0
+Release: 3%{?dist}
+Summary: General Purpose C++ Runtime System
+License: Boost
+URL: http://stellar.cct.lsu.edu/tag/hpx/
+Source0: http://stellar.cct.lsu.edu/files/%{name}_%{version}.tar.gz
+Patch0: https://github.com/STEllAR-GROUP/hpx/pull/3551.patch
+#hpx has no support for
+# https://github.com/STEllAR-GROUP/hpx/issues/3511
+ExcludeArch: s390x
+# https://github.com/STEllAR-GROUP/hpx/issues/3509
+ExcludeArch: armv7hl
+
+BuildRequires: gcc-c++ >= 4.9
+BuildRequires: gperftools-devel
+BuildRequires: boost-devel
+BuildRequires: hwloc-devel
+BuildRequires: cmake
+BuildRequires: fdupes
+
+
+%global hpx_desc \
+HPX is a general purpose C++ runtime system for parallel and distributed \
+applications of any scale. \
+\
+The goal of HPX is to create a high quality, freely available, \
+open source implementation of the ParalleX model for conventional systems, \
+such as classic Linux based Beowulf clusters or multi-socket highly parallel \
+SMP nodes. At the same time, we want to have a very modular and well designed \
+runtime system architecture which would allow us to port our implementation \
+onto new computer system architectures. We want to use real world applications\
+to drive the development of the runtime system, coining out required \
+functionality and converging onto a stable API which will provide a smooth \
+migration path for developers. The API exposed by HPX is modeled after the \
+interfaces defined by the C++11 ISO standard and adheres to the \
+programming guidelines used by the Boost collection of C++ libraries.
+
+%description
+%{hpx_desc}
+
+This package contains the libraries
+
+%package examples
+Summary: HPX examples
+Requires: hpx = %{version}-%{release}
+
+%description examples
+%{hpx_desc}
+
+This package contains the examples
+
+%package devel
+Summary: Development headers and libraries for hpx
+Group: Development/Libraries/C and C++
+Requires: hpx = %{version}-%{release}
+
+%description devel
+%{hpx_desc}
+
+This package contains development headers and libraries
+
+%package mpich
+Summary: HPX MPICH libraries
+Requires: mpich
+BuildRequires: mpich-devel
+
+%description mpich
+%{hpx_desc}
+
+This package contains the libraries
+
+%package mpich-examples
+Summary: HPX MPICH examples
+Requires: mpich
+Requires: hpx-mpich = %{version}-%{release}
+BuildRequires: mpich-devel
+
+%description mpich-examples
+%{hpx_desc}
+
+This package contains the examples
+
+%package mpich-devel
+Summary: Development headers and libraries for hpx
+Group: Development/Libraries/C and C++
+Requires: hpx-mpich = %{version}-%{release}
+
+%description mpich-devel
+%{hpx_desc}.
+
+This package contains development headers and libraries
+
+
+%package openmpi
+Summary: HPX Open MPI libraries
+Requires: openmpi
+BuildRequires: openmpi-devel
+
+%description openmpi
+%{hpx_desc}
+
+This package contains the libraries
+
+%package openmpi-examples
+Summary: HPX Open MPI examples
+Requires: openmpi
+Requires: hpx-openmpi = %{version}-%{release}
+BuildRequires: openmpi-devel
+
+%description openmpi-examples
+%{hpx_desc}.
+
+This package contains the examples
+
+
+%package openmpi-devel
+Summary: Development headers and libraries for hpx
+Group: Development/Libraries/C and C++
+Requires: hpx-openmpi = %{version}-%{release}
+
+%description openmpi-devel
+%{hpx_desc}
+
+This package contains development headers and libraries
+
+%prep
+%setup -n %{name}_%{version} -q
+%patch0 -p1
+
+%build
+# use generic context for these archs
+%ifarch aarch64 s390x armv7hl
+%define cmake_opts -DHPX_WITH_GENERIC_CONTEXT_COROUTINES=ON
+%endif
+
+# ppc64 do not have enough memory
+%ifarch ppc64le aarch64
+%global _smp_mflags -j1
+%endif
+
+. /etc/profile.d/modules.sh
+for mpi in '' openmpi mpich ; do
+ test -n "${mpi}" && module load mpi/${mpi}-%{_arch}
+ mkdir -p ${mpi:-serial}
+ pushd ${mpi:-serial}
+ test -n "${mpi}" && export CC=mpicc && export CXX=mpicxx
+ %{cmake} ${mpi:+-DHPX_WITH_PARCELPORT_MPI=ON} -DLIB=${MPI_LIB:-%{_lib}} %{?cmake_opts:%{cmake_opts}} ..
+ %make_build
+ test -n "${mpi}" && unset CC CXX
+ popd
+ test -n "${mpi}" && module unload mpi/${mpi}-%{_arch}
+done
+
+%install
+# do serial install last due to move of executables to _bindir
+. /etc/profile.d/modules.sh
+for mpi in openmpi mpich '' ; do
+ test -n "${mpi}" && module load mpi/${mpi}-%{_arch} && mkdir -p %{buildroot}/${MPI_BIN}
+ pushd ${mpi:-serial}
+ %make_install
+ sed -i '1s@env python@python2@' %{buildroot}/%{_bindir}/{hpx*.py,hpxcxx} %{buildroot}${MPI_LIB:-%{_libdir}}/cmake/HPX/templates/hpx{cxx,run.py}.in
+ chmod +x %{buildroot}${MPI_LIB:-%{_libdir}}/cmake/HPX/templates/hpx{cxx,run.py}.in
+ popd
+ pushd %{buildroot}/%{_bindir}
+ # rename executable with too generic names
+ for exe in *; do
+ test -n '${exe##hpx*}' && mv "${exe}" "hpx_${exe}"
+ done
+ popd
+ test -n "${mpi}" && mv %{buildroot}/%{_bindir}/* %{buildroot}/${MPI_BIN}/
+ test -n "${mpi}" && module unload mpi/${mpi}-%{_arch}
+done
+
+rm %{buildroot}/%{_datadir}/%{name}/LICENSE_1_0.txt
+%fdupes %{buildroot}%{_prefix}
+
+%check
+. /etc/profile.d/modules.sh
+for mpi in '' openmpi mpich ; do
+ test -n "${mpi}" && module load mpi/${mpi}-%{_arch}
+ make -C ${mpi:-serial} tests.examples
+ test -n "${mpi}" && module unload mpi/${mpi}-%{_arch}
+done
+
+%ldconfig_scriptlets
+
+%files
+%doc README.rst
+%license LICENSE_1_0.txt
+%{_libdir}/%{name}/
+%{_libdir}/lib*.so.*
+
+%files examples
+%doc README.rst
+%license LICENSE_1_0.txt
+%{_bindir}/*
+
+%files openmpi
+%doc README.rst
+%license LICENSE_1_0.txt
+%{_libdir}/openmpi*/lib/lib*.so.*
+%{_libdir}/openmpi*/lib/%{name}
+
+%files openmpi-examples
+%doc README.rst
+%license LICENSE_1_0.txt
+%{_libdir}/openmpi*/bin/*
+
+%files openmpi-devel
+%{_includedir}/%{name}
+%{_libdir}/openmpi*/lib/pkgconfig/*.pc
+%{_libdir}/openmpi*/lib/cmake/HPX
+%{_libdir}/openmpi*/lib/bazel
+%{_libdir}/openmpi*/lib/lib*.a
+%{_libdir}/openmpi*/lib/lib*.so*
+
+%files mpich
+%doc README.rst
+%license LICENSE_1_0.txt
+%{_libdir}/mpich*/lib/lib*.so.*
+%{_libdir}/mpich*/lib/%{name}
+
+%files mpich-examples
+%doc README.rst
+%license LICENSE_1_0.txt
+%{_libdir}/mpich*/bin/*
+
+%files mpich-devel
+%{_includedir}/%{name}
+%{_libdir}/mpich*/lib/pkgconfig/*.pc
+%{_libdir}/mpich*/lib/cmake/HPX
+%{_libdir}/mpich*/lib/bazel
+%{_libdir}/mpich*/lib/lib*.a
+%{_libdir}/mpich*/lib/lib*.so*
+
+%files devel
+%{_includedir}/%{name}
+%{_libdir}/pkgconfig/*.pc
+%{_libdir}/cmake/HPX
+%{_libdir}/bazel
+%{_libdir}/lib*.a
+%{_libdir}/lib*.so*
+
+%changelog
+* Fri Nov 16 2018 Christoph Junghans <junghans(a)votca.org> - 1.2.0-3
+- Disable parallel build for aarch64
+
+* Thu Nov 15 2018 Christoph Junghans <junghans(a)votca.org> - 1.2.0-2
+- Added upstream patch 3551.patch to fix build on i686
+
+* Wed Nov 14 2018 Christoph Junghans <junghans(a)votca.org> - 1.2.0-1
+- Version bump to hpx-1.2.0
+
+* Fri Nov 09 2018 Patrick Diehl <patrickdiehl(a)lsu.edu> - 1.2-0.1.rc1
+- Initial Release of HPX 1.2_rc1
diff --git a/sources b/sources
new file mode 100644
index 0000000..9ee8cbb
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (hpx_1.2.0.tar.gz) = e2dec9484490f5a5fa7d60f712989f70068bcddac643d8b730d2d52aa2a7e49260b28c3becd519925a8e96e9a703473f19955adce087061cf50b861f4fed8ab1
5 years, 5 months
Architecture specific change in rpms/hpx.git
by githook-noreply@fedoraproject.org
The package rpms/hpx.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/hpx.git/commit/?id=8e30bc8059183b....
Change:
+%ifarch ppc64le aarch64
Thanks.
Full change:
============
commit 8e30bc8059183b2f2c08a3f47188d84230a32596
Author: Christoph Junghans <junghans(a)lanl.gov>
Date: Mon Nov 19 08:36:35 2018 -0700
Initial import (#1649874)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..dd872dc
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+/hpx-*.src.rpm
+/hpx_1.2.0.tar.gz
diff --git a/3551.patch b/3551.patch
new file mode 100644
index 0000000..22bd73d
--- /dev/null
+++ b/3551.patch
@@ -0,0 +1,88 @@
+From 5ffbb5fdcce82b8ba19efd9cc6a7bfcc0b62ba15 Mon Sep 17 00:00:00 2001
+From: John Biddiscombe <biddisco(a)cscs.ch>
+Date: Thu, 15 Nov 2018 11:49:21 +0100
+Subject: [PATCH] Fix uint64_t causing compilation fail on i686
+
+use std:: for all uint16_t and uint64_t throughout
+---
+ .../async_customization.cpp | 22 +++++++++----------
+ 1 file changed, 11 insertions(+), 11 deletions(-)
+
+diff --git a/examples/resource_partitioner/async_customization.cpp b/examples/resource_partitioner/async_customization.cpp
+index 16aca83b5a5..e6c6a61e004 100644
+--- a/examples/resource_partitioner/async_customization.cpp
++++ b/examples/resource_partitioner/async_customization.cpp
+@@ -29,7 +29,7 @@
+ #include "shared_priority_queue_scheduler.hpp"
+ //
+ #include <cstddef>
+-#include <cstddef>
++#include <cstdint>
+ #include <iostream>
+ #include <memory>
+ #include <string>
+@@ -382,11 +382,11 @@ int test(Executor &exec)
+ // test 3b
+ std::cout << "============================" << std::endl;
+ std::cout << "Test 3b : when_all(shared)" << std::endl;
+- future<uint64_t> fws1 = make_ready_future(uint64_t(42));
++ future<std::uint64_t> fws1 = make_ready_future(std::uint64_t(42));
+ shared_future<float> fws2 = make_ready_future(3.1415f).share();
+ //
+ auto fws = when_all(fws1, fws2).then(exec,
+- [](future<util::tuple<future<uint64_t>, shared_future<float>>> && f)
++ [](future<util::tuple<future<std::uint64_t>, shared_future<float>>> && f)
+ {
+ auto tup = f.get();
+ auto cmplx = std::complex<double>(
+@@ -401,13 +401,13 @@ int test(Executor &exec)
+ // test 4a
+ std::cout << "============================" << std::endl;
+ std::cout << "Test 4a : dataflow()" << std::endl;
+- future<uint16_t> f1 = make_ready_future(uint16_t(255));
++ future<std::uint16_t> f1 = make_ready_future(std::uint16_t(255));
+ future<double> f2 = make_ready_future(127.890);
+ //
+ auto fd = dataflow(exec,
+- [](future<uint16_t> && f1, future<double> && f2)
++ [](future<std::uint16_t> && f1, future<double> && f2)
+ {
+- auto cmplx = std::complex<uint64_t>(f1.get(), f2.get());
++ auto cmplx = std::complex<std::uint64_t>(f1.get(), f2.get());
+ std::cout << "Inside dataflow : " << cmplx << std::endl;
+ return cmplx;
+ }
+@@ -419,13 +419,13 @@ int test(Executor &exec)
+ // test 4b
+ std::cout << "============================" << std::endl;
+ std::cout << "Test 4b : dataflow(shared)" << std::endl;
+- future<uint16_t> fs1 = make_ready_future(uint16_t(255));
++ future<std::uint16_t> fs1 = make_ready_future(std::uint16_t(255));
+ shared_future<double> fs2 = make_ready_future(127.890).share();
+ //
+ auto fds = dataflow(exec,
+- [](future<uint16_t> && f1, shared_future<double> && f2)
++ [](future<std::uint16_t> && f1, shared_future<double> && f2)
+ {
+- auto cmplx = std::complex<uint64_t>(f1.get(), f2.get());
++ auto cmplx = std::complex<std::uint64_t>(f1.get(), f2.get());
+ std::cout << "Inside dataflow(shared) : " << cmplx << std::endl;
+ return cmplx;
+ }
+@@ -453,14 +453,14 @@ namespace hpx { namespace threads { namespace executors
+ std::cout << "Hint 2 \n";
+ return 0;
+ }
+- int operator()(const uint16_t, const double) const {
++ int operator()(const std::uint16_t, const double) const {
+ std::cout << "Hint 3 \n";
+ return 0;
+ }
+ int operator()(const util::tuple<future<int>, future<double>> &) const {
+ return 0;
+ }
+- int operator()(const util::tuple<future<long unsigned int>,
++ int operator()(const util::tuple<future<std::uint64_t>,
+ shared_future<float>> &) const
+ {
+ return 0;
diff --git a/hpx.spec b/hpx.spec
new file mode 100644
index 0000000..c937a5e
--- /dev/null
+++ b/hpx.spec
@@ -0,0 +1,256 @@
+Name: hpx
+Version: 1.2.0
+Release: 3%{?dist}
+Summary: General Purpose C++ Runtime System
+License: Boost
+URL: http://stellar.cct.lsu.edu/tag/hpx/
+Source0: http://stellar.cct.lsu.edu/files/%{name}_%{version}.tar.gz
+Patch0: https://github.com/STEllAR-GROUP/hpx/pull/3551.patch
+#hpx has no support for
+# https://github.com/STEllAR-GROUP/hpx/issues/3511
+ExcludeArch: s390x
+# https://github.com/STEllAR-GROUP/hpx/issues/3509
+ExcludeArch: armv7hl
+
+BuildRequires: gcc-c++ >= 4.9
+BuildRequires: gperftools-devel
+BuildRequires: boost-devel
+BuildRequires: hwloc-devel
+BuildRequires: cmake
+BuildRequires: fdupes
+
+
+%global hpx_desc \
+HPX is a general purpose C++ runtime system for parallel and distributed \
+applications of any scale. \
+\
+The goal of HPX is to create a high quality, freely available, \
+open source implementation of the ParalleX model for conventional systems, \
+such as classic Linux based Beowulf clusters or multi-socket highly parallel \
+SMP nodes. At the same time, we want to have a very modular and well designed \
+runtime system architecture which would allow us to port our implementation \
+onto new computer system architectures. We want to use real world applications\
+to drive the development of the runtime system, coining out required \
+functionality and converging onto a stable API which will provide a smooth \
+migration path for developers. The API exposed by HPX is modeled after the \
+interfaces defined by the C++11 ISO standard and adheres to the \
+programming guidelines used by the Boost collection of C++ libraries.
+
+%description
+%{hpx_desc}
+
+This package contains the libraries
+
+%package examples
+Summary: HPX examples
+Requires: hpx = %{version}-%{release}
+
+%description examples
+%{hpx_desc}
+
+This package contains the examples
+
+%package devel
+Summary: Development headers and libraries for hpx
+Group: Development/Libraries/C and C++
+Requires: hpx = %{version}-%{release}
+
+%description devel
+%{hpx_desc}
+
+This package contains development headers and libraries
+
+%package mpich
+Summary: HPX MPICH libraries
+Requires: mpich
+BuildRequires: mpich-devel
+
+%description mpich
+%{hpx_desc}
+
+This package contains the libraries
+
+%package mpich-examples
+Summary: HPX MPICH examples
+Requires: mpich
+Requires: hpx-mpich = %{version}-%{release}
+BuildRequires: mpich-devel
+
+%description mpich-examples
+%{hpx_desc}
+
+This package contains the examples
+
+%package mpich-devel
+Summary: Development headers and libraries for hpx
+Group: Development/Libraries/C and C++
+Requires: hpx-mpich = %{version}-%{release}
+
+%description mpich-devel
+%{hpx_desc}.
+
+This package contains development headers and libraries
+
+
+%package openmpi
+Summary: HPX Open MPI libraries
+Requires: openmpi
+BuildRequires: openmpi-devel
+
+%description openmpi
+%{hpx_desc}
+
+This package contains the libraries
+
+%package openmpi-examples
+Summary: HPX Open MPI examples
+Requires: openmpi
+Requires: hpx-openmpi = %{version}-%{release}
+BuildRequires: openmpi-devel
+
+%description openmpi-examples
+%{hpx_desc}.
+
+This package contains the examples
+
+
+%package openmpi-devel
+Summary: Development headers and libraries for hpx
+Group: Development/Libraries/C and C++
+Requires: hpx-openmpi = %{version}-%{release}
+
+%description openmpi-devel
+%{hpx_desc}
+
+This package contains development headers and libraries
+
+%prep
+%setup -n %{name}_%{version} -q
+%patch0 -p1
+
+%build
+# use generic context for these archs
+%ifarch aarch64 s390x armv7hl
+%define cmake_opts -DHPX_WITH_GENERIC_CONTEXT_COROUTINES=ON
+%endif
+
+# ppc64 do not have enough memory
+%ifarch ppc64le aarch64
+%global _smp_mflags -j1
+%endif
+
+. /etc/profile.d/modules.sh
+for mpi in '' openmpi mpich ; do
+ test -n "${mpi}" && module load mpi/${mpi}-%{_arch}
+ mkdir -p ${mpi:-serial}
+ pushd ${mpi:-serial}
+ test -n "${mpi}" && export CC=mpicc && export CXX=mpicxx
+ %{cmake} ${mpi:+-DHPX_WITH_PARCELPORT_MPI=ON} -DLIB=${MPI_LIB:-%{_lib}} %{?cmake_opts:%{cmake_opts}} ..
+ %make_build
+ test -n "${mpi}" && unset CC CXX
+ popd
+ test -n "${mpi}" && module unload mpi/${mpi}-%{_arch}
+done
+
+%install
+# do serial install last due to move of executables to _bindir
+. /etc/profile.d/modules.sh
+for mpi in openmpi mpich '' ; do
+ test -n "${mpi}" && module load mpi/${mpi}-%{_arch} && mkdir -p %{buildroot}/${MPI_BIN}
+ pushd ${mpi:-serial}
+ %make_install
+ sed -i '1s@env python@python2@' %{buildroot}/%{_bindir}/{hpx*.py,hpxcxx} %{buildroot}${MPI_LIB:-%{_libdir}}/cmake/HPX/templates/hpx{cxx,run.py}.in
+ chmod +x %{buildroot}${MPI_LIB:-%{_libdir}}/cmake/HPX/templates/hpx{cxx,run.py}.in
+ popd
+ pushd %{buildroot}/%{_bindir}
+ # rename executable with too generic names
+ for exe in *; do
+ test -n '${exe##hpx*}' && mv "${exe}" "hpx_${exe}"
+ done
+ popd
+ test -n "${mpi}" && mv %{buildroot}/%{_bindir}/* %{buildroot}/${MPI_BIN}/
+ test -n "${mpi}" && module unload mpi/${mpi}-%{_arch}
+done
+
+rm %{buildroot}/%{_datadir}/%{name}/LICENSE_1_0.txt
+%fdupes %{buildroot}%{_prefix}
+
+%check
+. /etc/profile.d/modules.sh
+for mpi in '' openmpi mpich ; do
+ test -n "${mpi}" && module load mpi/${mpi}-%{_arch}
+ make -C ${mpi:-serial} tests.examples
+ test -n "${mpi}" && module unload mpi/${mpi}-%{_arch}
+done
+
+%ldconfig_scriptlets
+
+%files
+%doc README.rst
+%license LICENSE_1_0.txt
+%{_libdir}/%{name}/
+%{_libdir}/lib*.so.*
+
+%files examples
+%doc README.rst
+%license LICENSE_1_0.txt
+%{_bindir}/*
+
+%files openmpi
+%doc README.rst
+%license LICENSE_1_0.txt
+%{_libdir}/openmpi*/lib/lib*.so.*
+%{_libdir}/openmpi*/lib/%{name}
+
+%files openmpi-examples
+%doc README.rst
+%license LICENSE_1_0.txt
+%{_libdir}/openmpi*/bin/*
+
+%files openmpi-devel
+%{_includedir}/%{name}
+%{_libdir}/openmpi*/lib/pkgconfig/*.pc
+%{_libdir}/openmpi*/lib/cmake/HPX
+%{_libdir}/openmpi*/lib/bazel
+%{_libdir}/openmpi*/lib/lib*.a
+%{_libdir}/openmpi*/lib/lib*.so*
+
+%files mpich
+%doc README.rst
+%license LICENSE_1_0.txt
+%{_libdir}/mpich*/lib/lib*.so.*
+%{_libdir}/mpich*/lib/%{name}
+
+%files mpich-examples
+%doc README.rst
+%license LICENSE_1_0.txt
+%{_libdir}/mpich*/bin/*
+
+%files mpich-devel
+%{_includedir}/%{name}
+%{_libdir}/mpich*/lib/pkgconfig/*.pc
+%{_libdir}/mpich*/lib/cmake/HPX
+%{_libdir}/mpich*/lib/bazel
+%{_libdir}/mpich*/lib/lib*.a
+%{_libdir}/mpich*/lib/lib*.so*
+
+%files devel
+%{_includedir}/%{name}
+%{_libdir}/pkgconfig/*.pc
+%{_libdir}/cmake/HPX
+%{_libdir}/bazel
+%{_libdir}/lib*.a
+%{_libdir}/lib*.so*
+
+%changelog
+* Fri Nov 16 2018 Christoph Junghans <junghans(a)votca.org> - 1.2.0-3
+- Disable parallel build for aarch64
+
+* Thu Nov 15 2018 Christoph Junghans <junghans(a)votca.org> - 1.2.0-2
+- Added upstream patch 3551.patch to fix build on i686
+
+* Wed Nov 14 2018 Christoph Junghans <junghans(a)votca.org> - 1.2.0-1
+- Version bump to hpx-1.2.0
+
+* Fri Nov 09 2018 Patrick Diehl <patrickdiehl(a)lsu.edu> - 1.2-0.1.rc1
+- Initial Release of HPX 1.2_rc1
diff --git a/sources b/sources
new file mode 100644
index 0000000..9ee8cbb
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (hpx_1.2.0.tar.gz) = e2dec9484490f5a5fa7d60f712989f70068bcddac643d8b730d2d52aa2a7e49260b28c3becd519925a8e96e9a703473f19955adce087061cf50b861f4fed8ab1
5 years, 5 months
Architecture specific change in rpms/hpx.git
by githook-noreply@fedoraproject.org
The package rpms/hpx.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/hpx.git/commit/?id=8e30bc8059183b....
Change:
+%ifarch ppc64le aarch64
Thanks.
Full change:
============
commit 8e30bc8059183b2f2c08a3f47188d84230a32596
Author: Christoph Junghans <junghans(a)lanl.gov>
Date: Mon Nov 19 08:36:35 2018 -0700
Initial import (#1649874)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..dd872dc
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+/hpx-*.src.rpm
+/hpx_1.2.0.tar.gz
diff --git a/3551.patch b/3551.patch
new file mode 100644
index 0000000..22bd73d
--- /dev/null
+++ b/3551.patch
@@ -0,0 +1,88 @@
+From 5ffbb5fdcce82b8ba19efd9cc6a7bfcc0b62ba15 Mon Sep 17 00:00:00 2001
+From: John Biddiscombe <biddisco(a)cscs.ch>
+Date: Thu, 15 Nov 2018 11:49:21 +0100
+Subject: [PATCH] Fix uint64_t causing compilation fail on i686
+
+use std:: for all uint16_t and uint64_t throughout
+---
+ .../async_customization.cpp | 22 +++++++++----------
+ 1 file changed, 11 insertions(+), 11 deletions(-)
+
+diff --git a/examples/resource_partitioner/async_customization.cpp b/examples/resource_partitioner/async_customization.cpp
+index 16aca83b5a5..e6c6a61e004 100644
+--- a/examples/resource_partitioner/async_customization.cpp
++++ b/examples/resource_partitioner/async_customization.cpp
+@@ -29,7 +29,7 @@
+ #include "shared_priority_queue_scheduler.hpp"
+ //
+ #include <cstddef>
+-#include <cstddef>
++#include <cstdint>
+ #include <iostream>
+ #include <memory>
+ #include <string>
+@@ -382,11 +382,11 @@ int test(Executor &exec)
+ // test 3b
+ std::cout << "============================" << std::endl;
+ std::cout << "Test 3b : when_all(shared)" << std::endl;
+- future<uint64_t> fws1 = make_ready_future(uint64_t(42));
++ future<std::uint64_t> fws1 = make_ready_future(std::uint64_t(42));
+ shared_future<float> fws2 = make_ready_future(3.1415f).share();
+ //
+ auto fws = when_all(fws1, fws2).then(exec,
+- [](future<util::tuple<future<uint64_t>, shared_future<float>>> && f)
++ [](future<util::tuple<future<std::uint64_t>, shared_future<float>>> && f)
+ {
+ auto tup = f.get();
+ auto cmplx = std::complex<double>(
+@@ -401,13 +401,13 @@ int test(Executor &exec)
+ // test 4a
+ std::cout << "============================" << std::endl;
+ std::cout << "Test 4a : dataflow()" << std::endl;
+- future<uint16_t> f1 = make_ready_future(uint16_t(255));
++ future<std::uint16_t> f1 = make_ready_future(std::uint16_t(255));
+ future<double> f2 = make_ready_future(127.890);
+ //
+ auto fd = dataflow(exec,
+- [](future<uint16_t> && f1, future<double> && f2)
++ [](future<std::uint16_t> && f1, future<double> && f2)
+ {
+- auto cmplx = std::complex<uint64_t>(f1.get(), f2.get());
++ auto cmplx = std::complex<std::uint64_t>(f1.get(), f2.get());
+ std::cout << "Inside dataflow : " << cmplx << std::endl;
+ return cmplx;
+ }
+@@ -419,13 +419,13 @@ int test(Executor &exec)
+ // test 4b
+ std::cout << "============================" << std::endl;
+ std::cout << "Test 4b : dataflow(shared)" << std::endl;
+- future<uint16_t> fs1 = make_ready_future(uint16_t(255));
++ future<std::uint16_t> fs1 = make_ready_future(std::uint16_t(255));
+ shared_future<double> fs2 = make_ready_future(127.890).share();
+ //
+ auto fds = dataflow(exec,
+- [](future<uint16_t> && f1, shared_future<double> && f2)
++ [](future<std::uint16_t> && f1, shared_future<double> && f2)
+ {
+- auto cmplx = std::complex<uint64_t>(f1.get(), f2.get());
++ auto cmplx = std::complex<std::uint64_t>(f1.get(), f2.get());
+ std::cout << "Inside dataflow(shared) : " << cmplx << std::endl;
+ return cmplx;
+ }
+@@ -453,14 +453,14 @@ namespace hpx { namespace threads { namespace executors
+ std::cout << "Hint 2 \n";
+ return 0;
+ }
+- int operator()(const uint16_t, const double) const {
++ int operator()(const std::uint16_t, const double) const {
+ std::cout << "Hint 3 \n";
+ return 0;
+ }
+ int operator()(const util::tuple<future<int>, future<double>> &) const {
+ return 0;
+ }
+- int operator()(const util::tuple<future<long unsigned int>,
++ int operator()(const util::tuple<future<std::uint64_t>,
+ shared_future<float>> &) const
+ {
+ return 0;
diff --git a/hpx.spec b/hpx.spec
new file mode 100644
index 0000000..c937a5e
--- /dev/null
+++ b/hpx.spec
@@ -0,0 +1,256 @@
+Name: hpx
+Version: 1.2.0
+Release: 3%{?dist}
+Summary: General Purpose C++ Runtime System
+License: Boost
+URL: http://stellar.cct.lsu.edu/tag/hpx/
+Source0: http://stellar.cct.lsu.edu/files/%{name}_%{version}.tar.gz
+Patch0: https://github.com/STEllAR-GROUP/hpx/pull/3551.patch
+#hpx has no support for
+# https://github.com/STEllAR-GROUP/hpx/issues/3511
+ExcludeArch: s390x
+# https://github.com/STEllAR-GROUP/hpx/issues/3509
+ExcludeArch: armv7hl
+
+BuildRequires: gcc-c++ >= 4.9
+BuildRequires: gperftools-devel
+BuildRequires: boost-devel
+BuildRequires: hwloc-devel
+BuildRequires: cmake
+BuildRequires: fdupes
+
+
+%global hpx_desc \
+HPX is a general purpose C++ runtime system for parallel and distributed \
+applications of any scale. \
+\
+The goal of HPX is to create a high quality, freely available, \
+open source implementation of the ParalleX model for conventional systems, \
+such as classic Linux based Beowulf clusters or multi-socket highly parallel \
+SMP nodes. At the same time, we want to have a very modular and well designed \
+runtime system architecture which would allow us to port our implementation \
+onto new computer system architectures. We want to use real world applications\
+to drive the development of the runtime system, coining out required \
+functionality and converging onto a stable API which will provide a smooth \
+migration path for developers. The API exposed by HPX is modeled after the \
+interfaces defined by the C++11 ISO standard and adheres to the \
+programming guidelines used by the Boost collection of C++ libraries.
+
+%description
+%{hpx_desc}
+
+This package contains the libraries
+
+%package examples
+Summary: HPX examples
+Requires: hpx = %{version}-%{release}
+
+%description examples
+%{hpx_desc}
+
+This package contains the examples
+
+%package devel
+Summary: Development headers and libraries for hpx
+Group: Development/Libraries/C and C++
+Requires: hpx = %{version}-%{release}
+
+%description devel
+%{hpx_desc}
+
+This package contains development headers and libraries
+
+%package mpich
+Summary: HPX MPICH libraries
+Requires: mpich
+BuildRequires: mpich-devel
+
+%description mpich
+%{hpx_desc}
+
+This package contains the libraries
+
+%package mpich-examples
+Summary: HPX MPICH examples
+Requires: mpich
+Requires: hpx-mpich = %{version}-%{release}
+BuildRequires: mpich-devel
+
+%description mpich-examples
+%{hpx_desc}
+
+This package contains the examples
+
+%package mpich-devel
+Summary: Development headers and libraries for hpx
+Group: Development/Libraries/C and C++
+Requires: hpx-mpich = %{version}-%{release}
+
+%description mpich-devel
+%{hpx_desc}.
+
+This package contains development headers and libraries
+
+
+%package openmpi
+Summary: HPX Open MPI libraries
+Requires: openmpi
+BuildRequires: openmpi-devel
+
+%description openmpi
+%{hpx_desc}
+
+This package contains the libraries
+
+%package openmpi-examples
+Summary: HPX Open MPI examples
+Requires: openmpi
+Requires: hpx-openmpi = %{version}-%{release}
+BuildRequires: openmpi-devel
+
+%description openmpi-examples
+%{hpx_desc}.
+
+This package contains the examples
+
+
+%package openmpi-devel
+Summary: Development headers and libraries for hpx
+Group: Development/Libraries/C and C++
+Requires: hpx-openmpi = %{version}-%{release}
+
+%description openmpi-devel
+%{hpx_desc}
+
+This package contains development headers and libraries
+
+%prep
+%setup -n %{name}_%{version} -q
+%patch0 -p1
+
+%build
+# use generic context for these archs
+%ifarch aarch64 s390x armv7hl
+%define cmake_opts -DHPX_WITH_GENERIC_CONTEXT_COROUTINES=ON
+%endif
+
+# ppc64 do not have enough memory
+%ifarch ppc64le aarch64
+%global _smp_mflags -j1
+%endif
+
+. /etc/profile.d/modules.sh
+for mpi in '' openmpi mpich ; do
+ test -n "${mpi}" && module load mpi/${mpi}-%{_arch}
+ mkdir -p ${mpi:-serial}
+ pushd ${mpi:-serial}
+ test -n "${mpi}" && export CC=mpicc && export CXX=mpicxx
+ %{cmake} ${mpi:+-DHPX_WITH_PARCELPORT_MPI=ON} -DLIB=${MPI_LIB:-%{_lib}} %{?cmake_opts:%{cmake_opts}} ..
+ %make_build
+ test -n "${mpi}" && unset CC CXX
+ popd
+ test -n "${mpi}" && module unload mpi/${mpi}-%{_arch}
+done
+
+%install
+# do serial install last due to move of executables to _bindir
+. /etc/profile.d/modules.sh
+for mpi in openmpi mpich '' ; do
+ test -n "${mpi}" && module load mpi/${mpi}-%{_arch} && mkdir -p %{buildroot}/${MPI_BIN}
+ pushd ${mpi:-serial}
+ %make_install
+ sed -i '1s@env python@python2@' %{buildroot}/%{_bindir}/{hpx*.py,hpxcxx} %{buildroot}${MPI_LIB:-%{_libdir}}/cmake/HPX/templates/hpx{cxx,run.py}.in
+ chmod +x %{buildroot}${MPI_LIB:-%{_libdir}}/cmake/HPX/templates/hpx{cxx,run.py}.in
+ popd
+ pushd %{buildroot}/%{_bindir}
+ # rename executable with too generic names
+ for exe in *; do
+ test -n '${exe##hpx*}' && mv "${exe}" "hpx_${exe}"
+ done
+ popd
+ test -n "${mpi}" && mv %{buildroot}/%{_bindir}/* %{buildroot}/${MPI_BIN}/
+ test -n "${mpi}" && module unload mpi/${mpi}-%{_arch}
+done
+
+rm %{buildroot}/%{_datadir}/%{name}/LICENSE_1_0.txt
+%fdupes %{buildroot}%{_prefix}
+
+%check
+. /etc/profile.d/modules.sh
+for mpi in '' openmpi mpich ; do
+ test -n "${mpi}" && module load mpi/${mpi}-%{_arch}
+ make -C ${mpi:-serial} tests.examples
+ test -n "${mpi}" && module unload mpi/${mpi}-%{_arch}
+done
+
+%ldconfig_scriptlets
+
+%files
+%doc README.rst
+%license LICENSE_1_0.txt
+%{_libdir}/%{name}/
+%{_libdir}/lib*.so.*
+
+%files examples
+%doc README.rst
+%license LICENSE_1_0.txt
+%{_bindir}/*
+
+%files openmpi
+%doc README.rst
+%license LICENSE_1_0.txt
+%{_libdir}/openmpi*/lib/lib*.so.*
+%{_libdir}/openmpi*/lib/%{name}
+
+%files openmpi-examples
+%doc README.rst
+%license LICENSE_1_0.txt
+%{_libdir}/openmpi*/bin/*
+
+%files openmpi-devel
+%{_includedir}/%{name}
+%{_libdir}/openmpi*/lib/pkgconfig/*.pc
+%{_libdir}/openmpi*/lib/cmake/HPX
+%{_libdir}/openmpi*/lib/bazel
+%{_libdir}/openmpi*/lib/lib*.a
+%{_libdir}/openmpi*/lib/lib*.so*
+
+%files mpich
+%doc README.rst
+%license LICENSE_1_0.txt
+%{_libdir}/mpich*/lib/lib*.so.*
+%{_libdir}/mpich*/lib/%{name}
+
+%files mpich-examples
+%doc README.rst
+%license LICENSE_1_0.txt
+%{_libdir}/mpich*/bin/*
+
+%files mpich-devel
+%{_includedir}/%{name}
+%{_libdir}/mpich*/lib/pkgconfig/*.pc
+%{_libdir}/mpich*/lib/cmake/HPX
+%{_libdir}/mpich*/lib/bazel
+%{_libdir}/mpich*/lib/lib*.a
+%{_libdir}/mpich*/lib/lib*.so*
+
+%files devel
+%{_includedir}/%{name}
+%{_libdir}/pkgconfig/*.pc
+%{_libdir}/cmake/HPX
+%{_libdir}/bazel
+%{_libdir}/lib*.a
+%{_libdir}/lib*.so*
+
+%changelog
+* Fri Nov 16 2018 Christoph Junghans <junghans(a)votca.org> - 1.2.0-3
+- Disable parallel build for aarch64
+
+* Thu Nov 15 2018 Christoph Junghans <junghans(a)votca.org> - 1.2.0-2
+- Added upstream patch 3551.patch to fix build on i686
+
+* Wed Nov 14 2018 Christoph Junghans <junghans(a)votca.org> - 1.2.0-1
+- Version bump to hpx-1.2.0
+
+* Fri Nov 09 2018 Patrick Diehl <patrickdiehl(a)lsu.edu> - 1.2-0.1.rc1
+- Initial Release of HPX 1.2_rc1
diff --git a/sources b/sources
new file mode 100644
index 0000000..9ee8cbb
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (hpx_1.2.0.tar.gz) = e2dec9484490f5a5fa7d60f712989f70068bcddac643d8b730d2d52aa2a7e49260b28c3becd519925a8e96e9a703473f19955adce087061cf50b861f4fed8ab1
5 years, 5 months
Architecture specific change in rpms/php-pecl-redis4.git
by githook-noreply@fedoraproject.org
The package rpms/php-pecl-redis4.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/php-pecl-redis4.git/commit/?id=b6....
Change:
+%ifarch s390x
Thanks.
Full change:
============
commit b6108a9001c61a4905d2590f0e31ff3eebf317ee
Author: Remi Collet <remi(a)fedoraproject.org>
Date: Mon Nov 19 09:15:39 2018 +0100
v4.2.0
temporarily disable test suite on s390x
(cherry picked from commit 34b43954710c96ec36b78a3eb39e688db74b3ce6)
(cherry picked from commit 5d8c2e08a7338464a55c8ebccfff3e81080e628c)
(cherry picked from commit 8e80a3aad2fab3527d80c0adeaa3d9448e2eb354)
(cherry picked from commit d9b89514f3f849c4ba4818403877cb5890e331dc)
diff --git a/.gitignore b/.gitignore
index bf746be..033a685 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@ clog
/redis-4.0.2.tgz
/redis-4.1.0.tgz
/redis-4.1.1.tgz
+/redis-4.2.0.tgz
diff --git a/php-pecl-redis4.spec b/php-pecl-redis4.spec
index a051b27..cf73aeb 100644
--- a/php-pecl-redis4.spec
+++ b/php-pecl-redis4.spec
@@ -15,15 +15,19 @@
%global pecl_name redis
%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}}
+%ifarch s390x
+%global with_tests 0%{?_with_tests:1}
+%else
%global with_tests 0%{!?_without_tests:1}
+%endif
# after 40-igbinary
%global ini_name 50-%{pecl_name}.ini
-%global upstream_version 4.1.1
+%global upstream_version 4.2.0
#global upstream_prever RC2
Summary: Extension for communicating with the Redis key-value store
Name: php-pecl-redis4
-Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}}
+Version: %{upstream_version}
Release: 1%{?dist}
Source0: http://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_preve...
License: PHP
@@ -112,26 +116,26 @@ extension = %{pecl_name}.so
;session.save_path = "tcp://host1:6379?weight=1, tcp://host2:6379?weight=2&timeout=2.5, tcp://host3:6379?weight=2"
; Configuration
-;redis.arrays.autorehash = ''
-;redis.arrays.connecttimeout = ''
+;redis.arrays.autorehash = 0
+;redis.arrays.connecttimeout = 0
;redis.arrays.distributor = ''
;redis.arrays.functions = ''
;redis.arrays.hosts = ''
-;redis.arrays.index = ''
-;redis.arrays.lazyconnect = ''
+;redis.arrays.index = 0
+;redis.arrays.lazyconnect = 0
;redis.arrays.names = ''
-;redis.arrays.pconnect = ''
+;redis.arrays.pconnect = 0
;redis.arrays.previous = ''
-;redis.arrays.readtimeout = ''
-;redis.arrays.retryinterval = ''
-;redis.clusters.persistent = ''
-;redis.clusters.read_timeout = ''
+;redis.arrays.readtimeout = 0
+;redis.arrays.retryinterval = 0
+;redis.clusters.persistent = 0
+;redis.clusters.read_timeout = 0
;redis.clusters.seeds = ''
-;redis.clusters.timeout = ''
-;redis.session.locking_enabled = ''
-;redis.session.lock_expire = ''
-;redis.session.lock_retries = ''
-;redis.session.lock_wait_time = ''
+;redis.clusters.timeout = 0
+;redis.session.locking_enabled = 0
+;redis.session.lock_expire = 0
+;redis.session.lock_retries = 10
+;redis.session.lock_wait_time = 2000
EOF
@@ -252,6 +256,10 @@ exit $ret
%changelog
+* Sun Nov 18 2018 Remi Collet <remi(a)remirepo.net> - 4.2.0-1
+- update to 4.2.0 (stable)
+- temporarily disable test suite on s390x
+
* Fri Aug 17 2018 Remi Collet <remi(a)remirepo.net> - 4.1.1-1
- update to 4.1.1 (stable)
diff --git a/sources b/sources
index 2b5e0ec..00e4fd5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (redis-4.1.1.tgz) = f4cc438c81c8b5119889be1004ac1b3ac689554a31ad81516ce50249fa748c225883413da687f15a00279eff0269e5d4c992809f8d88cc49e848def511d3e623
+SHA512 (redis-4.2.0.tgz) = a7f290e3b74e1f37375cfaeafb013eae708a9c4047904467a4a272868ac22a11d39a2f2b462ba708605744f1fae89836909d041d51c1138993c48a6619de9fe6
5 years, 5 months