[pooma-dev] [PATCH] Use ln rather than cp for * -> *_APP
Tarjei Knapstad
tarjeik at chemcon.no
Tue Jan 21 19:46:43 UTC 2003
On Tue, 2003-01-21 at 17:01, Richard Guenther wrote:
> On 21 Jan 2003, Tarjei Knapstad wrote:
>
> > On Thu, 2003-01-16 at 20:15, Richard Guenther wrote:
> > > Hi!
> > >
> > > The following patch reduces diskspace needed for testsuite compile
> > > by a factor of two.
> > >
> > I had thought of suggesting that, but completely forgot. What is the
> > reason for having the *_APP files there at all? Grepping?
>
> Dont know myself...
>
> > > Ok?
> > >
> > Almost. I would suggest using soft (symbolic) links instead, i.e. ln -sf
> > instead of ln -f.
>
> Thought of this, too, but assuming makefiles from users that delete either
> of the variant using symlinks does no longer work for them, using
> hardlinks does. I'd rather drop the damn thing completely...
>
Well, I guess that's a (minor) point. I would vote for dropping it
completely as I can't see that it makes any sense.
> Anybody still knows why these dups were introduced?
>
The only reason I can think of is that there may have been some make
rule once upon a time that went through every example/benchmark subdir
and ran the binary with _APP in it's filename, but then what would be
the point in having a binary without the _APP suffix? Maybe new rules
were made that didn't need the _APP suffix, but it was kept for
backwards compatibility, who knows.
Tarjei
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://sourcerytools.com/pipermail/pooma-dev/attachments/20030121/feb6d303/attachment.pgp>
More information about the pooma-dev
mailing list