Discussion:
[perl #55544] [BUG] Dynpmcs Don't Depend on Parrot::Pmc2c::*
(too old to reply)
Chromatic
2008-06-10 00:34:09 UTC
Permalink
# New Ticket Created by chromatic
# Please include the string: [perl #55544]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=55544 >


I just modified Parrot::Pmc2c::PMCEmitter.pm and rebuilt Parrot. The PMCs in
src/dynpmc/ didn't get rebuilt as the PMCs in src/pmc/ did. This indicates
that the former are missing a Makefile dependency.

This should be an easy fix for a Makefile hacker.

-- c
Chromatic
2009-02-06 02:18:57 UTC
Permalink
Post by Chromatic
This should be an easy fix for a Makefile hacker.
We have 'make' target dynpmc-clean which is included in 'clean'. So if
you called 'make clean' before reconfiguring, wouldn't this achieve your
objective?
No; there's no reconfiguring. Running 'make clean' before rebuilding Parrot
gives up almost all of the advantages of maintaining proper dependencies in a
Makefile, and telling people to run 'make clean' after modifying code which
generates dynpmcs but not necessarily core PMCs is an awkward special case.

-- c

Loading...