ceph/cmake/modules
Kefu Chai ebfa2df2d5 cmake: do not pass unnecessary param to setup.py
--single-version-externally-managed is used for packaging python eggs
to deb. so the metadata can be stored in the egg, and can be accessed
by user if necessary, see [1]. but this does not apply to users who
just want to "make install" without packaging Ceph.

the problem is, if we pass --single-version-externally-managed to
setup.py, we need to pass --record or --root also. otherwise setuptools
complains:

error: You must specify --record or --root when building system packages

so in this change, we choose not to pass
"--single-version-externally-managed", unless $DESTDIR is set.

both "ceph.spec.in" and "debian/rules" set $DESTDIR when running "make
install". so we can always check $DESTDIR to tell if current "make
install" is launched by the packaging script or not. this might not be
accurate, but good enough. assuming enduser does not use DESTDIR when
running plain "make install".

--
[1] https://wiki.debian.org/Python/FAQ#How_should_we_package_Python_eggs.3F

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-11-20 22:20:41 +08:00
..
AddCephTest.cmake cmake: link against gtest in a better way 2018-08-17 15:21:27 +08:00
BuildBoost.cmake cmake: fix build WITH_SYSTEM_BOOST=ON 2018-08-09 18:57:04 +08:00
Buildc-ares.cmake
BuildDPDK.cmake cmake: update dpdk drivers/modules to accomodate dpdk submodule 2018-10-26 21:49:03 +08:00
BuildFIO.cmake objectstore/test/fio: Fixed fio compilation when tcmalloc is used. 2018-09-13 09:43:48 +02:00
BuildQatDrv.cmake crypto: QAT Wrapper for Ceph Encryption 2018-10-18 21:48:18 -07:00
BuildRocksDB.cmake cmake: refactor RocksDB related script 2018-08-06 19:37:43 +08:00
BuildSPDK.cmake cmake: pass DPDK_DIR explicitly 2018-09-05 17:33:59 +08:00
CheckCxxAtomic.cmake
CheckYasm.cmake
CTags.cmake
Distutils.cmake cmake: do not pass unnecessary param to setup.py 2018-11-20 22:20:41 +08:00
Findaio.cmake
Findbabeltrace.cmake
FindBacktrace.cmake
Findblkid.cmake
FindBoost.cmake cmake/modules: add FindBoost.cmake 2018-09-11 22:22:47 +08:00
Findc-ares.cmake
FindCUnit.cmake
FindCython.cmake
Finddpdk.cmake cmake: fix the build WITH_DPDK=ON 2018-09-05 13:53:57 +08:00
Findfcgi.cmake
Findfio.cmake
Findfmt.cmake cmake: fix version matching for Findfmt 2018-09-10 10:22:24 -04:00
Findfuse.cmake
FindGMock.cmake cmake: link against gtest in a better way 2018-08-17 15:21:27 +08:00
Findgperftools.cmake
FindJeMalloc.cmake
Findkeyutils.cmake
Findleveldb.cmake
FindLTTngUST.cmake
FindLZ4.cmake
FindNSPR.cmake
FindNSS.cmake
FindOATH.cmake
FindOpenLdap.cmake
FindPython3Interp.cmake
FindPython3Libs.cmake
Findqatzip.cmake
Findrdmacm.cmake
FindRocksDB.cmake cmake: refactor RocksDB related script 2018-08-06 19:37:43 +08:00
FindSanitizers.cmake cmake,ceph.in: preload libasan if WITH_ASAN 2018-10-22 14:40:03 +08:00
Findsnappy.cmake
FindStdFilesystem_test.cc
FindStdFilesystem.cmake
Findudev.cmake
Finduuid.cmake
Findverbs.cmake
Findxfs.cmake
Findxio.cmake
Findzfs.cmake
GetGitRevisionDescription.cmake
GetGitRevisionDescription.cmake.in
patch-dpdk-conf.sh
SIMDExt.cmake Merge pull request #24168 from tchaikov/wip-17516 2018-10-04 16:10:18 -07:00