The package rpms/espresso.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/espresso.git/commit/?id=22f3a14b9220....
Change: +ExcludeArch: ppc64le
Thanks.
Full change: ============
commit 2319bab04332fcafc1e36974c5519f8a044fd5e8 Author: Christoph Junghans junghans@votca.org Date: Wed Sep 5 21:19:23 2018 -0600
remove obsolete 1830.patch
diff --git a/1830.patch b/1830.patch deleted file mode 100644 index 2dff7c1..0000000 --- a/1830.patch +++ /dev/null @@ -1,22 +0,0 @@ -From a2930e0281cee8cbe073b1eb9ce14af11e6a2a55 Mon Sep 17 00:00:00 2001 -From: Christoph Junghans junghans@votca.org -Date: Sun, 4 Feb 2018 15:03:38 -0700 -Subject: [PATCH] cmake: fix install and soversion of EspressoConfig - ---- - src/core/CMakeLists.txt | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt -index bf4add2561..37902a46bb 100644 ---- a/src/core/CMakeLists.txt -+++ b/src/core/CMakeLists.txt -@@ -26,6 +26,8 @@ add_custom_command(OUTPUT config-version.cpp - # Custom target for everything that needs to be triggered when the myconfig changes - add_library(EspressoConfig SHARED config-features.cpp) - add_dependencies(EspressoConfig myconfig check_myconfig) -+install(TARGETS EspressoConfig LIBRARY DESTINATION ${LIBDIR}) -+set_target_properties(EspressoConfig PROPERTIES SOVERSION ${SOVERSION}) - - add_library(EspressoCore SHARED ${EspressoCore_SRC} config-version.cpp) - install(TARGETS EspressoCore LIBRARY DESTINATION ${LIBDIR})
commit 22f3a14b9220d71e336b948d39e491225c0e661c Author: Christoph Junghans junghans@votca.org Date: Wed Sep 5 21:18:04 2018 -0600
epel7 fixes
diff --git a/espresso.spec b/espresso.spec index f2ac877..dff9ae3 100644 --- a/espresso.spec +++ b/espresso.spec @@ -33,8 +33,19 @@ Source0: https://github.com/%%7Bname%7Dmd/%%7Bname%7D/releases/download/%%7Bversion%7...
BuildRequires: gcc-c++ -BuildRequires: cmake +%if 0%{?rhel} +BuildRequires: cmake3 >= 3.0 +BuildRequires: python%{python3_pkgversion}-Cython +BuildRequires: python%{python3_pkgversion}-setuptools +%global cython /usr/bin/cython%{python3_version} +# no boost-mpi* for ppc64le on epel7 +ExcludeArch: ppc64le +%else +BuildRequires: cmake >= 3.0 +%global cmake3 %{cmake} BuildRequires: /usr/bin/cython +%global cython /usr/bin/cython +%endif BuildRequires: fftw-devel BuildRequires: python%{python3_pkgversion}-numpy BuildRequires: python%{python3_pkgversion}-devel @@ -135,20 +146,19 @@ mkdir openmpi_build mpich_build -DWITH_TESTS=ON \\ -DCMAKE_SKIP_RPATH:BOOL=ON \\ -DCMAKE_SKIP_BUILD_RPATH:BOOL=ON \\ - -DINSTALL_PYPRESSO=OFF + -DINSTALL_PYPRESSO=OFF \\ + -DCYTHON_EXECUTABLE=%{cython}
#save some memory using -j1 %define _smp_mflags -j1
# Build OpenMPI version -#see #756141 to understand why MPI_C_LIBRARIES needs to be set %{_openmpi_load} pushd openmpi_build -%{cmake} \ +%{cmake3} \ %{defopts} \ -DLIBDIR=${MPI_LIB} \ - -DPYTHON_INSTDIR=${MPI_PYTHON3_SITEARCH} \ - -DMPI_C_LIBRARIES=${MPI_LIB}/libmpi.so \ + -DPYTHON_INSTDIR=%{python3_sitearch}/openmpi \ .. %make_build popd @@ -157,11 +167,10 @@ popd # Build mpich version %{_mpich_load} pushd mpich_build -%{cmake} \ +%{cmake3} \ %{defopts} \ -DLIBDIR=${MPI_LIB} \ - -DPYTHON_INSTDIR=${MPI_PYTHON3_SITEARCH} \ - -DMPI_C_LIBRARIES=${MPI_LIB}/libmpi.so \ + -DPYTHON_INSTDIR=%{python3_sitearch}/mpich \ .. %make_build popd
arch-excludes@lists.fedoraproject.org