You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by jf...@apache.org on 2013/11/27 18:46:49 UTC
git commit: THRIFT-2249:Add SMP Build option to thrift.spec (and
three config defines) Client: build Patch: Martin Vogt
Updated Branches:
refs/heads/master 8bdff945b -> 4b4f42b45
THRIFT-2249:Add SMP Build option to thrift.spec (and three config defines)
Client: build
Patch: Martin Vogt
the patch improves the .spec file in contrib/. with a parallel build option and add defines
Project: http://git-wip-us.apache.org/repos/asf/thrift/repo
Commit: http://git-wip-us.apache.org/repos/asf/thrift/commit/4b4f42b4
Tree: http://git-wip-us.apache.org/repos/asf/thrift/tree/4b4f42b4
Diff: http://git-wip-us.apache.org/repos/asf/thrift/diff/4b4f42b4
Branch: refs/heads/master
Commit: 4b4f42b45b85f20dacaea0a724070ad8b82b8988
Parents: 8bdff94
Author: jfarrell <jf...@apache.org>
Authored: Wed Nov 27 12:45:49 2013 -0500
Committer: jfarrell <jf...@apache.org>
Committed: Wed Nov 27 12:45:49 2013 -0500
----------------------------------------------------------------------
contrib/thrift.spec | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/thrift/blob/4b4f42b4/contrib/thrift.spec
----------------------------------------------------------------------
diff --git a/contrib/thrift.spec b/contrib/thrift.spec
index d281eb9..7aa7a16 100644
--- a/contrib/thrift.spec
+++ b/contrib/thrift.spec
@@ -17,6 +17,10 @@
# under the License.
#
+%define without_java 1
+%define without_python 1
+%define without_tests 1
+
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
@@ -24,7 +28,7 @@ Name: thrift
License: Apache License v2.0
Group: Development
Summary: RPC and serialization framework
-Version: 0.9.0
+Version: 0.9.1
Release: 0
URL: http://thrift.apache.org
Packager: Thrift Developers <de...@thrift.apache.org>
@@ -127,12 +131,13 @@ Python libraries for Thrift.
%configure \
%{?without_libevent: --without-libevent } \
%{?without_zlib: --without-zlib } \
- --without-java \
+ %{?without_tests: --without-tests } \
+ %{?without_java: --without-java } \
+ %{?without_python: --without-python } \
--without-csharp \
- --without-python \
--without-erlang \
-make
+make %{?_smp_mflags}
%if 0%{!?without_java:1}
cd lib/java