Hello, all. As some of you already know, the -jN option in make specifies the number of jobs (N) to run simultaneously. Fink CVS HEAD now provides support for this as follows:
* There's a new entry in fink.conf, MaxBuildJobs, which should contain the aforementioned N value. fink configure has been modified to include the corresponding prompt. * There's a new boolean package description field: UseMaxBuildJobs. If true, Fink will automatically append -jN to MAKEFLAGS, even if NoSetMAKEFLAGS is true. The default is UseMaxBuildJobs: false. This is an opt-in feature -- package maintainers must explicitly set UseMaxBuildJobs: true in their package descriptions. As there are some packages known not to build correctly with -j, this new feature won't affect them. If your package already sets -j, possibly via sysctl hw.ncpu or sysctl hw.activecpu, consider changing it UseMaxBuildJobs. Also, as Alex Strange insightfully observed, in general hw.activecpu should be used instead of hw.ncpu because users may choose to disable one or more CPUs/cores; fink configure uses hw.activecpu when suggesting an initial value for MaxBuildJobs. If you're willing to checkout CVS HEAD, please test this new feature. Feedback is more than welcome. Cheers, -- monipol ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Fink-devel mailing list [email protected] http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel
