Disable valgrind on AArch64

This commit is contained in:
František Dvořák 2017-02-16 16:31:43 +01:00
parent be6695c0d0
commit 01154c25c9
1 changed files with 11 additions and 2 deletions

View File

@ -3,7 +3,7 @@
Name: qm-dsp
Version: 1.7.1
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Library for DSP and Music Informatics purposes
# some source files with different original licenses, see README.txt
@ -60,6 +60,8 @@ cat >> tests/Makefile <<EOF
EOF
# unbundle kiss-fft
rm -rf ext/
# helper Makefile without valgrind
sed -e 's/$(VG) //' tests/Makefile > tests/Makefile.novg
%build
@ -89,9 +91,13 @@ make install DESTDIR=%{buildroot} PREFIX=%{_prefix} LIBDIR=%{_libdir}
BOOST_CPPFLAGS="-I%{_includedir}/boost148"
BOOST_LDFLAGS="-L%{_libdir}/boost148"
%endif
# disable valgrind on AArch64
%ifarch aarch64
MAKE_ARGS='-f Makefile.novg'
%endif
CFLAGS="${BOOST_CPPFLAGS} %{?optflags} -Dkiss_fft_scalar=double" \
LDFLAGS="${BOOST_LDFLAGS} %{?__global_ldflags} -lkiss_fft_double -lkiss_fftr_double" \
make %{?_smp_mflags} -C tests
make %{?_smp_mflags} -C tests $MAKE_ARGS
%files devel
@ -102,6 +108,9 @@ make %{?_smp_mflags} -C tests
%changelog
* Thu Feb 16 2017 František Dvořák <valtri@civ.zcu.cz> - 1.7.1-3
- Disable valgrind on AArch64
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild