bug-gawk
[Top][All Lists]
Advanced

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

Re: [bug-gawk] gawk-4.0.0 not parallel make check friendly


From: Eli Zaretskii
Subject: Re: [bug-gawk] gawk-4.0.0 not parallel make check friendly
Date: Tue, 09 Aug 2011 00:52:30 -0400

> Date: Sun, 7 Aug 2011 20:01:25 -0400
> From: Jack Howarth <address@hidden>
> 
>   While gawk 4.0.0 appears to properly support parallel make and
> make install, the parallel make check is broken. It fails on
> x86_64-apple-darwin11 with...
> [...]
> profile1
> profile2
> profile3
> rebuf
> gawk: fatal: can't open source file `awkprof.out' for reading (No such file 
> or directory)
> regx8bit
> /bin/sh: awkprof.out: No such file or directory
> rm: awkprof.out: No such file or directory
> make[1]: *** [profile1] Error 1
> rm: awkprof.out: No such file or directory
> reint
> make[1]: *** [profile2] Error 1

Does the trivial patch below give good results?

--- test/Makefile.in~0  2011-06-24 04:26:55.000000000 -0400
+++ test/Makefile.in    2011-08-09 00:50:16.727707410 -0400
@@ -1701,19 +1701,19 @@
 profile1:
        @echo $@
        @$(AWK) --profile -f $(srcdir)/xref.awk $(srcdir)/dtdgport.awk > 
address@hidden
-       @$(AWK) -f awkprof.out $(srcdir)/dtdgport.awk > address@hidden ; rm 
awkprof.out
+       @$(AWK) -f awkprof1.out $(srcdir)/dtdgport.awk > address@hidden ; rm 
awkprof1.out
        @cmp address@hidden address@hidden && rm address@hidden || echo EXIT 
CODE: $$? >>_$@
 
 profile2:
        @echo $@
        @$(PGAWK) -v sortcmd=sort -f $(srcdir)/xref.awk $(srcdir)/dtdgport.awk 
> /dev/null
-       @sed 1,2d < awkprof.out > _$@; rm awkprof.out
+       @sed 1,2d < awkprof2.out > _$@; rm awkprof2.out
        @-$(CMP) $(srcdir)/address@hidden _$@ && rm -f _$@
 
 profile3:
        @echo $@
        @$(PGAWK) -f $(srcdir)/address@hidden > /dev/null
-       @sed 1,2d < awkprof.out > _$@; rm awkprof.out
+       @sed 1,2d < awkprof3.out > _$@; rm awkprof3.out
        @-$(CMP) $(srcdir)/address@hidden _$@ && rm -f _$@
 
 next:



reply via email to

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