Sync from SUSE:SLFO:Main metis revision 664290689a9ac6afb84a423a43244ce3
This commit is contained in:
parent
d30827a7f4
commit
d24142f37a
@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 3 07:48:00 UTC 2024 - Bernhard Wiedemann <bwiedemann@suse.com>
|
||||
|
||||
- Cleanup after tests
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 23 10:17:53 UTC 2024 - pgajdos@suse.com
|
||||
|
||||
- Use %autosetup macro. Allows to eliminate the usage of deprecated
|
||||
%patchN
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 23 16:31:17 UTC 2020 - Egbert Eich <eich@suse.com>
|
||||
|
||||
|
@ -198,10 +198,7 @@ graph files you can use to test Metis.
|
||||
|
||||
%prep
|
||||
%{?with_hpc: %hpc_debug}
|
||||
%setup -q -n %{pname}-%{version}
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
%autosetup -p1 -n %{pname}-%{version}
|
||||
|
||||
# set width (32 or 64 bits) of the elementary data type, see Install.txt
|
||||
sed -i 's|#define IDXTYPEWIDTH 32|#define IDXTYPEWIDTH %{__isa_bits}|' include/metis.h
|
||||
@ -272,6 +269,8 @@ LD_LIBRARY_PATH=%{buildroot}%{p_libdir}:$LD_LIBRARY_PATH %{buildroot}%{p_bindir}
|
||||
LD_LIBRARY_PATH=%{buildroot}%{p_libdir}:$LD_LIBRARY_PATH %{buildroot}%{p_bindir}/gpmetis copter2.graph 4
|
||||
LD_LIBRARY_PATH=%{buildroot}%{p_libdir}:$LD_LIBRARY_PATH %{buildroot}%{p_bindir}/graphchk 4elt.graph
|
||||
popd
|
||||
cd graphs # cleanup after tests:
|
||||
rm test.mgraph.part.4 metis.mesh.epart.2 metis.mesh.npart.2 copter2.graph.part.4 mdual.graph.iperm
|
||||
|
||||
%if %{without hpc}
|
||||
%post -n %libname -p /sbin/ldconfig
|
||||
|
Loading…
Reference in New Issue
Block a user