From e01023bb81e535eecebb83ee2686a1da55a412d7 Mon Sep 17 00:00:00 2001 From: Antonio Trande Date: Tue, 18 Apr 2023 18:30:00 +0200 Subject: [PATCH] Enable tests --- petsc.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/petsc.spec b/petsc.spec index 233a8c0..acd39c5 100644 --- a/petsc.spec +++ b/petsc.spec @@ -687,7 +687,9 @@ export FC=mpifort %if %{with metis} --with-metis=1 \ %endif +%if %{?__isa_bits:%{__isa_bits}}%{!?__isa_bits:32} == 64 --with-64-bit-indices=0 \ +%endif %if %{with blas} %if 0%{?fedora} || 0%{?rhel} >= 9 --with-blaslapack=1 --with-blaslapack-lib=-l%{blaslib}%{blasvar} --with-blaslapack-include=%{_includedir}/%{blaslib} \ @@ -728,7 +730,9 @@ export FC=mpifort %if %{with metis} --with-metis=1 \ %endif +%if %{?__isa_bits:%{__isa_bits}}%{!?__isa_bits:32} == 64 --with-64-bit-indices=0 \ +%endif %if %{with blas} %if 0%{?fedora} || 0%{?rhel} >= 9 --with-blaslapack=1 --with-blaslapack-lib=-l%{blaslib}%{blasvar} --with-blaslapack-include=%{_includedir}/%{blaslib} \