From: Kefu Chai Date: Fri, 8 Jul 2016 06:59:21 +0000 (+0800) Subject: pybind: put temp .o files in $TMPDIR X-Git-Tag: ses5-milestone5~464^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F10204%2Fhead;p=ceph.git pybind: put temp .o files in $TMPDIR otherwise they will go to $PWD/$TMPDIR instead. Signed-off-by: Kefu Chai --- diff --git a/src/pybind/rados/setup.py b/src/pybind/rados/setup.py index 802d175a1c7e..9e152bd081f7 100755 --- a/src/pybind/rados/setup.py +++ b/src/pybind/rados/setup.py @@ -109,7 +109,7 @@ def check_sanity(): try: compiler.link_executable( - compiler.compile([tmp_file]), + compiler.compile([tmp_file], tmp_dir), os.path.join(tmp_dir, 'rados_dummy'), libraries=['rados'], output_dir=tmp_dir,