Grant Henke has uploaded this change for review. ( http://gerrit.cloudera.org:8080/10114
Change subject: KUDU-2412: Fix python client compilation in el6 environments ...................................................................... KUDU-2412: Fix python client compilation in el6 environments Identifies if the compiler is gcc < 4.6.0 and uses cython preprocessors to ignore any code using __int128. This includes test code. This is a bit of a hacky approach but I needed to duplicate the entire cdef anytime I used a preprocessor to remove methods. The preprocessor statements do not work inside of a cdef stament and you can’t break out cdef staments to use the additively. The cython preprocessors do not have a lot of documentation. Perhaps there is a better approach I missed that we could apply in a follow up. See here for documentation: http://cython.readthedocs.io/en/latest/src/userguide/language_basics.html#conditional-statements Change-Id: Ibd93b57020b80597baae9c8d3e0434c46f7fc3d7 --- M python/.gitignore M python/kudu/__init__.py M python/kudu/client.pyx M python/kudu/libkudu_client.pxd M python/kudu/schema.pyx M python/kudu/tests/test_scanner.py M python/kudu/tests/test_scantoken.py M python/kudu/tests/util.py M python/setup.py 9 files changed, 401 insertions(+), 159 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/14/10114/1 -- To view, visit http://gerrit.cloudera.org:8080/10114 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Ibd93b57020b80597baae9c8d3e0434c46f7fc3d7 Gerrit-Change-Number: 10114 Gerrit-PatchSet: 1 Gerrit-Owner: Grant Henke <[email protected]>
