[PATCH] Use ln rather than cp for * -> *_APP

Richard Guenther rguenth at tat.physik.uni-tuebingen.de
Thu Jan 16 19:15:08 UTC 2003


Hi!

The following patch reduces diskspace needed for testsuite compile
by a factor of two.

Ok?

Richard.

diff -ur cvs/r2/config/Shared/rules.mk pooma-testsuite/r2/config/Shared/rules.mk
--- cvs/r2/config/Shared/rules.mk	2001-04-14 20:27:25.000000000 +0200
+++ pooma-testsuite/r2/config/Shared/rules.mk	2003-01-03 21:24:22.000000000 +0100
@@ -229,7 +229,7 @@
 	@echo LinkToSuite... See $(subst $(THISDIR)/,,$(INFO_FILE));\
 	echo "$(PRE_CMDLINE) $(LD_LINK_CMDLINE)" | $(PERL) $(SHARED_ROOT)/pretty.pl ld >> $(INFO_FILE);
 	@$(PRE_CMDLINE) $(LD_LINK_CMDLINE) $(SUITE_REDIRECT)
-	@-cp $@ $@_$(PASS)
+	@-ln -f $@ $@_$(PASS)
 	$(infotimestamp)
 	@if [ ! -r $@ ]; then \
 		echo "Error linking $@";\




More information about the pooma-dev mailing list