summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYury Usishchev <y.usishchev@samsung.com>2014-04-25 15:59:54 +0400
committerYury Usishchev <y.usishchev@samsung.com>2014-04-29 15:58:43 +0400
commitb46f0b5a7aa84449613d9dfa524cbc130141cb8d (patch)
tree11c199ec1bfe328c5dad2858aaff7637fb5dd24b
parent94315b6bdd732d5de3d2df305cae0464df977cc1 (diff)
downloadboost-accepted/tizen_3.0.2014.q3_common.tar.gz
boost-accepted/tizen_3.0.2014.q3_common.tar.bz2
boost-accepted/tizen_3.0.2014.q3_common.zip
Context library relies on some inline assembly. Current version does not contain AArch64 version of assembly. Disable it for now. Change-Id: I984abdee57d8ba32a95b3418dd3621f5c6127bd5 Signed-off-by: Yury Usishchev <y.usishchev@samsung.com>
-rw-r--r--packaging/boost.spec14
1 files changed, 13 insertions, 1 deletions
diff --git a/packaging/boost.spec b/packaging/boost.spec
index 264823172a..25c6fd2e9e 100644
--- a/packaging/boost.spec
+++ b/packaging/boost.spec
@@ -119,6 +119,7 @@ Provides: boost-graph
%description -n libboost_graph
This package contains the Boost::Graph Runtime libraries.
+%ifnarch aarch64
%package -n libboost_context
Summary: Run-Time component of boost context switching library
Requires: boost-license
@@ -126,6 +127,7 @@ Requires: boost-license
%description -n libboost_context
Run-Time support for Boost.Context, a foundational library that
provides a sort of cooperative multitasking on a single thread.
+%endif
%package -n libboost_iostreams
Summary: Boost::IOStreams Runtime Libraries
@@ -311,7 +313,11 @@ EOF
sh ./bootstrap.sh
-./b2
+%ifarch aarch64
+./b2 %{?_smp_mflags} -q --without-context
+%else
+./b2 %{?_smp_mflags} -q
+%endif
%install
@@ -407,7 +413,9 @@ rm -f %{buildroot}%{_libdir}/*.a
%post -n libboost_math -p /sbin/ldconfig
+%ifnarch aarch64
%post -n libboost_context -p /sbin/ldconfig
+%endif
%post -n libboost_graph -p /sbin/ldconfig
%post -n libboost_system -p /sbin/ldconfig
%post -n libboost_wave -p /sbin/ldconfig
@@ -417,7 +425,9 @@ rm -f %{buildroot}%{_libdir}/*.a
%post -n libboost_timer -p /sbin/ldconfig
%postun -n libboost_date_time -p /sbin/ldconfig
+%ifnarch aarch64
%postun -n libboost_context -p /sbin/ldconfig
+%endif
%postun -n libboost_filesystem -p /sbin/ldconfig
%postun -n libboost_iostreams -p /sbin/ldconfig
%postun -n libboost_test -p /sbin/ldconfig
@@ -536,10 +546,12 @@ rm -f %{buildroot}%{_libdir}/*.a
%defattr(-, root, root, -)
%{_libdir}/libboost_timer*.so.*
+%ifnarch aarch64
%files -n libboost_context
%manifest %{name}.manifest
%defattr(-, root, root, -)
%{_libdir}/libboost_context*.so.*
+%endif
%files devel