From afccc2b66f0dcff4a034bf9a7ebc7fc788f51f4d Mon Sep 17 00:00:00 2001 From: Iñaki Úcar Date: Aug 27 2020 12:40:25 +0000 Subject: https://fedoraproject.org/wiki/Changes/FlexiBLAS_as_BLAS/LAPACK_manager --- diff --git a/gmsh.spec b/gmsh.spec index 70edd50..fceb9d3 100644 --- a/gmsh.spec +++ b/gmsh.spec @@ -1,10 +1,14 @@ %bcond_without openmpi %bcond_without mpich +%if 0%{?fedora} >= 33 +%bcond_without flexiblas +%endif + Name: gmsh Summary: A three-dimensional finite element mesh generator Version: 4.6.0 -Release: 4%{?dist} +Release: 5%{?dist} # gmsh is GPLv2+ with exceptions, see LICENSE.txt # contrib/{DiscreteIntegration, HighOrderMeshOptimizer, MeshOptimizer, onelab} are MIT, see respective README.txt @@ -32,7 +36,11 @@ Patch6: gmsh_unbundle_gl2ps.patch BuildRequires: alglib-devel BuildRequires: ann-devel -BuildRequires: blas-devel +%if %{with flexiblas} +BuildRequires: flexiblas-devel +%else +BuildRequires: blas-devel, lapack-devel +%endif BuildRequires: cgnslib-devel BuildRequires: cmake BuildRequires: desktop-file-utils @@ -42,7 +50,6 @@ BuildRequires: gcc-gfortran BuildRequires: gmm-devel BuildRequires: gmp-devel BuildRequires: hdf5-devel -BuildRequires: lapack-devel BuildRequires: libjpeg-turbo-devel BuildRequires: liblbfgs-devel BuildRequires: libpng-devel @@ -229,6 +236,7 @@ done # blossoms is nonfree, see contrib/blossoms/README.txt gmsh_cmake_args="\ + %{?with_flexiblas:-DBLAS_LIBRARIES=-lflexiblas} \ -DENABLE_SYSTEM_CONTRIB=YES \ -DENABLE_BUILD_LIB=YES \ -DENABLE_BUILD_SHARED=YES \ @@ -387,6 +395,9 @@ rm -f %{buildroot}%{_defaultdocdir}/%{name}/LICENSE.txt %changelog +* Thu Aug 27 2020 Iñaki Úcar - 4.6.0-5 +- https://fedoraproject.org/wiki/Changes/FlexiBLAS_as_BLAS/LAPACK_manager + * Sat Aug 01 21:40:30 GMT 2020 Sandro Mani - 4.6.0-4 - Rebuild (med)