bug#26897: ‘cmake-build-system’ does not support cross-compilation

2017-05-30 Thread Ricardo Wurmus
Implemented in commit d2ac5e297578dea1c872f77a26ef4d481d5dc7bd.

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net






bug#26897: ‘cmake-build-system’ does not support cross-compilation

2017-05-12 Thread Ludovic Courtès
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’.