bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gmake on Cray X1


From: Ted Stern
Subject: Re: gmake on Cray X1
Date: Thu, 05 May 2005 15:27:06 -0700
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux)

On  5 May 2005 at 15:08 UTC-0700, Kate Hedstrom wrote:
>> Aha, I see now.  I hadn't noticed that the 'open' version was 3.79.
>> Bummer.  I use loads of 3.80 features also.
>> 
>> You might be able to build 3.79 on the T3E, though ...
>> 
>> What feature(s) are you using?  I might have some workarounds.
>
> This is the problem function:
>
> subdirectory = $(patsubst %/Module.mk,%, \
>                  $(word                \
>                    $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST)))
>
> The workaround so far is to have the directory hardcode its own name.
> We don't have so very many for this to be a burden.
>
> Kate

How is that function used?  I thought the $(word) and $(words)
functions were available in 3.79.  Or maybe my memory is hazy ... is
it $(word) that was added?

Another thing I do is that I go the opposite direction:  I give a list
of directories (which you could extract via a $(shell) command to
find piped through sed, etc.), then I include the makefiles under
those directories.

Ted
-- 
 Ted Stern                                 Applications Group
 Cray Inc.                               office: 206-701-2182
 411 First Avenue South, Suite 600         cell: 206-383-1049
 Seattle, WA 98104-2860                     FAX: 206-701-2500

 Frango ut patefaciam -- I break so that I may reveal
 (The Paleontological Society motto, equally apropos for debugging)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]