From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#26897: =?UTF-8?Q?=E2=80=98cmake-build-system=E2=80=99?= does not support cross-compilation Date: Fri, 12 May 2017 18:00:41 +0200 Message-ID: <878tm2oyja.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48093) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d9D06-0002KE-D3 for bug-guix@gnu.org; Fri, 12 May 2017 12:01:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d9D02-0004qn-Mf for bug-guix@gnu.org; Fri, 12 May 2017 12:01:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:38488) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d9D02-0004qO-F4 for bug-guix@gnu.org; Fri, 12 May 2017 12:01:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d9D02-0004ss-4T for bug-guix@gnu.org; Fri, 12 May 2017 12:01:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47927) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d9Czn-000252-Ra for bug-guix@gnu.org; Fri, 12 May 2017 12:00:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d9Czk-0004i3-Pf for bug-guix@gnu.org; Fri, 12 May 2017 12:00:47 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56930) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d9Czk-0004hp-LG for bug-guix@gnu.org; Fri, 12 May 2017 12:00:44 -0400 Received: from [193.50.110.203] (port=49418 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1d9Czk-0002gW-33 for bug-guix@gnu.org; Fri, 12 May 2017 12:00:44 -0400 List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 26897@debbugs.gnu.org Currently =E2=80=98cmake-build-system=E2=80=99 does not support cross-compi= lation, 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=3Daarch64-linux-gnu -n guix build: error: gnu/packages/ssh.scm:59:2: libssh-0.7.4: build system `c= make' 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=E2=80=99.