kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danburk...@apache.org
Subject [1/2] incubator-kudu git commit: build: properly clean up Python build artifacts
Date Fri, 29 Jan 2016 00:29:16 GMT
Repository: incubator-kudu
Updated Branches:
  refs/heads/master 396bbae57 -> eb592b298


build: properly clean up Python build artifacts

A change to the location of libkudu_client.so is percolating through
gerrit and has exposed a problem in the Python build: Cython shared objects
are not being rebuilt as often as they should be. The result is that at
runtime, these shared objects can't find libkudu_client.so because their
rpaths are stale.

Let's give them a hand with some explicit cleanup.

Change-Id: I31125cf7659fb37f88daabd1a35646526718ccd8
Reviewed-on: http://gerrit.cloudera.org:8080/1950
Reviewed-by: Todd Lipcon <todd@apache.org>
Tested-by: Kudu Jenkins


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

Branch: refs/heads/master
Commit: 222ba7352495c5a73328a31a20d50af737ea4df0
Parents: 396bbae
Author: Adar Dembo <adar@cloudera.com>
Authored: Thu Jan 28 12:55:57 2016 -0800
Committer: Adar Dembo <adar@cloudera.com>
Committed: Thu Jan 28 21:34:56 2016 +0000

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


http://git-wip-us.apache.org/repos/asf/incubator-kudu/blob/222ba735/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 a44a8a3..abc1f48 100755
--- a/build-support/jenkins/build-and-test.sh
+++ b/build-support/jenkins/build-and-test.sh
@@ -348,6 +348,9 @@ if [ "$BUILD_PYTHON" == "1" ]; then
   pip install --upgrade pip
   CC=$CLANG CXX=$CLANG++ pip install --disable-pip-version-check -r requirements.txt
 
+  # Delete old Cython extensions to force them to be rebuilt.
+  rm -Rf build kudu_python.egg-info kudu/*.so
+
   # Assuming we run this script from base dir
   CC=$CLANG CXX=$CLANG++ python setup.py build_ext
   set +e


Mime
View raw message