-
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/tbb?expand=0&rev=9
This commit is contained in:
parent
182291d39c
commit
3def0cc19b
8
tbb.spec
8
tbb.spec
@ -26,10 +26,9 @@ Group: System/Libraries
|
|||||||
Url: https://www.threadingbuildingblocks.org/
|
Url: https://www.threadingbuildingblocks.org/
|
||||||
Source0: https://www.threadingbuildingblocks.org/sites/default/files/software_releases/source/tbb%{version}oss_src_0.tgz
|
Source0: https://www.threadingbuildingblocks.org/sites/default/files/software_releases/source/tbb%{version}oss_src_0.tgz
|
||||||
# PATCH-FIX-OPENSUSE optflags.patch -- Use rpm optflags
|
# PATCH-FIX-OPENSUSE optflags.patch -- Use rpm optflags
|
||||||
Patch0: optflags.patch
|
Patch1: optflags.patch
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
#ExclusiveArch: %ix86 ia64 x86_64 ppc ppc64
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Threading Building Blocks (TBB) offers a rich and complete approach to
|
Threading Building Blocks (TBB) offers a rich and complete approach to
|
||||||
@ -86,7 +85,7 @@ This package contains the header files needed for development with tbb.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}%{version}oss
|
%setup -q -n %{name}%{version}oss
|
||||||
%patch0
|
%patch1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make OPTFLAGS="%{optflags}" %{?_smp_mflags} tbb_build_prefix=obj
|
make OPTFLAGS="%{optflags}" %{?_smp_mflags} tbb_build_prefix=obj
|
||||||
@ -104,7 +103,10 @@ pushd build/obj_release
|
|||||||
install -Dpm 0755 ${file}.so.%{so_ver} %{buildroot}%{_libdir}
|
install -Dpm 0755 ${file}.so.%{so_ver} %{buildroot}%{_libdir}
|
||||||
ln -s $file.so.%{so_ver} %{buildroot}%{_libdir}/$file.so
|
ln -s $file.so.%{so_ver} %{buildroot}%{_libdir}/$file.so
|
||||||
done
|
done
|
||||||
|
|
||||||
popd
|
popd
|
||||||
|
%check
|
||||||
|
make test
|
||||||
|
|
||||||
%post -n libtbb%{so_ver} -p /sbin/ldconfig
|
%post -n libtbb%{so_ver} -p /sbin/ldconfig
|
||||||
%postun -n libtbb%{so_ver} -p /sbin/ldconfig
|
%postun -n libtbb%{so_ver} -p /sbin/ldconfig
|
||||||
|
Loading…
x
Reference in New Issue
Block a user