summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMohamed Mansour2015-08-05 12:56:33 -0500
committerMohamed Mansour2015-08-05 12:56:33 -0500
commitdd55fd2c8cb1b104042ea73fe5b5d5e74fa567a9 (patch)
treefba032c20b3647d78431332a10a6caf7bef365cd
parent6a823c0fc7b7c95117e6f44216e607abb3151748 (diff)
downloadti-graph-library-dd55fd2c8cb1b104042ea73fe5b5d5e74fa567a9.tar.gz
ti-graph-library-dd55fd2c8cb1b104042ea73fe5b5d5e74fa567a9.tar.xz
ti-graph-library-dd55fd2c8cb1b104042ea73fe5b5d5e74fa567a9.zip
Changing Makefile to compile MPI only when compiler existsHEADDEV.TIGL.01.00.00.01master
-rw-r--r--debian/changelog10
-rw-r--r--src/app/Makefile14
2 files changed, 22 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index bbd2b39..6f922e9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,15 @@
1ti-gl (01.00.00.01-0ubuntu0~ppa2) trusty; urgency=high 1ti-gl (01.00.00.01-0ubuntu0~ppa4) trusty; urgency=high
2
3 * changes to compile mpi examples only if mpi is present
4
5 -- TI Keystone PPA <ti-keystone-ppa@list.ti.com> Wed, 5 Aug 2015 12:47:46 -0400
6
7ti-gl (01.00.00.01-0ubuntu0~ppa3) trusty; urgency=high
2 8
3 * removing cmem allocation component 9 * removing cmem allocation component
4 10
11 -- TI Keystone PPA <ti-keystone-ppa@list.ti.com> Thu, 25 Jun 2015 18:22:09 -0400
12
5ti-gl (01.00.00.00-0ubuntu0~ppa2) trusty; urgency=high 13ti-gl (01.00.00.00-0ubuntu0~ppa2) trusty; urgency=high
6 14
7 * Fixing src/common/api/tiglApiCombiner.hpp, src/common/implmenetation/tiglImplementationCombiner.hpp, src/app/appSSSP/appSSSP.cpp and src/app/appSSSP/appSSSP.hpp 15 * Fixing src/common/api/tiglApiCombiner.hpp, src/common/implmenetation/tiglImplementationCombiner.hpp, src/app/appSSSP/appSSSP.cpp and src/app/appSSSP/appSSSP.hpp
diff --git a/src/app/Makefile b/src/app/Makefile
index 645a3a9..ad01363 100644
--- a/src/app/Makefile
+++ b/src/app/Makefile
@@ -138,7 +138,19 @@ LD_FLAGS += -lrt
138endif 138endif
139CPP_LINK_FLAGS = -Wall 139CPP_LINK_FLAGS = -Wall
140 140
141all:${APPDIR}/appPageRank/appPageRank ${APPDIR}/appPageRank/appPageRankMpi ${APPDIR}/appSSSP/appSSSP ${APPDIR}/appSSSP/appSSSPMpi ${APPDIR}/appGenerateGraph/appGenerateGraph 141EXES=${APPDIR}/appPageRank/appPageRank
142EXES+=${APPDIR}/appSSSP/appSSSP
143EXES+=${APPDIR}/appGenerateGraph/appGenerateGraph
144
145MPICC_PRESENT := $(shell which $(MPICC) 2>/dev/null)
146
147# IF MPI is present, add the below targets
148ifdef MPICC_PRESENT
149 EXES+= ${APPDIR}/appPageRank/appPageRankMpi
150 EXES+= ${APPDIR}/appSSSP/appSSSPMpi
151endif
152
153all:$(EXES)
142 154
143################################################################################ 155################################################################################
144# 156#