You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aurora.apache.org by wf...@apache.org on 2014/10/15 18:26:38 UTC

git commit: Limit the amount of work done while bootstrapping thrift.

Repository: incubator-aurora
Updated Branches:
  refs/heads/master 72fed752f -> 7d87801e1


Limit the amount of work done while bootstrapping thrift.

Reviewed at https://reviews.apache.org/r/26720/


Project: http://git-wip-us.apache.org/repos/asf/incubator-aurora/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-aurora/commit/7d87801e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-aurora/tree/7d87801e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-aurora/diff/7d87801e

Branch: refs/heads/master
Commit: 7d87801e187899612af3c7ead3097283fc7a8741
Parents: 72fed75
Author: Bill Farner <wf...@apache.org>
Authored: Wed Oct 15 09:22:31 2014 -0700
Committer: Bill Farner <wf...@apache.org>
Committed: Wed Oct 15 09:22:31 2014 -0700

----------------------------------------------------------------------
 build-support/thrift/Makefile | 25 ++++++++++++++++++++-----
 1 file changed, 20 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/7d87801e/build-support/thrift/Makefile
----------------------------------------------------------------------
diff --git a/build-support/thrift/Makefile b/build-support/thrift/Makefile
index 2b62b15..11fac91 100644
--- a/build-support/thrift/Makefile
+++ b/build-support/thrift/Makefile
@@ -17,15 +17,30 @@ THRIFT_URL = http://www.us.apache.org/dist/thrift/$(THRIFT_VERSION)/$(THRIFT_DIS
 
 THRIFT = ./thrift-$(THRIFT_VERSION)/compiler/cpp/thrift
 
+CONFIGURE_FLAGS = --disable-dependency-tracking \
+  --disable-shared \
+  --without-c_glib \
+  --without-cpp \
+  --without-csharp \
+  --without-d \
+  --without-erlang \
+  --without-go \
+  --without-java \
+  --without-haskell \
+  --without-perl \
+  --without-php \
+  --without-php_extension \
+  --without-pic \
+  --without-python \
+  --without-qt4 \
+  --without-ruby \
+  --without-tests
+
 all: $(THRIFT)
 
 $(THRIFT):
 	curl -s $(THRIFT_URL) | tar zxv
-	(cd $(THRIFT_DISTNAME) && ./configure --without-tests --without-php --without-php_extension \
-		--without-ruby --without-haskell --without-d --without-go --without-perl --without-python \
-		--without-erlang --without-java --without-c_glib)
-	(cd $(THRIFT_DISTNAME) && make -j4)
+	(cd $(THRIFT_DISTNAME) && ./configure $(CONFIGURE_FLAGS) && make -j4)
 
 clean:
-	$(MVN) clean
 	rm -fr $(THRIFT_DISTNAME)