socsvn commit: r237571 - soc2012/scher/par_ports/head/Mk

scher at FreeBSD.org scher at FreeBSD.org
Tue Jun 12 21:29:33 UTC 2012


Author: scher
Date: Tue Jun 12 21:29:30 2012
New Revision: 237571
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=237571

Log:
  [fixed] changes in _parv_DEFAULT_PAR_BUILDS_NUM to get
          logical CPUs (including e.g. hyperthreading) number
  

Modified:
  soc2012/scher/par_ports/head/Mk/bsd.parallel.mk

Modified: soc2012/scher/par_ports/head/Mk/bsd.parallel.mk
==============================================================================
--- soc2012/scher/par_ports/head/Mk/bsd.parallel.mk	Tue Jun 12 21:07:48 2012	(r237570)
+++ soc2012/scher/par_ports/head/Mk/bsd.parallel.mk	Tue Jun 12 21:29:30 2012	(r237571)
@@ -59,7 +59,7 @@
 .endfor
 .endif #!{.TARGETS}
 
-_parv_DEFAULT_PAR_BUILDS_NUM!= sysctl -a | grep hw.n | awk '{print $$2}'
+_parv_DEFAULT_PAR_BUILDS_NUM!= ${SYSCTL} -n kern.smp.cpus
 ############### THIS ENTRY IS FOR DEBUGGING PURPOSE  ###############
 ############### Custom number of parallel builds for debugging
 _parv_DEFAULT_PAR_BUILDS_NUM= 3


More information about the svn-soc-all mailing list