Browse Source

Testing with an extra make

DigiDaz 9 years ago
parent
commit
b6a1a3b1a3
1 changed files with 3 additions and 2 deletions
  1. 3 2
      install/debian/install_fusionpbx.sh

+ 3 - 2
install/debian/install_fusionpbx.sh

@@ -82,8 +82,8 @@ FSStablefile=freeswitch-1.6.6
 FSDB=p
 FSDB=p
 
 
 #right now, make -j not working. see: jira FS-3005
 #right now, make -j not working. see: jira FS-3005
-#CORES=$(/bin/grep processor -c /proc/cpuinfo)
-CORES=1
+CORES=$(/bin/grep processor -c /proc/cpuinfo)
+#CORES=1
 FQDN=$(hostname -f)
 FQDN=$(hostname -f)
 #SRCPATH="/usr/src/freeswitch" #DEFAULT
 #SRCPATH="/usr/src/freeswitch" #DEFAULT
 SRCPATH="/usr/src/freeswitch"
 SRCPATH="/usr/src/freeswitch"
@@ -1379,6 +1379,7 @@ EOF
 			#per anthm compile the freeswitch core first, then the modules.
 			#per anthm compile the freeswitch core first, then the modules.
 			/usr/bin/time /usr/bin/make -j $CORES core
 			/usr/bin/time /usr/bin/make -j $CORES core
 			/usr/bin/time /usr/bin/make -j $CORES
 			/usr/bin/time /usr/bin/make -j $CORES
+			/usr/bin/time /usr/bin/make
 		else 
 		else 
 			/bin/echo "  singlecore processor detected. Starting compile sans -j"
 			/bin/echo "  singlecore processor detected. Starting compile sans -j"
 			/usr/bin/time /usr/bin/make 
 			/usr/bin/time /usr/bin/make