Revision: 43779
http://brlcad.svn.sourceforge.net/brlcad/?rev=43779&view=rev
Author: jordisayol
Date: 2011-03-08 13:50:06 +0000 (Tue, 08 Mar 2011)
Log Message:
-----------
change the number of simultaneous jobs on "make", during deb/rpm building
process
Modified Paths:
--------------
brlcad/trunk/misc/debian/rules
brlcad/trunk/sh/make_rpm.sh
Modified: brlcad/trunk/misc/debian/rules
===================================================================
--- brlcad/trunk/misc/debian/rules 2011-03-08 13:49:18 UTC (rev 43778)
+++ brlcad/trunk/misc/debian/rules 2011-03-08 13:50:06 UTC (rev 43779)
@@ -1,6 +1,6 @@
#!/usr/bin/make -f
-# Author: Jordi Sayol <[email protected]>
+# Author: Jordi Sayol <[email protected]>
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
@@ -18,7 +18,7 @@
PARALLEL_OPTIONS = -j$(PARALLEL_JOBS)
else
ifneq (,$(shell getconf _NPROCESSORS_ONLN))
- PARALLEL_OPTIONS = -j$(shell getconf _NPROCESSORS_ONLN)
+ PARALLEL_OPTIONS = -j$(shell getconf _NPROCESSORS_ONLN | sed
"s/.*/&*2-1/" | bc)
endif
endif
# DEB_BUILD_OPTIONS
@@ -44,7 +44,7 @@
dh_testdir
dh_testroot
dh_prep
- dh_installdirs
+ dh_installdirs
$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
@@ -66,4 +66,4 @@
dh_builddeb -a
binary: binary-arch
-.PHONY: build clean binary-arch binary install
+.PHONY: build clean binary-arch binary install
Modified: brlcad/trunk/sh/make_rpm.sh
===================================================================
--- brlcad/trunk/sh/make_rpm.sh 2011-03-08 13:49:18 UTC (rev 43778)
+++ brlcad/trunk/sh/make_rpm.sh 2011-03-08 13:50:06 UTC (rev 43779)
@@ -153,7 +153,7 @@
# compile and install in tmp dir
./configure --enable-optimized --enable-almost-everything --with-ogl
--disable-debug
-make -j`getconf _NPROCESSORS_ONLN`
+make -j`getconf _NPROCESSORS_ONLN | sed "s/.*/&*2-1/" | bc`
fakeroot make install DESTDIR=`pwd`"/$TMPDIR/tmp"
# copy menu files
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits