| |
@@ -11,8 +11,6 @@
|
| |
|
| |
%bcond_with debug
|
| |
|
| |
- %global blaslib openblas
|
| |
-
|
| |
# This package fails its testsuite with LTO. Disable LTO for now
|
| |
%define _lto_cflags %{nil}
|
| |
|
| |
@@ -22,19 +20,20 @@
|
| |
#%%global relsuf rc4
|
| |
|
| |
Name: openmeeg
|
| |
- Version: 2.4.7
|
| |
+ Version: 2.5.5
|
| |
Release: 1%{?dist}
|
| |
Summary: Low-frequency bio-electromagnetism solving forward problems in the field of EEG and MEG
|
| |
License: CeCILL-B
|
| |
URL: http://openmeeg.github.io/
|
| |
Source0: https://github.com/%{name}/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
|
| |
+ Patch0: %{name}-use_builtin_find_blas_lapack.patch
|
| |
|
| |
BuildRequires: make
|
| |
BuildRequires: cmake3
|
| |
BuildRequires: gcc-c++, git, chrpath
|
| |
BuildRequires: gnuplot, wget, graphviz
|
| |
BuildRequires: expat-devel
|
| |
- BuildRequires: %{blaslib}-devel
|
| |
+ BuildRequires: flexiblas-devel
|
| |
%{?fedora:BuildRequires: gifticlib-devel}
|
| |
%{?fedora:BuildRequires: nifticlib-devel}
|
| |
BuildRequires: zlib-devel
|
| |
@@ -69,8 +68,6 @@
|
| |
-DCMAKE_SKIP_RPATH:BOOL=YES \\\
|
| |
-DCMAKE_INSTALL_LIBDIR:PATH=%{_lib} \\\
|
| |
-DCMAKE_INSTALL_INCLUDEDIR:PATH=include/%{name} \\\
|
| |
- -DBLA_IMPLEMENTATION:STRING=OpenBLAS \\\
|
| |
- -DBLAS_openblas_LIBRARY:FILEPATH=%{_libdir}/libopenblas.so \\\
|
| |
-DUSE_OMP:BOOL=ON \\\
|
| |
%if %{with python} \
|
| |
-DENABLE_PYTHON:BOOL=ON \\\
|
| |
@@ -139,15 +136,13 @@
|
| |
%endif
|
| |
|
| |
%prep
|
| |
- %autosetup -n %{name}-%{version}
|
| |
+ %autosetup -p1 -n %{name}-%{version}
|
| |
|
| |
%build
|
| |
%if %{with debug}
|
| |
export CXXFLAGS="-O0 -g -fPIC"
|
| |
export CFLAGS="-O0 -g -fPIC"
|
| |
%endif
|
| |
- export CXXFLAGS="%{build_cxxflags} -I%{_includedir}/%{blaslib}"
|
| |
- export CFLAGS="%{build_cflags} -I%{_includedir}/%{blaslib}"
|
| |
%cmake %{openmeeg_cmake_options}
|
| |
%cmake_build
|
| |
|
| |
@@ -156,6 +151,7 @@
|
| |
|
| |
%if %{with check}
|
| |
%check
|
| |
+ export FLEXIBLAS=netlib
|
| |
export LD_LIBRARY_PATH=%{buildroot}%{_libdir}
|
| |
export PYTHONPATH=%{buildroot}%{python3_sitearch}
|
| |
%if %{with debug}
|
| |
@@ -191,6 +187,10 @@
|
| |
%endif
|
| |
|
| |
%changelog
|
| |
+ * Sun Aug 28 2022 Iñaki Úcar <iucar@fedoraproject.org> - 2.5.5-1
|
| |
+ - Release 2.5.5
|
| |
+ - Switch back to flexiblas rhbz#2121388
|
| |
+
|
| |
* Tue Jul 26 2022 Antonio Trande <sagitter@fedoraproject.org> - 2.4.7-1
|
| |
- Release 2.4.7
|
| |
- Disable vtk for rhbz#2104109
|
| |
It should be noted upstream that they are doing too many things: cmake finds BLAS and LAPACK implementations just fine, including FlexiBLAS since v3.19.