[Pkg-cmake-team] Bug#930995: Bug#1110961: debhelper: Consider setting CMAKE_SYSTEM_PROCESSOR even when not cross-compiling
Timo Röhling
roehling at debian.org
Mon Aug 25 10:07:49 BST 2025
Control: -1 blocked by 930995
Hi,
* Niels Thykier <niels at thykier.net> [2025-08-24 09:50]:
>Sadly, I am not an expert on this matter, so all I can do for now is
>tag the bug `moreinfo help`. I have CC'ed the CMake team in case they
>can help with this. For the CMake team, there is more context in
>https://bugs.debian.org/1110961#10 not quoted here.
There is an open wishlist bug [1] about properly mapping Debian
architectures to CMake systems and processors.
A possible alternative would be the CMAKE_LIBRARY_ARCHITECTURE variable,
which is initialized during compiler configuration for C, CXX, and
Fortran and has the same value as DEB_HOST_MULTIARCH. Any
architecture-specific setup in upstream code could be patched to check
that variable instead of CMAKE_SYSTEM_PROCESSOR.
Cheers
Timo
[1] https://bugs.debian.org/930995
--
⢀⣴⠾⠻⢶⣦⠀ ╭────────────────────────────────────────────────────╮
⣾⠁⢠⠒⠀⣿⡁ │ Timo Röhling │
⢿⡄⠘⠷⠚⠋⠀ │ 9B03 EBB9 8300 DF97 C2B1 23BF CC8C 6BDD 1403 F4CA │
⠈⠳⣄⠀⠀⠀⠀ ╰────────────────────────────────────────────────────╯
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-cmake-team/attachments/20250825/7de04e09/attachment.sig>
More information about the Pkg-cmake-team
mailing list