[pooma-dev] RFA: Prevent Thousands of Calls to findsuite.sh

Jeffrey Oldham oldham at codesourcery.com
Thu Mar 15 06:51:38 UTC 2001


On Wed, Mar 14, 2001 at 10:47:18PM -0800, Jeffrey Oldham wrote:
> The attached patch empirically reduced 3567 calls to findsuite.sh to
> one call during one "make".

head.mk is located in the config Pooma directory.

> 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
> 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)


-- 
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