- Fix detection of s390x as 64-bit arch (#1379632)
This commit is contained in:
parent
dd40a9968c
commit
1bfc727e9d
15
tbb-2017-64bit.patch
Normal file
15
tbb-2017-64bit.patch
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
diff -up tbb2017_20161128oss/build/linux.inc.s390x tbb2017_20161128oss/build/linux.inc
|
||||||
|
--- tbb2017_20161128oss/build/linux.inc.s390x 2016-11-29 15:24:54.000000000 +0100
|
||||||
|
+++ tbb2017_20161128oss/build/linux.inc 2017-01-02 10:28:44.000000000 +0100
|
||||||
|
@@ -99,7 +99,10 @@ SONAME_SUFFIX =$(shell grep TBB_COMPATIB
|
||||||
|
ifeq ($(arch),ia64)
|
||||||
|
def_prefix = lin64ipf
|
||||||
|
endif
|
||||||
|
-ifeq ($(arch),sparc s390x)
|
||||||
|
+ifeq ($(arch),sparc)
|
||||||
|
+ def_prefix = lin64
|
||||||
|
+endif
|
||||||
|
+ifeq ($(arch),s390x)
|
||||||
|
def_prefix = lin64
|
||||||
|
endif
|
||||||
|
ifeq ($(arch),armv7)
|
12
tbb.spec
12
tbb.spec
@ -7,7 +7,7 @@
|
|||||||
Name: tbb
|
Name: tbb
|
||||||
Summary: The Threading Building Blocks library abstracts low-level threading details
|
Summary: The Threading Building Blocks library abstracts low-level threading details
|
||||||
Version: 2017
|
Version: 2017
|
||||||
Release: 6.%{releasedate}%{?dist}
|
Release: 7.%{releasedate}%{?dist}
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
URL: http://threadingbuildingblocks.org/
|
URL: http://threadingbuildingblocks.org/
|
||||||
@ -35,6 +35,12 @@ Patch2: tbb-4.0-mfence.patch
|
|||||||
# Related: https://bugzilla.redhat.com/show_bug.cgi?id=1037347
|
# Related: https://bugzilla.redhat.com/show_bug.cgi?id=1037347
|
||||||
Patch3: tbb-4.3-dont-snip-Wall.patch
|
Patch3: tbb-4.3-dont-snip-Wall.patch
|
||||||
|
|
||||||
|
# Fix detection of s390x as 64-bit arch, it affects the version script used
|
||||||
|
# for symbols in the public library
|
||||||
|
# Related: https://bugzilla.redhat.com/show_bug.cgi?id=1379632
|
||||||
|
# Upstream report: https://github.com/01org/tbb/issues/9
|
||||||
|
Patch4: tbb-2017-64bit.patch
|
||||||
|
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: python2-devel
|
BuildRequires: python2-devel
|
||||||
BuildRequires: swig
|
BuildRequires: swig
|
||||||
@ -98,6 +104,7 @@ Python 3 TBB module.
|
|||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
%patch3 -p1
|
%patch3 -p1
|
||||||
|
%patch4 -p1
|
||||||
|
|
||||||
# For repeatable builds, don't query the hostname or architecture
|
# For repeatable builds, don't query the hostname or architecture
|
||||||
sed -i 's/`hostname -s`" ("`uname -m`/fedorabuild" ("%{_arch}/' \
|
sed -i 's/`hostname -s`" ("`uname -m`/fedorabuild" ("%{_arch}/' \
|
||||||
@ -222,6 +229,9 @@ popd
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jan 02 2017 Dan Horák <dan[at]danny.cz> - 2017-7.20161128
|
||||||
|
- Fix detection of s390x as 64-bit arch (#1379632)
|
||||||
|
|
||||||
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 2017-6.20161128
|
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 2017-6.20161128
|
||||||
- Rebuild for Python 3.6
|
- Rebuild for Python 3.6
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user