Subject: ‘cmake-build-system’ does not support cross-compilation
From: [email-masked] (Ludovic Courtès)
To: [email-masked]
Date: Fri, 12 May 2017 18:00:41 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Currently ‘cmake-build-system’ does not support cross-compilation, which
is becoming more and more of a problem.  For instance, it prevents
cross-compilation of Guix:

--8<---------------cut here---------------start------------->8---
$ guix build guix --target=aarch64-linux-gnu -n
guix build: error: gnu/packages/ssh.scm:59:2: libssh-0.7.4: build system `cmake' does not support cross builds
--8<---------------cut here---------------end--------------->8---

I think CMake supports cross-compilation in theory, so we should try to
implement it.

Ludo’.