]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cmake: put cythonized .c files into ${CMAKE_CURRENT_BINARY_DIR}
authorKefu Chai <kchai@redhat.com>
Sat, 9 Jul 2016 04:58:33 +0000 (12:58 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 11 Jul 2016 08:23:20 +0000 (16:23 +0800)
commit6a99eec653fc461a3621e41f2a121702f8539c88
tree95e3950a5e0c57810f255fe883cb319e465c8472
parentb3bea59b7e758ad64d053ff581d79baecea5e017
cmake: put cythonized .c files into ${CMAKE_CURRENT_BINARY_DIR}

it was put into the directory where .pyx is located. it's not expected
in an out-of-tree build.
* {rados,rbd,cephfs}/setup.py: use build_ext from cython if possible, fallback to
  the one from setuptools or distutils
* Distutils.cmake: pass --cython-c-in-temp --build-temp and
  --cython-include-dirs to "build_ext" command

Signed-off-by: Kefu Chai <kchai@redhat.com>
cmake/modules/Distutils.cmake
src/pybind/cephfs/setup.py
src/pybind/rados/setup.py
src/pybind/rbd/setup.py