RFA: Prevent Thousands of Calls to findsuite.sh

Jeffrey Oldham oldham at codesourcery.com
Thu Mar 15 06:47:18 UTC 2001


The attached patch empirically reduced 3567 calls to findsuite.sh to
one call during one "make".

Is it acceptable to add this change to the Pooma CVS tree?

(I will be away for the next four days.)

Thanks,
Jeffrey D. Oldham
oldham at codesourcery.com
-------------- next part --------------
Index: head.mk
===================================================================
RCS file: /home/pooma/Repository/r2/config/head.mk,v
retrieving revision 1.6
diff -c -p -r1.6 head.mk
*** head.mk	1999/07/21 04:56:08	1.6
--- head.mk	2001/03/15 06:44:28
*************** SUITE = $(POOMASUITE)
*** 43,49 ****
  endif
  
  ifndef SUITE
! SUITE        = $(shell $(SHARED_ROOT)/findsuite.sh $(PROJECT_ROOT))
  endif
  
  LIBRARY_ROOT = $(PROJECT_ROOT)/lib/$(SUITE)
--- 43,49 ----
  endif
  
  ifndef SUITE
! SUITE        := $(shell $(SHARED_ROOT)/findsuite.sh $(PROJECT_ROOT))
  endif
  
  LIBRARY_ROOT = $(PROJECT_ROOT)/lib/$(SUITE)


More information about the pooma-dev mailing list