mirror of
https://github.com/ceph/ceph
synced 2024-12-22 11:31:55 +00:00
27c05edc8e
* use the one shiped by the latest CMake (ab379e5054aa792df9572078dcf95bddd75f7661) * use the new policy to use the new find strategy. * accomodate the vanilla FindPython3 module to Ceph by: - dropping the `cmake_policy()` calls which set the policy not supported by 3.16. - `include (FindPackageHandleStandardArgs)` without specifying the relative path. - dropping the `HANDLE_VERSION_RANGE` from `FindPackageHandleStandardArgs()` call. this option was introduced by CMake v3.19, see https://cmake.org/cmake/help/latest/module/FindPackageHandleStandardArgs.html but Ubuntu focal comes with CMake 3.16, which is our minimal required CMake version. the new FindPython3 module from CMake: * enables us to find the recent Python intepreter and development files up to CPython 3.13. * finds Python intepreter with the new `Python_FIND_STRATEGY`. the old and default strategy always finds the most recent version with all specified name and in all locations. so, if /usr/bin/python exists, it would accept, even if it is a symlink to python3.9 and what we want is python3.6. the new policy stops at the one which satisfies the constraints. this helps us to address the problem of issue we have when recreating the building system after the CMakeLists.txt is updated. Fixes: https://tracker.ceph.com/issues/62428 Signed-off-by: Kefu Chai <tchaikov@gmail.com> |
||
---|---|---|
.. | ||
FindPython | ||
AddCephTest.cmake | ||
BuildArrow.cmake | ||
BuildBoost.cmake | ||
Buildc-ares.cmake | ||
BuildDPDK.cmake | ||
BuildFIO.cmake | ||
BuildOpentelemetry.cmake | ||
Buildpmdk.cmake | ||
BuildRocksDB.cmake | ||
BuildSPDK.cmake | ||
BuildUBBD.cmake | ||
Builduring.cmake | ||
BuildUtf8proc.cmake | ||
BuildZstd.cmake | ||
CephCheck_link.c | ||
CephCheck_link.map | ||
CephChecks.cmake | ||
CheckCxxAtomic.cmake | ||
CheckNasm.cmake | ||
CTags.cmake | ||
Distutils.cmake | ||
Findaio.cmake | ||
FindArrow.cmake | ||
Findbabeltrace.cmake | ||
FindBacktrace.cmake | ||
Findblkid.cmake | ||
FindBoost.cmake | ||
Findc-ares.cmake | ||
FindCUnit.cmake | ||
FindCython.cmake | ||
FindDAOS.cmake | ||
Finddaxctl.cmake | ||
Finddml.cmake | ||
Finddpdk.cmake | ||
Findfmt.cmake | ||
FindFUSE.cmake | ||
FindGMock.cmake | ||
Findgperftools.cmake | ||
FindGSSApi.cmake | ||
FindJeMalloc.cmake | ||
Findkeyutils.cmake | ||
Findlibcryptsetup.cmake | ||
FindLinuxZNS.cmake | ||
FindLTTngUST.cmake | ||
FindLZ4.cmake | ||
FindMake.cmake | ||
Findmotr.cmake | ||
Findndctl.cmake | ||
Findnl.cmake | ||
FindNUMA.cmake | ||
FindOATH.cmake | ||
FindOpenLDAP.cmake | ||
FindParquet.cmake | ||
Findpmdk.cmake | ||
FindPython3.cmake | ||
FindQatDrv.cmake | ||
Findqatzip.cmake | ||
FindRabbitMQ.cmake | ||
FindRDKafka.cmake | ||
Findrdmacm.cmake | ||
FindRocksDB.cmake | ||
FindSanitizers.cmake | ||
Findsnappy.cmake | ||
FindSQLite3.cmake | ||
FindStdFilesystem_test.cc | ||
FindStdFilesystem.cmake | ||
Findthrift.cmake | ||
Findudev.cmake | ||
Finduring.cmake | ||
Findutf8proc.cmake | ||
Finduuid.cmake | ||
Findverbs.cmake | ||
Findxfs.cmake | ||
Findyaml-cpp.cmake | ||
Findzbd.cmake | ||
Findzfs.cmake | ||
FindZstd.cmake | ||
GetGitRevisionDescription.cmake | ||
GetGitRevisionDescription.cmake.in | ||
LimitJobs.cmake | ||
patch-dpdk-conf.sh | ||
SIMDExt.cmake |