pkgsrc-WIP-discuss archive

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

Re: mlton port and bootstrap auto-dependency



> 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
_______________________________________________
pkgsrc-wip-discuss mailing list
pkgsrc-wip-discuss%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-discuss


Home | Main Index | Thread Index | Old Index