|
|
|
@ -1,6 +1,3 @@
|
|
|
|
|
%global do_mem_tests 0
|
|
|
|
|
%global do_perf_tests 0
|
|
|
|
|
|
|
|
|
|
Name: mdds
|
|
|
|
|
Version: 0.6.0
|
|
|
|
|
Release: 0%{?dist}
|
|
|
|
@ -12,9 +9,6 @@ URL: http://code.google.com/p/multidimalgorithm/
|
|
|
|
|
Source0: http://multidimalgorithm.googlecode.com/files/%{name}_%{version}.tar.bz2
|
|
|
|
|
|
|
|
|
|
BuildRequires: boost-devel
|
|
|
|
|
%if %{do_mem_tests}
|
|
|
|
|
BuildRequires: valgrind
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
@ -61,17 +55,6 @@ make %{?_smp_mflags}
|
|
|
|
|
for t in fst pqt recset st; do
|
|
|
|
|
make test.$t
|
|
|
|
|
done
|
|
|
|
|
%if %{do_perf_tests}
|
|
|
|
|
for t in recset st; do
|
|
|
|
|
make test.$t.perf
|
|
|
|
|
done
|
|
|
|
|
make test.stl
|
|
|
|
|
%endif
|
|
|
|
|
%if %{do_mem_tests}
|
|
|
|
|
for t in fst pqt recset st; do
|
|
|
|
|
make test.$t.mem
|
|
|
|
|
done
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|