guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 07/13] build: Add 'DL' silent rule.


From: Mathieu Lirzin
Subject: Re: [PATCH 07/13] build: Add 'DL' silent rule.
Date: Tue, 26 Jan 2016 18:44:18 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

address@hidden (Ludovic Courtès) writes:

> Mathieu Lirzin <address@hidden> skribis:
>
>> * Makefile.am (AM_V_DL, AM_V_DL_, AM_V_DL_0): New variables.
>> * gnu-system.am (gnu/packages/bootstrap/x86_64-linux/guile-2.0.9.tar.xz)
>> (gnu/packages/bootstrap/i686-linux/guile-2.0.9.tar.xz)
>> (gnu/packages/bootstrap/armhf-linux/guile-2.0.11.tar.xz)
>> (gnu/packages/bootstrap/mips64el-linux/guile-2.0.9.tar.xz): Use $(AM_V_DL).
>
> Since downloading is pretty unusual and unexpected (understandably so),
> I wonder if we should it leave this one as noisy as it is so that people
> see the name of the script that downloads the thing and inspect it.
>
> WDYT?

Indeed, this is unusual and should be avoided in a “normal” make
context.  However I am not sure about the effect of noise in such case:

--8<---------------cut here---------------start------------->8---
/bin/mkdir -p `dirname 
"gnu/packages/bootstrap/mips64el-linux/guile-2.0.9.tar.xz"`
GUILE_LOAD_COMPILED_PATH=".:$GUILE_LOAD_COMPILED_PATH" /usr/bin/guile 
--no-auto-compile -L "." -L "." "./build-aux/download.scm" 
"gnu/packages/bootstrap/mips64el-linux/guile-2.0.9.tar.xz" 
"994680f0001346864aa2c2cc5110f380ee7518dcd701c614291682b8e948f73b"
downloading file `gnu/packages/bootstrap/mips64el-linux/guile-2.0.9.tar.xz' 
from 
`http://alpha.gnu.org/gnu/guix/bootstrap/mips64el-linux/20131110/guile-2.0.9.tar.xz'...
--8<---------------cut here---------------end--------------->8---

this can easily be overlooked as “another” compilation warning produced
by Guile.

--8<---------------cut here---------------start------------->8---
  DL       gnu/packages/bootstrap/i686-linux/guile-2.0.9.tar.xz
--8<---------------cut here---------------end--------------->8---

IMO “DL” is explicit enough since the target name is a tarball and a
simple search for the target name in the Makefile gives the actual
command.  We could use the full word “DOWNLOAD” instead of “DL” but on
the other hand this will visually blend with the “LOAD” for guile
modules.

--
Mathieu Lirzin



reply via email to

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