kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t...@apache.org
Subject [6/8] incubator-kudu git commit: python: disable new gcc5 ABI
Date Mon, 11 Jan 2016 09:19:12 GMT
python: disable new gcc5 ABI

I forgot to address the Cython build in commit 8b04bf9; basically anything
upstream of libkudu_client.so needs to disable the new ABI too.

Change-Id: I7a0821cef6b2443c9d711af82e02d61755785360
Reviewed-on: http://gerrit.cloudera.org:8080/1732
Tested-by: Internal Jenkins
Reviewed-by: Todd Lipcon <todd@cloudera.com>


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

Branch: refs/heads/master
Commit: 1e033109e08a2882a93d230faa624802b3166edc
Parents: 55a5be9
Author: Adar Dembo <adar@cloudera.com>
Authored: Wed Jan 6 22:13:41 2016 -0800
Committer: Todd Lipcon <todd@cloudera.com>
Committed: Fri Jan 8 19:42:45 2016 +0000

----------------------------------------------------------------------
 python/setup.py | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-kudu/blob/1e033109/python/setup.py
----------------------------------------------------------------------
diff --git a/python/setup.py b/python/setup.py
index 7796084..9c7d7e9 100644
--- a/python/setup.py
+++ b/python/setup.py
@@ -71,6 +71,9 @@ RT_LIBRARY_DIRS = LIBRARY_DIRS
 
 client_ext = Extension('kudu.client', ['kudu/client.pyx'],
                        libraries=['kudu_client'],
+                       # Disable the 'new' gcc5 ABI; see the top-level
+                       # CMakeLists.txt for details.
+                       define_macros=[('_GLIBCXX_USE_CXX11_ABI', '0')],
                        include_dirs=INCLUDE_PATHS,
                        library_dirs=LIBRARY_DIRS,
                        runtime_library_dirs=RT_LIBRARY_DIRS)


Mime
View raw message