[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Support for building tarballs

From: Ludovic Courtès
Subject: Support for building tarballs
Date: Tue, 27 Aug 2013 12:35:35 +0200
User-agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux)

Some details about recent changes...

Commit fe12c34 added the ‘dist-package’ procedure: given a package
object, it returns another one that is basically the initial one plus an
“autoreconf” phase, and a ‘make distcheck’ phase in replacement of the
‘build’ phase.  Those phases are in the new (guix build gnu-dist) module.

IOW, ‘dist-package’ can be given a pristine checkout of a typical GNU
project, and it returns a package object that bootstraps it and builds
its source tarball.

The main goal is to allow Guix itself to have a ‘tarball’ job on Hydra
that runs ‘make distcheck’.

To that end, I packaged Guix in Guix–which means one can type
‘guix build guix’.  :-)

Then, the build-aux/hydra/guix.scm recipe roughly does

  (dist-package guix "/path/to/checkout")

The result can be seen at:

Running ./bootstrap currently fails, because Git is unavailable.  But as
soon as it’s available, that should work.

Feedback welcome!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]