From: Eduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Date: Thu, 22 Dec 2016 15:58:38 +0000 (+0100)
Subject: #3044 creaToolsTools Bug New Normal  -  Fedora 24 ThirdParty library conflict with... 
X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=c5351cccaed613ac35c2b210140eedef72c616c1;p=creaToolsTools.git

#3044 creaToolsTools Bug New Normal  -  Fedora 24 ThirdParty library conflict with gcc6
---

diff --git a/Linux/scripts/ThirdParty-install-ITK.sh b/Linux/scripts/ThirdParty-install-ITK.sh
index c6e456e..e6aaafa 100644
--- a/Linux/scripts/ThirdParty-install-ITK.sh
+++ b/Linux/scripts/ThirdParty-install-ITK.sh
@@ -169,7 +169,7 @@ then
   #uncomment following line if you want to use the bleeding edge of GDCM2!
   #cmake -D ITK_USE_SYSTEM_GDCM:BOOL=ON CMakeCache.txt
   cmake CMakeCache.txt
-  make -j 
-  make install
+  make -j $corenumber
+  make -j $corenumber install
   cd ..
 fi
diff --git a/Linux/scripts/ThirdParty-install-VTK.sh b/Linux/scripts/ThirdParty-install-VTK.sh
index 6621550..1c65f68 100644
--- a/Linux/scripts/ThirdParty-install-VTK.sh
+++ b/Linux/scripts/ThirdParty-install-VTK.sh
@@ -178,7 +178,7 @@ then
   cmake -D CMAKE_CXX_FLAGS:STRING='-std=c++03' CMakeCache.txt
 
 ##EED 2016-12-22  make -j $corenumber
-  make -j
-  make install
+  make -j $corenumber
+  make -j $corenumber install
   cd ..
 fi
diff --git a/Linux/scripts/ThirdParty-install-WT.sh b/Linux/scripts/ThirdParty-install-WT.sh
index 9d09d2b..9ddfaef 100644
--- a/Linux/scripts/ThirdParty-install-WT.sh
+++ b/Linux/scripts/ThirdParty-install-WT.sh
@@ -148,7 +148,7 @@ then
 #     ###
 #  fi
 
-  make -j
+  make -j $corenumber
   su -c 'make install'
   cd ..
 fi
diff --git a/Linux/scripts/ThirdParty-install-gdcm.sh b/Linux/scripts/ThirdParty-install-gdcm.sh
index 9445e2b..3ede261 100644
--- a/Linux/scripts/ThirdParty-install-gdcm.sh
+++ b/Linux/scripts/ThirdParty-install-gdcm.sh
@@ -131,8 +131,8 @@ then
   cmake -D VTK_DIR:PATH=$VTK_DIR CMakeCache.txt
   cmake -D GDCM_VTK:BOOL=ON -D GDCM_NAME_SPACE:STRING=gdcm13 CMakeCache.txt
   cmake -D CMAKE_CXX_FLAGS:STRING='-std=c++03' CMakeCache.txt
-  make -j
-  make install
+  make -j $corenumber
+  make -j $corenumber install
   cd ..
 fi