help-guix
[Top][All Lists]
Advanced

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

Re: make clean-go breaks my build environment


From: jgart
Subject: Re: make clean-go breaks my build environment
Date: Sat, 5 Nov 2022 10:35:26 -0500

On Sat, 05 Nov 2022 15:17:47 +0000 "(" <paren@disroot.org> wrote:
> On Sat Nov 5, 2022 at 3:16 PM GMT, jgart wrote:
> > I'm just wondering if I'm missing a step after running `make clean-go`
> > in order to then get the speed up again.
> 
> I don't think you are.
> 
>     -- (

So, just build a few times and it should speed up because the go files have 
been regenerated?

For example, after running `make clean-go` building nnn which is a small
file manager takes the following:

 time ./pre-inst-env guix build nnn
WARNING: Use of `load' in declarative module (guix ui).  Add #:declarative? #f 
to your define-module invocation.
WARNING: (guix build python-build-system): imported module (guix build utils) 
overrides core binding `delete'

/gnu/store/byap6zn0g5gbv43wg67cdkvlnl24hhlg-nnn-4.6

real    3m43.164s
user    5m8.290s
sys     0m0.734s

If I run that same command I expect it to be faster because I assume
that the go files are already there but lo and behold:

 time ./pre-inst-env guix build nnn
WARNING: Use of `load' in declarative module (guix ui).  Add #:declarative? #f 
to your define-module invocation.
WARNING: (guix build python-build-system): imported module (guix build utils) 
overrides core binding `delete'

/gnu/store/byap6zn0g5gbv43wg67cdkvlnl24hhlg-nnn-4.6

real    3m43.498s
user    5m6.128s
sys     0m0.683s

And here I try it one more time:

time ./pre-inst-env guix build nnn
WARNING: Use of `load' in declarative module (guix ui).  Add #:declarative? #f 
to your define-module invocation.
WARNING: (guix build python-build-system): imported module (guix build utils) 
overrides core binding `delete'

/gnu/store/byap6zn0g5gbv43wg67cdkvlnl24hhlg-nnn-4.6

real    3m36.902s
user    5m1.588s
sys     0m0.671s

fun times ;()

wdyt



reply via email to

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