[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] [PATCH] Delete stale binaries when cross-building
From: |
Peter Bex |
Subject: |
Re: [Chicken-hackers] [PATCH] Delete stale binaries when cross-building eggs |
Date: |
Wed, 1 May 2013 14:40:53 +0200 |
User-agent: |
Mutt/1.4.2.3i |
On Tue, Apr 30, 2013 at 11:49:37AM +0200, Felix wrote:
> So the safe thing is to nuke everything that looks like a binary
> because you can never know what is lying around from a previous
> installation or installation-attempt.
>
> Sorry, I'm currently unable to describe this problem in a clearer
> manner.
I think I understand now, thanks for explaining.
This patch doesn't take care of things in subdirectories or executable
programs, though. I'm unsure this will help much at all. For example,
cross-building vandusen from a checkout would probably break due to the
final program not getting recompiled (you could argue that's due to a
broken dependencies list in the Make target, but the problem exists
either way).
Using "make" for eggs seems wrong to me anyway: normally eggs are always
built in full after downloading. Only very ocasionally does one need to
rebuild just a part. But during development this might be helpful...
Anyway... Because I don't know of a way to fundamentally fix it,
I've slightly modified your patch to at least make it handle
subdirectories. I've added a patch to allow SRE expressions as a test
for find-files, as well (it only accepted procedures, strings and
precompiled irregex objects). The patch also updates the documentation.
Cheers,
Peter
--
http://www.more-magic.net
0001-Change-test-argument-to-find-files-conversion-to-che.patch
Description: Text document
0002-Delete-stale-binaries-in-cross-build-of-egg.patch
Description: Text document
- Re: [Chicken-hackers] [PATCH] Delete stale binaries when cross-building eggs,
Peter Bex <=