ceph/cmake/modules
Kefu Chai 5824fed5b4 cmake: remove spaces in macro used for compiling cython code
we are facing following FTBFS on jammy + GCC-11.2 + Cython 0.29 +
CMake 3.22:

creating /home/jenkins-build/build/workspace/ceph-api/build/lib/cython_modules/temp.linux-x86_64-3.10/home/jenkins-build/build/workspace/ceph-api/build/src/pybind/cephfs
compile options: '-I/usr/include/python3.10 -I/usr/include/python3.10 -c'
extra options: '-Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -iquote/home/jenkins-build/build/workspace/ceph-api/src/include -w -Dvoid0=dead_function(void) -D__Pyx_check_single_interpreter(ARG)=ARG ## 0 -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2'
cc: /home/jenkins-build/build/workspace/ceph-api/build/src/pybind/cephfs/cephfs.c
cc: warning: ##: linker input file unused because linking not done
cc: error: ##: linker input file not found: No such file or directory
cc: warning: 0: linker input file unused because linking not done
cc: error: 0: linker input file not found: No such file or directory

it seems cython is not able to escape the space in the "extra options"
anymore, so the "##" and "0" are considered as object files passed to
compiler in addition to cephfs.c.

in this change the spaces are removed to help cython to make the right
decision.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2022-08-05 20:07:02 +08:00
..
FindPython cmake: add support for python 3.10 2021-10-22 14:59:28 +08:00
AddCephTest.cmake cmake/modules: use exact version of python3 when finding cython 2022-04-21 06:52:18 +08:00
BuildArrow.cmake cmake: add submodule for Apache Arrow at v6.0.1 2022-03-14 10:19:02 -04:00
BuildBoost.cmake build: Bump Boost version to 1.79 2022-07-22 11:04:43 -04:00
Buildc-ares.cmake
BuildDPDK.cmake cmake: pass RTE_DEVEL_BUILD=n when building dpdk 2022-03-05 12:57:24 +08:00
BuildFIO.cmake cmake/modules/BuildFIO: specify the full path to alloc libraries 2022-05-02 12:40:55 +08:00
BuildOpentelemetry.cmake cmake: remove git fetch and use submodule for building opentelemetry lib 2022-06-22 01:06:33 +00:00
Buildpmdk.cmake cmake: disable LTO when building pmdk 2022-08-04 17:56:48 +08:00
BuildRocksDB.cmake
BuildSPDK.cmake cmake/modules/BuildSPDK.cmake: link whole-archive 2022-01-20 19:39:27 +08:00
Builduring.cmake cmake: silence build output when building external deps 2021-08-16 21:27:57 +08:00
BuildUtf8proc.cmake cmake: add submodule for utf8proc at v2.2.0 2022-03-14 10:19:02 -04:00
BuildZstd.cmake
CephCheck_link.c
CephCheck_link.map
CephChecks.cmake cmake: fail on unknown attribute 2021-08-06 18:01:47 +08:00
CheckCxxAtomic.cmake cmake: do not use GCC extension when detecting 16-bit atomic op 2022-03-10 22:54:51 +08:00
CheckNasm.cmake
CTags.cmake
Distutils.cmake cmake: remove spaces in macro used for compiling cython code 2022-08-05 20:07:02 +08:00
Findaio.cmake
FindArrow.cmake cmake: move Arrow targets into find_package modules 2022-03-14 10:19:02 -04:00
Findbabeltrace.cmake
FindBacktrace.cmake
Findblkid.cmake
FindBoost.cmake
Findc-ares.cmake
FindCUnit.cmake
FindCython.cmake
Finddaxctl.cmake cmake: add findndctl and finddaxctl function 2022-07-12 10:32:57 +08:00
Finddml.cmake Add the support to use DML library for PMEM device. 2022-04-19 14:51:12 +08:00
Finddpdk.cmake cmake: dpdk: only append common dir if it has been found 2022-01-13 14:40:17 +01:00
Findfmt.cmake cmake: add an option "WITH_FMT_HEADER_ONLY" 2021-07-24 02:26:45 +08:00
FindFUSE.cmake
FindGMock.cmake
Findgperftools.cmake
FindGSSApi.cmake
FindJeMalloc.cmake
Findkeyutils.cmake
Findlibcryptsetup.cmake
FindLinuxZNS.cmake cmake: detect linux/blk/zoned support 2021-12-25 16:13:47 +08:00
FindLTTngUST.cmake
FindLZ4.cmake
FindMake.cmake
Findndctl.cmake cmake: add findndctl and finddaxctl function 2022-07-12 10:32:57 +08:00
Findnl.cmake
FindNUMA.cmake
FindOATH.cmake
FindOpenLDAP.cmake cmake: define OpenLDAP::OpenLDAP library 2021-07-24 19:28:56 +08:00
FindParquet.cmake cmake: move Arrow targets into find_package modules 2022-03-14 10:19:02 -04:00
Findpmdk.cmake cmake: rename a series of pmem libraries to pmdk 2022-06-28 01:16:33 +08:00
FindPython3.cmake
FindQatDrv.cmake cmake: replace BuildQatDrv.cmake with FindQatDrv.cmake 2022-02-08 14:06:07 +08:00
Findqatzip.cmake compressor: fix compilation issues about QATzip 2022-02-18 17:45:30 +08:00
FindRabbitMQ.cmake
FindRDKafka.cmake
Findrdmacm.cmake
FindRocksDB.cmake
FindSanitizers.cmake cmake/modules/FindSanitizers: prefer libasan.6 2021-05-24 16:19:37 +08:00
Findsnappy.cmake
FindSQLite3.cmake
FindStdFilesystem_test.cc cmake: stop detecting <experimental/filesystem> 2021-06-09 23:25:22 +08:00
FindStdFilesystem.cmake cmake: stop detecting <experimental/filesystem> 2021-06-09 23:25:22 +08:00
Findthrift.cmake cmake: reorder find_package_handle_standard_arg for thrift 2021-07-22 21:35:29 +05:30
Findudev.cmake
Finduring.cmake
Findutf8proc.cmake cmake: add submodule for utf8proc at v2.2.0 2022-03-14 10:19:02 -04:00
Finduuid.cmake
Findverbs.cmake
Findxfs.cmake
Findyaml-cpp.cmake
Findzbd.cmake
Findzfs.cmake
FindZstd.cmake
GetGitRevisionDescription.cmake
GetGitRevisionDescription.cmake.in
LimitJobs.cmake cmake: increase the MAX_{LINK,COMPILE}_MEM 2021-06-03 21:03:03 +08:00
patch-dpdk-conf.sh
SIMDExt.cmake arch,cmake: compile ppc.c on all powerpc machines 2021-08-29 22:40:27 +08:00