From ddb0de3e54b2630d74a72b8793262f342b8a2f6a Mon Sep 17 00:00:00 2001
From: Pietro Incardona <incardon@mpi-cbg.de>
Date: Sat, 29 Oct 2016 00:02:34 +0200
Subject: [PATCH] Reducing time for build

---
 build.sh        | 4 ++--
 install         | 2 +-
 openfpm_devices | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/build.sh b/build.sh
index c6e02a6a..cae85bd4 100755
--- a/build.sh
+++ b/build.sh
@@ -31,7 +31,7 @@ then
   ./install -s -c "--prefix=/home/jenkins/openfpm_install"
  else
   ./install -m -s -c "--prefix=/home/jenkins/openfpm_install"
-  make $4
+  make $3
  fi
  if [ $? -ne 0 ]; then
    curl -X POST --data "payload={\"icon_emoji\": \":jenkins:\", \"username\": \"jenkins\"  , \"attachments\":[{ \"title\":\"Error:\", \"color\": \"#FF0000\", \"text\":\"$2 failed to complete the openfpm_pdata test \" }] }" https://hooks.slack.com/services/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
@@ -97,7 +97,7 @@ else
   ./install -s -c "--prefix=/Users/jenkins/openfpm_install"
  else
   ./install -m -s -c "--prefix=/Users/jenkins/openfpm_install"
-  make $4
+  make $3
  fi
 
  if [ $? -ne 0 ]; then
diff --git a/install b/install
index d03fd8d0..b3290c2b 100755
--- a/install
+++ b/install
@@ -318,8 +318,8 @@ echo "LIBS_SE2=-lvcluster -lofpmmemory_se2 -lparmetis -lmetis -lboost_iostreams
 cp example.mk src/example.mk
 cp example.mk example/example.mk
 
-make clean
 if [ $nomake -eq 0 ]; then
+  make clean
   make
 fi
 
diff --git a/openfpm_devices b/openfpm_devices
index f30adc13..03ee21ce 160000
--- a/openfpm_devices
+++ b/openfpm_devices
@@ -1 +1 @@
-Subproject commit f30adc1393b290e31ead7aad44974a9d1f1e03fe
+Subproject commit 03ee21ce3023ef71fd7f51e77cebf104ddf22b19
-- 
GitLab