gnuastro-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnuastro-commits] master 2e31ae4 103/125: Added -j8 to the suggestions


From: Mohammad Akhlaghi
Subject: [gnuastro-commits] master 2e31ae4 103/125: Added -j8 to the suggestions after ./configure and make
Date: Sun, 23 Apr 2017 22:36:48 -0400 (EDT)

branch: master
commit 2e31ae467b8f443d553afc647a342a8d836c8776
Author: Mohammad Akhlaghi <address@hidden>
Commit: Mohammad Akhlaghi <address@hidden>

    Added -j8 to the suggestions after ./configure and make
    
    The compilation time for some of the libraries with default settings can be
    a few minutes, so it can take very long if the user doesn't use `-j8' with
    `make'.
---
 Makefile.am  |  4 ++--
 configure.ac | 14 +++++++-------
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 8ace4b2..6f3338a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -158,9 +158,9 @@ all-local:
         echo "Gnuastro $(VERSION), was successfully built.";                   
     \
         echo "Please check the build on your system by running:";              
     \
         echo;                                                                  
     \
-        echo "    make check";                                                 
     \
+        echo "    make check -j8";                                             
     \
         echo;                                                                  
     \
-        echo "(Check faster on N threads with 'make check -jN'.)";             
     \
+        echo "(You can change the 8 to the number of CPU threads available.)"; 
     \
         echo "(The following \"Leaving directory\" notices can be ignored.)";  
     \
         echo 
"==================================================================="; \
         echo 
"==================================================================="; \
diff --git a/configure.ac b/configure.ac
index 3182db2..373d990 100644
--- a/configure.ac
+++ b/configure.ac
@@ -671,8 +671,8 @@ AC_OUTPUT
 AS_IF([test x$enable_guide_message = xyes],
 [
   AS_ECHO([])
-  
AS_ECHO([====================================================================])
-  
AS_ECHO([====================================================================])
+  
AS_ECHO([=======================================================================])
+  
AS_ECHO([=======================================================================])
   AS_ECHO(["$PACKAGE_NAME (Gnuastro) $PACKAGE_VERSION is successfully"])
   AS_ECHO(["configured for this machine."])
   AS_ECHO([])
@@ -703,12 +703,12 @@ AS_IF([test x$enable_guide_message = xyes],
      )
   AS_ECHO(["To build Gnuastro $PACKAGE_VERSION, please run:"])
   AS_ECHO([])
-  AS_ECHO(["    make"])
+  AS_ECHO(["    make -j8"])
   AS_ECHO([])
-  AS_ECHO(["(RECOMMENDED: Build faster on N threads with 'make -jN'.)"])
+  AS_ECHO(["(You can change the 8 to the number of CPU threads available.)"])
   AS_ECHO(["(Configure with '--disable-guide-message' for no messages.)"])
-  AS_ECHO(["(Please be patient, some libraries take a few minutes to 
compile.)"])
-  
AS_ECHO([====================================================================])
-  
AS_ECHO([====================================================================])
+  AS_ECHO(["(Please be patient, some libraries can take a few minutes to 
compile.)"])
+  
AS_ECHO([=======================================================================])
+  
AS_ECHO([=======================================================================])
   AS_ECHO([])
 ])



reply via email to

[Prev in Thread] Current Thread [Next in Thread]