bug-make
[Top][All Lists]
Advanced

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

[bug #14927] Fix for building archive members in parallel


From: Paul D. Smith
Subject: [bug #14927] Fix for building archive members in parallel
Date: Mon, 2 Jan 2023 23:51:54 -0500 (EST)

Follow-up Comment #10, bug #14927 (project make):

The real question is, should we modify the default rules to allow parallel
archive builds to work out of the box?  Or should we just make it possible for
users to rewrite the rules to allow it if they want to?

In order to allow it by default we'd have to violate POSIX requirements, which
say that the rules for building archives are:

.c.a:
        $(CC) -c $(CFLAGS) $<
        $(AR) $(ARFLAGS) $@ $*.o
        rm -f $*.o

which is what GNU make uses (basically) and is clearly incompatible with
parallel builds.  And, if we do update the default rules, should we put them
back of .POSIX: is given?


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?14927>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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