kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [1/3] incubator-kudu git commit: Use $CLANG to build python code
Date Thu, 21 Jan 2016 03:04:09 GMT
Repository: incubator-kudu
Updated Branches:
  refs/heads/master bd7750c36 -> 3a31cfcb0


Use $CLANG to build python code

This enables ccache when installing cython and building the Python bindings.
This speeds up the Python build noticeably.

Change-Id: I5d244b39d70ef7bab9c9ebec3a662edf4470933c
Reviewed-on: http://gerrit.cloudera.org:8080/1846
Reviewed-by: Adar Dembo <adar@cloudera.com>
Tested-by: Todd Lipcon <todd@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/incubator-kudu/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-kudu/commit/52c0f28f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-kudu/tree/52c0f28f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-kudu/diff/52c0f28f

Branch: refs/heads/master
Commit: 52c0f28f8650b4d26788e407c2b1c0f193962245
Parents: bd7750c
Author: Todd Lipcon <todd@apache.org>
Authored: Wed Jan 20 12:04:08 2016 -0800
Committer: Todd Lipcon <todd@apache.org>
Committed: Wed Jan 20 23:47:09 2016 +0000

----------------------------------------------------------------------
 build-support/jenkins/build-and-test.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-kudu/blob/52c0f28f/build-support/jenkins/build-and-test.sh
----------------------------------------------------------------------
diff --git a/build-support/jenkins/build-and-test.sh b/build-support/jenkins/build-and-test.sh
index 1ab4679..2f688de 100755
--- a/build-support/jenkins/build-and-test.sh
+++ b/build-support/jenkins/build-and-test.sh
@@ -323,10 +323,10 @@ if [ "$BUILD_PYTHON" == "1" ]; then
   virtualenv test_environment
   source test_environment/bin/activate
   pip install --upgrade pip
-  pip install --disable-pip-version-check -r requirements.txt
+  CC=$CLANG CXX=$CLANG++ pip install --disable-pip-version-check -r requirements.txt
 
   # Assuming we run this script from base dir
-  python setup.py build_ext
+  CC=$CLANG CXX=$CLANG++ python setup.py build_ext
   set +e
   python setup.py test \
     --addopts="kudu --junit-xml=$KUDU_HOME/build/test-logs/python_client.xml" \


Mime
View raw message