Fix ELN builds
This commit is contained in:
parent
bf2bc91829
commit
0634fc9786
13
petsc.spec
13
petsc.spec
@ -279,7 +279,7 @@
|
||||
Name: petsc
|
||||
Summary: Portable Extensible Toolkit for Scientific Computation
|
||||
Version: %{releasever}.0
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
License: BSD
|
||||
URL: https://www.mcs.anl.gov/petsc
|
||||
Source0: https://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-with-docs-%{version}.tar.gz
|
||||
@ -634,7 +634,7 @@ pushd %{name}-%{version}
|
||||
%{petsc_build_options} \
|
||||
--with-64-bit-indices=0 \
|
||||
%if %{with blas}
|
||||
%if 0%{?fedora} >= 33
|
||||
%if 0%{?fedora} >= 33 || 0%{?rhel} >= 9
|
||||
--with-blaslapack=1 --with-blaslapack-lib=-l%{blaslib}%{blasvar} --with-blaslapack-include=%{_includedir}/%{blaslib} \
|
||||
%else
|
||||
--with-openblas=1 --with-openblas-lib=-l%{blaslib}%{blasvar} --with-openblas-include=%{_includedir}/%{blaslib} \
|
||||
@ -674,7 +674,7 @@ pushd build64
|
||||
--with-metis=1 \
|
||||
%endif
|
||||
%if %{with blas64}
|
||||
%if 0%{?fedora} >= 33
|
||||
%if 0%{?fedora} >= 33 || 0%{?rhel} >= 9
|
||||
--with-blaslapack=1 --with-blaslapack-lib=-l%{blaslib}%{blasvar}64 --with-blaslapack-include=%{_includedir}/%{blaslib} \
|
||||
%else
|
||||
--with-openblas=1 --with-openblas-lib=-l%{blaslib}%{blasvar}64 --with-openblas-include=%{_includedir}/%{blaslib} \
|
||||
@ -706,7 +706,7 @@ pushd buildopenmpi_dir
|
||||
%endif
|
||||
--with-64-bit-indices=0 \
|
||||
%if %{with blas}
|
||||
%if 0%{?fedora} >= 33
|
||||
%if 0%{?fedora} >= 33 || 0%{?rhel} >= 9
|
||||
--with-blaslapack=1 --with-blaslapack-lib=-l%{blaslib}%{blasvar} --with-blaslapack-include=%{_includedir}/%{blaslib} \
|
||||
%else
|
||||
--with-openblas=1 --with-openblas-lib=-l%{blaslib}%{blasvar} --with-openblas-include=%{_includedir}/%{blaslib} \
|
||||
@ -744,7 +744,7 @@ pushd buildmpich_dir
|
||||
%endif
|
||||
--with-64-bit-indices=0 \
|
||||
%if %{with blas}
|
||||
%if 0%{?fedora} >= 33
|
||||
%if 0%{?fedora} >= 33 || 0%{?rhel} >= 9
|
||||
--with-blaslapack=1 --with-blaslapack-lib=-l%{blaslib}%{blasvar} --with-blaslapack-include=%{_includedir}/%{blaslib} \
|
||||
%else
|
||||
--with-openblas=1 --with-openblas-lib=-l%{blaslib}%{blasvar} --with-openblas-include=%{_includedir}/%{blaslib} \
|
||||
@ -1146,6 +1146,9 @@ xvfb-run -a make all test -C build64 V=1 MPIEXEC='%{_builddir}/%{name}-%{version
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Mon Jun 14 2021 Antonio Trande <sagitter@fedoraproject.org> - 3.15.0-5
|
||||
- Fix ELN builds
|
||||
|
||||
* Thu Jun 10 2021 Python Maint <python-maint@redhat.com> - 3.15.0-4
|
||||
- Patched and rebuilt for Python 3.10 (rhbz#1959088)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user