The package rpms/lammps.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/lammps.git/commit/?id=9280ea2f624....
Change:
+%ifnarch i686 armv7hl
Thanks.
Full change:
============
commit 9280ea2f62433e4e1c17d24ec396c1d676c07e25
Author: Christoph Junghans <junghans(a)votca.org>
Date: Wed Mar 4 17:19:43 2020 -0700
Version bump to 20200303 (bug #1810251) and enable kokkos
diff --git a/.gitignore b/.gitignore
index bd34653..e38a2a8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,3 +13,6 @@
/lammps-testing-827be7af84ca100d394ea1cf6d3bc49f6a8eef92.tar.gz
/lammps-stable_7Aug2019.tar.gz
/lammps-testing-d0394a77fa2b4b2d545a73ea092cf6de7616aac8.tar.gz
+/lammps-stable_3Mar2020.tar.gz
+/lammps-testing-e6a3a1989c0c2629c85ebef115bf3258a6347f48.tar.gz
+/lammps-testing-stable_3Mar2020.tar.gz
diff --git a/lammps.spec b/lammps.spec
index cfa424c..9c2eb5b 100644
--- a/lammps.spec
+++ b/lammps.spec
@@ -1,18 +1,17 @@
Name: lammps
-Version: 20190807
+Version: 20200303
%global uversion %(v=%{version}; \
months=( "" Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
); \
d=${v:6:2}; \
m=${v:4:2};
y=${v:0:4};
echo stable_${d#0}${months[${m#0}]}${y})
-Release: 4%{?dist}
+Release: 1%{?dist}
Summary: Molecular Dynamics Simulator
License: GPLv2
Url:
https://lammps.sandia.gov
Source0:
https://github.com/lammps/lammps/archive/%{uversion}.tar.gz#/%{name}-%{uv...
-%global tversion d0394a77fa2b4b2d545a73ea092cf6de7616aac8
-Source1:
https://github.com/lammps/lammps-testing/archive/%{tversion}.tar.gz#/%{na...
+Source1:
https://github.com/lammps/lammps-testing/archive/%{uversion}.tar.gz#/%{na...
BuildRequires: fftw-devel
BuildRequires: gcc-c++
BuildRequires: libpng-devel
@@ -31,6 +30,14 @@ BuildRequires: cmake3 >= 3.1
BuildRequires: ocl-icd-devel
BuildRequires: opencl-headers
BuildRequires: tbb-devel
+%if 0%{?fedora} >= 31
+%ifnarch i686 armv7hl
+%global with_kokkos 1
+# kokkos needs a lot of memory
+%global _smp_mflags -j1
+BuildRequires: kokkos-devel
+%endif
+%endif
Requires: %{name}-data
%global lammps_desc \
@@ -170,6 +177,7 @@ for mpi in '' mpich openmpi %{?el7:openmpi3} ; do
-DPKG_VORONOI=ON \
-DPKG_USER-ATC=ON \
-DPKG_USER-H5MD=ON \
+ %{?with_kokkos:-DPKG_KOKKOS=ON -DEXTERNAL_KOKKOS=ON} \
-DPKG_KIM=ON \
-DBUILD_TOOLS=ON \
-DENABLE_TESTING=ON \
@@ -194,8 +202,8 @@ done
for mpi in '' mpich openmpi %{?el7:openmpi3} ; do
%make_install -C ${mpi:-serial}
done
-# msi2lmp doesn't use mpi
-rm -v "%{buildroot}%{_libdir}"/*mpi*/bin/{msi2lmp,binary2txt}
"%{buildroot}%{_mandir}"/*mpi*/man1/msi2lmp.1*
+# msi2lmp and friends doesn't use mpi
+rm -v "%{buildroot}%{_libdir}"/*mpi*/bin/{msi2lmp,binary2txt,chain.x}
"%{buildroot}%{_mandir}"/*mpi*/man1/msi2lmp.1*
%check
. /etc/profile.d/modules.sh
@@ -216,6 +224,7 @@ done
%{_bindir}/msi2lmp
%{_mandir}/man1/msi2lmp.*
%{_bindir}/binary2txt
+%{_bindir}/chain.x
%files devel
%{_libdir}/liblammps.so
@@ -272,6 +281,9 @@ done
%config %{_sysconfdir}/profile.d/lammps.*
%changelog
+* Wed Mar 04 2020 Christoph Junghans <junghans(a)votca.org> - 20200303-1
+- Version bump to 20200303 (bug #1810251) and enable kokkos
+
* Wed Jan 29 2020 Fedora Release Engineering <releng(a)fedoraproject.org> -
20190807-4
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
diff --git a/sources b/sources
index baa56d1..6aa815e 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (lammps-stable_7Aug2019.tar.gz) =
b7ec1dfb57cfdbbcc49e4ef9cae472aeda60e8850501cab211444bb16ee20b7b8906ffaafb4c8ca710d761f0386e9e590a19401cff9f566b496b9f3cb2f71194
-SHA512 (lammps-testing-d0394a77fa2b4b2d545a73ea092cf6de7616aac8.tar.gz) =
4a980578ce584b5b9334b4177f4f9188f00ac50ca916ce63a4d2ef034a4fa218366a8f32cc7dc29dc99e6b01e40cf8c8bbf15566840fe07fc5c6c2e8c55ece93
+SHA512 (lammps-stable_3Mar2020.tar.gz) =
6608cd9f6ea18d8acb55d611a560cb4b329043b41aca23fafd91fac0dfbde5a5286e1a6563bd16b2414bb3bf95929e3a2f270a0b023ce5ede515eb3353d56f04
+SHA512 (lammps-testing-stable_3Mar2020.tar.gz) =
e3dc592ce57ae625eb66ddd9ca80d7bbaca57c47a07166a7196dcc3074b574a497e706da8baf93b5deacdf588702ceb141014533ac2aaccdd011836fb34943b9