Re: mlton port and bootstrap auto-dependency

Havard Eidnes <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.wip.general
Message-ID <[email protected]>
> Hallo,
> I recently committed wip/mlton.
> mlton: http://mlton.org is an optimizing sml compiler.
> I provided two bootstrapping procedures, the first needs
> smlnj and works fine but requires huge resources: more than
> 1.5 Gb memory and 3-8 hours cpu usage.
> The second procedure uses mlton itself and compiles in 15 min.
> but it does not work inside pkgsrc.
> The procedure uses include files and static libraries installed
> with mlton itself;
> I attempted to use the buildlink3 framework but buildlink3
> ignores any self-dependency.
> I browsed both the documentation and some of the mk sources
> but was not able to find the solution of this dilemma.
> Imho, since mlton is already installed as a package, buildlink3
> has no good reason to ignore the dependency and avoid building the 
> necessary symlinks.

Perhaps avoid the problem by creating a "milton-bootstrap"
package which the "milton" package proper can have a buildlink3
file pointing into?

You'd obviously have to arrange it so that both can be installed
at the same time, which may pose its own challenges.

Regards,

- Håvard

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.