- Fix detection of s390x as 64-bit arch (#1379632)
This commit is contained in:
parent
240b4cb9d0
commit
487f579414
13
tbb-2017-64bit.patch
Normal file
13
tbb-2017-64bit.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
diff -up tbb2017_20160916oss/build/linux.inc.s390x tbb2017_20160916oss/build/linux.inc
|
||||||
|
--- tbb2017_20160916oss/build/linux.inc.s390x 2016-10-07 13:54:30.422343446 +0200
|
||||||
|
+++ tbb2017_20160916oss/build/linux.inc 2016-10-07 13:54:53.002343446 +0200
|
||||||
|
@@ -102,6 +102,9 @@ endif
|
||||||
|
ifeq ($(arch),sparc)
|
||||||
|
def_prefix = lin64
|
||||||
|
endif
|
||||||
|
+ifeq ($(arch),s390x)
|
||||||
|
+ def_prefix = lin64
|
||||||
|
+endif
|
||||||
|
ifeq ($(arch),armv7)
|
||||||
|
def_prefix = lin32
|
||||||
|
endif
|
11
tbb.spec
11
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: 2.%{releasedate}%{?dist}
|
Release: 3.%{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,11 @@ 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
|
||||||
|
Patch4: tbb-2017-64bit.patch
|
||||||
|
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: python2-devel
|
BuildRequires: python2-devel
|
||||||
BuildRequires: swig
|
BuildRequires: swig
|
||||||
@ -98,6 +103,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 +228,9 @@ popd
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Oct 07 2016 Dan Horák <dan[at]danny.cz> - 2017-3.20160916
|
||||||
|
- Fix detection of s390x as 64-bit arch (#1379632)
|
||||||
|
|
||||||
* Fri Sep 30 2016 Jerry James <loganjerry@gmail.com> - 2017-2.20160916
|
* Fri Sep 30 2016 Jerry James <loganjerry@gmail.com> - 2017-2.20160916
|
||||||
- New upstream release
|
- New upstream release
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user