| |
@@ -1,6 +1,12 @@
|
| |
#global _rcname rc1
|
| |
#global _rc -%%_rcname
|
| |
|
| |
+ %if 0%{?fedora} >= 33
|
| |
+ %global blaslib flexiblas
|
| |
+ %else
|
| |
+ %global blaslib openblas
|
| |
+ %endif
|
| |
+
|
| |
%global with_opencl 1
|
| |
# compilation of OpenCL support is failing only on ppc64le (retested 15 Feb 2019)
|
| |
# only 64-bit archs: https://redmine.gromacs.org/issues/2821
|
| |
@@ -31,7 +37,7 @@
|
| |
|
| |
Name: gromacs
|
| |
Version: 2019.6
|
| |
- Release: 6%{?dist}
|
| |
+ Release: 7%{?dist}
|
| |
Summary: Fast, Free and Flexible Molecular Dynamics
|
| |
License: GPLv2+
|
| |
URL: http://www.gromacs.org
|
| |
@@ -50,7 +56,7 @@
|
| |
Patch2: test_timeout.patch
|
| |
BuildRequires: gcc-c++
|
| |
BuildRequires: cmake3 >= 3.4.3
|
| |
- BuildRequires: openblas-devel
|
| |
+ BuildRequires: %{blaslib}-devel
|
| |
BuildRequires: fftw-devel
|
| |
BuildRequires: gsl-devel
|
| |
BuildRequires: hwloc
|
| |
@@ -248,13 +254,13 @@
|
| |
-DBUILD_TESTING:BOOL=ON \\\
|
| |
-DCMAKE_SKIP_RPATH:BOOL=ON \\\
|
| |
-DCMAKE_SKIP_BUILD_RPATH:BOOL=ON \\\
|
| |
- -DGMX_BLAS_USER=openblas \\\
|
| |
+ -DGMX_BLAS_USER=%{blaslib} \\\
|
| |
-DGMX_BUILD_UNITTESTS:BOOL=ON \\\
|
| |
-DGMX_EXTERNAL_LMFIT:BOOL=ON \\\
|
| |
-DGMX_USE_LMFIT=external \\\
|
| |
-DGMX_EXTERNAL_TNG:BOOL=ON \\\
|
| |
-DGMX_EXTERNAL_TINYXML2:BOOL=OFF \\\
|
| |
- -DGMX_LAPACK_USER=openblas \\\
|
| |
+ -DGMX_LAPACK_USER=%{blaslib} \\\
|
| |
-DGMX_USE_RDTSCP=OFF \\\
|
| |
-DGMX_SIMD=%{simd}
|
| |
|
| |
@@ -380,6 +386,9 @@
|
| |
%{_libdir}/mpich/bin/mdrun_mpich*
|
| |
|
| |
%changelog
|
| |
+ * Wed Aug 12 2020 Iñaki Úcar <iucar@fedoraproject.org> - 2019.6-7
|
| |
+ - https://fedoraproject.org/wiki/Changes/FlexiBLAS_as_BLAS/LAPACK_manager
|
| |
+
|
| |
* Mon Aug 03 2020 Christoph Junghans <junghans@votca.org> - 2019.6-6
|
| |
- Fix out-of-source build on F33 (bug #1863834)
|
| |
|
| |
This PR is part of a F33 System-Wide Change Proposal that aims to set FlexiBLAS
as the default BLAS/LAPACK manager for all consumers of these APIs. For further
information, see https://fedoraproject.org/wiki/Changes/FlexiBLAS_as_BLAS/LAPACK_manager
You'll find a successful scratch build for this PR in
https://koji.fedoraproject.org/koji/taskinfo?taskID=49164974
I kindly ask you to merge this PR and build the package in rawhide and F33. Please,
report any issues you may found in https://bugzilla.redhat.com/show_bug.cgi?id=1860504