[debhelper-devel] Bug#840323: debhelper: cmake build system: cross compilation

Simon Richter sjr at debian.org
Mon Oct 10 15:24:51 UTC 2016


Package: debhelper
Version: 9.20160814
Severity: wishlist

Hi,

right now, if I want to crosscompile a package that uses CMake, I need to
override dh_auto_configure:

override_dh_auto_configure:
        dh_auto_configure -- \
	-DCMAKE_TOOLCHAIN_FILE=/etc/dpkg-cross/cmake/CMakeCross.txt \
	-DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)

This toolchain file is shipped with the dpkg-cross package.

Would it be possible to integrate this into debhelper proper so I don't
need to add a build dependency in order to support cross compilation?

   Simon

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf

Kernel: Linux 4.6.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages debhelper depends on:
ii  autotools-dev            20160430.1
ii  binutils                 2.26.1-1
ii  dh-autoreconf            12
ii  dh-strip-nondeterminism  0.023-2
ii  dpkg                     1.18.10
ii  dpkg-dev                 1.18.10
ii  file                     1:5.28-4
ii  libdpkg-perl             1.18.10
ii  man-db                   2.7.5-1
ii  perl                     5.22.2-3
ii  po-debconf               1.0.19

debhelper recommends no packages.

Versions of packages debhelper suggests:
ii  dh-make  2.201606

-- no debconf information




More information about the debhelper-devel mailing list