summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYury Usishchev <y.usishchev@samsung.com>2014-04-25 11:59:54 (GMT)
committerChanho Park <chanho61.park@samsung.com>2014-12-11 10:02:02 (GMT)
commite16c0f4dd1d2e5299970e184484498b7213dfc8d (patch)
tree24eb06a986a0ef6f3bd566c667e92fd4d33dd14f
parent8ca7c4e9307ae5c9fa8dbe64689f94601d797ef4 (diff)
downloadboost-e16c0f4dd1d2e5299970e184484498b7213dfc8d.zip
boost-e16c0f4dd1d2e5299970e184484498b7213dfc8d.tar.gz
boost-e16c0f4dd1d2e5299970e184484498b7213dfc8d.tar.bz2
Disable Context for AArch64 build
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 2648231..25c6fd2 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