unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: 26897@debbugs.gnu.org
Subject: bug#26897: ‘cmake-build-system’ does not support cross-compilation
Date: Fri, 12 May 2017 18:00:41 +0200	[thread overview]
Message-ID: <878tm2oyja.fsf@gnu.org> (raw)

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’.

             reply	other threads:[~2017-05-12 16:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-12 16:00 Ludovic Courtès [this message]
2017-05-30 14:59 ` bug#26897: ‘cmake-build-system’ does not support cross-compilation Ricardo Wurmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878tm2oyja.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=26897@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).