Accepting request 232305 from devel:tools

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/232305
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/valgrind?expand=0&rev=84
This commit is contained in:
Stephan Kulow 2014-05-02 17:21:24 +00:00 committed by Git OBS Bridge
commit a4c37ca662
4 changed files with 97610 additions and 2 deletions

33056
aarch64-VEX-support.diff Normal file

File diff suppressed because it is too large Load Diff

64531
aarch64-support.diff Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Apr 24 08:45:51 UTC 2014 - dmueller@suse.com
- add aarch64-support.diff, aarch64-VEX-support.diff: aarch64 support
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Feb 18 14:33:22 UTC 2014 - dmueller@suse.com Tue Feb 18 14:33:22 UTC 2014 - dmueller@suse.com

View File

@ -44,6 +44,8 @@ Patch3: valgrind-3.9.0-merge.patches.from.Paul.McKenney.patch
Patch4: valgrind-3.9.0-ppc64le-abiv2.patch Patch4: valgrind-3.9.0-ppc64le-abiv2.patch
Patch5: glibc-2.19.patch Patch5: glibc-2.19.patch
Patch6: r2798.diff Patch6: r2798.diff
Patch7: aarch64-support.diff
Patch8: aarch64-VEX-support.diff
# during building the major version of glibc is built into the suppression file # during building the major version of glibc is built into the suppression file
%define glibc_main_version %(getconf GNU_LIBC_VERSION | cut -d' ' -f2 | cut -d. -f1) %define glibc_main_version %(getconf GNU_LIBC_VERSION | cut -d' ' -f2 | cut -d. -f1)
%define glibc_major_version %(getconf GNU_LIBC_VERSION | cut -d' ' -f2 | cut -d. -f2) %define glibc_major_version %(getconf GNU_LIBC_VERSION | cut -d' ' -f2 | cut -d. -f2)
@ -54,7 +56,7 @@ Provides: valgrind-devel = %version
%endif %endif
Provides: callgrind = %version Provides: callgrind = %version
Obsoletes: callgrind < %version Obsoletes: callgrind < %version
ExclusiveArch: %ix86 x86_64 ppc ppc64 ppc64le s390x armv7l armv7hl armv6l armv6hl ExclusiveArch: aarch64 %ix86 x86_64 ppc ppc64 ppc64le s390x armv7l armv7hl armv6l armv6hl
%if %suse_version > 1100 %if %suse_version > 1100
%define building_docs 1 %define building_docs 1
%else %else
@ -139,13 +141,20 @@ Authors:
%prep %prep
%setup -q -n %{name}-%{version} %setup -q -n %{name}-%{version}
cd VEX cd VEX
%ifarch aarch64
%patch8
%endif
cd .. cd ..
%patch1 %patch1
%patch2 %patch2
%patch3 -p1 %patch3 -p1
%patch4 -p1 %patch4 -p1
%ifarch aarch64
%patch7
%else
%patch5 -p1 %patch5 -p1
%patch6 %patch6
%endif
%build %build
%ifarch %arm %ifarch %arm
@ -161,7 +170,11 @@ export CXXFLAGS="$RPM_OPT_FLAGS"
autoreconf -fi autoreconf -fi
%endif %endif
export GDB=/usr/bin/gdb export GDB=/usr/bin/gdb
%configure %configure \
%ifarch aarch64
--enable-only64bit
%endif
make %{?jobs:-j%jobs} make %{?jobs:-j%jobs}
%if %building_docs %if %building_docs
pushd docs pushd docs
@ -186,6 +199,9 @@ cp -a README* NEWS AUTHORS COPYING COPYING.DOCS $RPM_BUILD_ROOT/%_defaultdocdir/
%doc %_defaultdocdir/%name %doc %_defaultdocdir/%name
%doc %_mandir/*/* %doc %_mandir/*/*
%dir %_libdir/valgrind %dir %_libdir/valgrind
%ifarch aarch64
%_libdir/valgrind/*-arm64-linux
%endif
%ifarch x86_64 %ifarch x86_64
%_libdir/valgrind/*-amd64-linux %_libdir/valgrind/*-amd64-linux
%endif %endif