]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cmake: disable "variable tracking" when building rados python binding 41071/head
authorKefu Chai <kchai@redhat.com>
Wed, 28 Apr 2021 15:22:32 +0000 (23:22 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 28 Apr 2021 16:11:33 +0000 (00:11 +0800)
commitc2b3f7f5e75bfff3970d59724a905aae51f118bc
treed9594f52f8360597eeb7acefd4c70036640d6a83
parent657fa4b70005074f0555fe409e505f49db6bc546
cmake: disable "variable tracking" when building rados python binding

to silence the warning like:

/home/jenkins-build/build/workspace/ceph-pull-requests/build/src/pybind/rados/rados.c: In function '__pyx_pymod_exec_rados':
/home/jenkins-build/build/workspace/ceph-pull-requests/build/src/pybind/rados/rados.c:78903:30: note: variable tracking size limit exceeded with '-fvar-tracking-assignments', retrying without
78903 | static CYTHON_SMALL_CODE int __pyx_pymod_exec_rados(PyObject *__pyx_pyinit_module)
      |                              ^~~~~~~~~~~~~~~~~~~~~~
cc: warning: /usr/bin/cc: linker input file unused because linking not done

Signed-off-by: Kefu Chai <kchai@redhat.com>
cmake/modules/Distutils.cmake
src/pybind/rados/CMakeLists.txt