Hi,

After I upgrade nmake to the 2008-11-04 version, I am getting the following warning messages:

make: ".MAKEINIT", line 467: warning: .SEMAPHORE: maximum semaphore count is 254

After I did some research, I have identified that the above warning is caused line#3 and 738 in our global makefile.

3 set recurse:=4

736 .CHANGERECURSE_LEVEL : .VIRTUAL .BEFORE .MAKE .FORCE
737 if "$(~.ARGS:M=.CVSUPDATE|cvsupdate)"
738 set recurse:=$(CVSUPDATERECURSE)
739 end
740
741 .MAKEINIT : .CHANGERECURSE_LEVEL .STATICLINK .SET_LIB_BIN_PATHS 
.SET_ARCHITECTURE_RELATED.
742

854 CVSUPDATERECURSE=16

The T1 value of in the line#4186 of the base makefile set to bigger than 256 and trigger warning.
4186 T1 := $(-recurse:/[^0-9]//G)
4187 if T1 > 0
4188 T2 =
4189 while T1 > 0
4190 let T1 = T1 - 1
4191 T2 += .SEMAPHORE
4192 end
4193 .RECURSE.SEMAPHORE : $(T2)
4194 end
4195 .INITIALIZED. = 1

How can I set the recurse variable to 16 for the coshell to distribute cvs checkout jobs from the 16 module directories at a time?

Thank you
Sang
_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users

Reply via email to