Re: svn commit: r266579 - head/release/picobsd/build

2014-05-23 Thread Ian Lepore
On Fri, 2014-05-23 at 08:10 +, Luigi Rizzo wrote:
> Author: luigi
> Date: Fri May 23 08:10:07 2014
> New Revision: 266579
> URL: http://svnweb.freebsd.org/changeset/base/266579
> 
> Log:
>   add libraries to the initial build for picobsd.
>   
>   add a -j option so we can tune the amount of parallel make,
>   the default we used (-j 8) is large and was giving problems
>   with SUBDIR_PARALLEL due to some missing dependencies.
> 

Do you have info on what missing dependencies?  Were they in the lib/
hierarchy, or somewhere else?  I have a sketchy hand-wavy plan for
handling dependencies with finer-grained control than the current .WAIT
mechanism, but I haven't hurried to work on it because I didn't think
anyone was having any trouble.

-- Ian


___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r266579 - head/release/picobsd/build

2014-05-23 Thread Luigi Rizzo
Author: luigi
Date: Fri May 23 08:10:07 2014
New Revision: 266579
URL: http://svnweb.freebsd.org/changeset/base/266579

Log:
  add libraries to the initial build for picobsd.
  
  add a -j option so we can tune the amount of parallel make,
  the default we used (-j 8) is large and was giving problems
  with SUBDIR_PARALLEL due to some missing dependencies.

Modified:
  head/release/picobsd/build/picobsd

Modified: head/release/picobsd/build/picobsd
==
--- head/release/picobsd/build/picobsd  Fri May 23 06:47:47 2014
(r266578)
+++ head/release/picobsd/build/picobsd  Fri May 23 08:10:07 2014
(r266579)
@@ -177,7 +177,7 @@ create_includes_and_libraries2() { # opt
cd $1 ; ${BINMAKE} ${o_par} $2  # specific target, e.g. ld-elf.so
 else
export MAKEOBJDIRPREFIX=${l_objtree}
-   make ${o_par} $no toolchain
+   make ${o_par} $no toolchain libraries
# XXX do we need any of these ?
 eval export `cd ${SRC}; ${BINMAKE} -f Makefile.inc1 -V WMAKEENV`
[ ${o_arch} != `uname -m` ] && \
@@ -1055,8 +1055,13 @@ set_defaults
 while [ true ]; do
 log "Parsing $1"
 case $1 in
+-j)
+   o_par="-j $2"
+   shift
+   ;;
+
 --par)
-   o_par="-j 8"
+   o_par="-j 8"# watch out, this might be too large
;;
 
 --src) # set the source path instead of /usr/src
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"