jovany-wang commented on a change in pull request #127: Support muti-thread 
compile in build.sh
URL: 
https://github.com/apache/rocketmq-client-cpp/pull/127#discussion_r308183419
 
 

 ##########
 File path: build.sh
 ##########
 @@ -176,7 +176,7 @@ BuildLibevent()
     if [ $? -ne 0 ];then
         exit 1
     fi    
-    make
+    make -j4
 
 Review comment:
   Let's define a variable to set the num of cpus like:
   ```shell
   NUM_CPUS=4
   ...
   
   make -j $NUM_CPUS
   
   So that if some one's machine has 16 cores, he/she can specify this simply.
   
   ```
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to