[Pkg-ofed-commits] r357 - /trunk/mpitests/trunk/Makefile

gmpc-guest at alioth.debian.org gmpc-guest at alioth.debian.org
Thu Jun 4 13:40:31 UTC 2009


Author: gmpc-guest
Date: Thu Jun  4 13:40:29 2009
New Revision: 357

URL: http://svn.debian.org/wsvn/pkg-ofed/?sc=1&rev=357
Log:
Fix incorrect use of PWD in makefile

Modified:
    trunk/mpitests/trunk/Makefile

Modified: trunk/mpitests/trunk/Makefile
URL: http://svn.debian.org/wsvn/pkg-ofed/trunk/mpitests/trunk/Makefile?rev=357&op=diff
==============================================================================
--- trunk/mpitests/trunk/Makefile (original)
+++ trunk/mpitests/trunk/Makefile Thu Jun  4 13:40:29 2009
@@ -9,34 +9,33 @@
 INSTALL_IMB=IMB-3.1
 INSTALL_PRESTA=presta-1.4.0
 INSTALL_OSU=osu_benchmarks-3.0
+ROOTDIR=`pwd`
+
 all: ibm osu presta
 install: install-ibm install-presta install-osu
 
 # The variable $@ has the value of the target. 
 ibm: 
-	cd $(PWD)/$(INSTALL_IMB)/src && make MPIHOME=$(MPIHOME) IMB-MPI1
+	cd $(ROOTDIR)/$(INSTALL_IMB)/src && make MPIHOME=$(MPIHOME) IMB-MPI1
 osu: 
-	cd $(PWD)/$(INSTALL_OSU) && make MPIHOME=$(MPIHOME)
+	cd $(ROOTDIR)/$(INSTALL_OSU) && make MPIHOME=$(MPIHOME)
 presta:
-	cd $(PWD)/$(INSTALL_PRESTA) && make MPIHOME=$(MPIHOME)
+	cd $(ROOTDIR)/$(INSTALL_PRESTA) && make MPIHOME=$(MPIHOME)
 clean-ibm: 
-	cd $(PWD)/$(INSTALL_IMB)/src && make MPIHOME=$(MPIHOME) clean
+	cd $(ROOTDIR)/$(INSTALL_IMB)/src && make MPIHOME=$(MPIHOME) clean
 clean-osu: 
-	cd $(PWD)/$(INSTALL_OSU) && make MPIHOME=$(MPIHOME) clean
+	cd $(ROOTDIR)/$(INSTALL_OSU) && make MPIHOME=$(MPIHOME) clean
 clean-presta:
-	cd $(PWD)/$(INSTALL_PRESTA) && make MPIHOME=$(MPIHOME) clean
+	cd $(ROOTDIR)/$(INSTALL_PRESTA) && make MPIHOME=$(MPIHOME) clean
 clean: clean-ibm clean-presta clean-osu 
-#	rm -rf $(INSTALL_DIR)/usr/bin
+
 install-ibm:
-#	mkdir -p $(INSTALL_DIR)/$(INSTALL_IMB)
 	cp -f $(INSTALL_IMB)/src/IMB-MPI1 $(INSTALL_DIR)/usr/bin
 install-presta:
-#	mkdir -p $(INSTALL_DIR)/$(INSTALL_PRESTA)
 	cp -f $(INSTALL_PRESTA)/com    		$(INSTALL_DIR)/usr/bin
 	cp -f $(INSTALL_PRESTA)/glob     	$(INSTALL_DIR)/usr/bin
 	cp -f $(INSTALL_PRESTA)/globalop 	$(INSTALL_DIR)/usr/bin
 install-osu:
-#	mkdir -p $(INSTALL_DIR)/$(INSTALL_OSU)
 	cp -f $(INSTALL_OSU)/osu_bw		$(INSTALL_DIR)/usr/bin
 	cp -f $(INSTALL_OSU)/osu_bibw		$(INSTALL_DIR)/usr/bin
 	cp -f $(INSTALL_OSU)/osu_bcast		$(INSTALL_DIR)/usr/bin




More information about the Pkg-ofed-commits mailing list