Disable valgrind on AArch64
This commit is contained in:
parent
be6695c0d0
commit
01154c25c9
13
qm-dsp.spec
13
qm-dsp.spec
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Name: qm-dsp
|
Name: qm-dsp
|
||||||
Version: 1.7.1
|
Version: 1.7.1
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: Library for DSP and Music Informatics purposes
|
Summary: Library for DSP and Music Informatics purposes
|
||||||
|
|
||||||
# some source files with different original licenses, see README.txt
|
# some source files with different original licenses, see README.txt
|
||||||
@ -60,6 +60,8 @@ cat >> tests/Makefile <<EOF
|
|||||||
EOF
|
EOF
|
||||||
# unbundle kiss-fft
|
# unbundle kiss-fft
|
||||||
rm -rf ext/
|
rm -rf ext/
|
||||||
|
# helper Makefile without valgrind
|
||||||
|
sed -e 's/$(VG) //' tests/Makefile > tests/Makefile.novg
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -89,9 +91,13 @@ make install DESTDIR=%{buildroot} PREFIX=%{_prefix} LIBDIR=%{_libdir}
|
|||||||
BOOST_CPPFLAGS="-I%{_includedir}/boost148"
|
BOOST_CPPFLAGS="-I%{_includedir}/boost148"
|
||||||
BOOST_LDFLAGS="-L%{_libdir}/boost148"
|
BOOST_LDFLAGS="-L%{_libdir}/boost148"
|
||||||
%endif
|
%endif
|
||||||
|
# disable valgrind on AArch64
|
||||||
|
%ifarch aarch64
|
||||||
|
MAKE_ARGS='-f Makefile.novg'
|
||||||
|
%endif
|
||||||
CFLAGS="${BOOST_CPPFLAGS} %{?optflags} -Dkiss_fft_scalar=double" \
|
CFLAGS="${BOOST_CPPFLAGS} %{?optflags} -Dkiss_fft_scalar=double" \
|
||||||
LDFLAGS="${BOOST_LDFLAGS} %{?__global_ldflags} -lkiss_fft_double -lkiss_fftr_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
|
%files devel
|
||||||
@ -102,6 +108,9 @@ make %{?_smp_mflags} -C tests
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.1-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user