automake-commit
[Top][All Lists]
Advanced

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

[Automake-commit] [SCM] GNU Automake branch, experimental/ng/incompat-si


From: Stefano Lattarini
Subject: [Automake-commit] [SCM] GNU Automake branch, experimental/ng/incompat-simplifications, created. v1.12.2-669-gaa758b4
Date: Thu, 26 Jul 2012 21:55:30 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Automake".

http://git.sv.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=aa758b48f88e4a86f479d3f25b769ea5e7f5ffbc

The branch, experimental/ng/incompat-simplifications has been created
        at  aa758b48f88e4a86f479d3f25b769ea5e7f5ffbc (commit)

- Log -----------------------------------------------------------------
commit aa758b48f88e4a86f479d3f25b769ea5e7f5ffbc
Author: Stefano Lattarini <address@hidden>
Date:   Thu Jul 26 22:42:56 2012 +0200

    automake: '--add-missing' is on by default
    
    This commit modifies the automake script will always act as if the
    '--add-missing' option were give, and simplifies the documentation
    accordingly.
    
    Future commits will take care of cleaning up the code accordingly.
    
    The new semantics introduced with this change should have ideally
    been the default in automake mainline as well, but they are not,
    likely for historical reasons (as is the case for too many Automake
    warts).
    
    The new semantics also prepare the way for an exciting planning
    change: the distribution of (at first only few) makefile fragments
    to be included at make runtime in the Automake-generated Makefiles,
    instead of having their contents copied over and over in said
    Makefiles.
    
    * automake.in ($add_missing): Define to '1' unconditionally.
    (parse_arguments): The '-a' a.k.a. '--add-missing' option is
    now a no-op.
    * doc/automake-ng.texi: Adjust, in particular with the addition
    of ...
    (Auxiliary files): ... this new node.
    * NG-NEWS: Update.
    * t/add-missing.tap: Simplify: don't check that , if any required
    auxiliary file is missing and automake is called without the '-a'
    or '--add-missing' option, it complains and error out; this is not
    the case anymore.  Also, don't call automake with the '-a' or
    '--add-missing' option; there's no need to now.
    * t/dist-auxfile.sh: Adjust.
    * t/license2.sh: Likewise.
    * t/per-target-flags.sh: Likewise.
    * t/python.sh: Likewise.
    * t/missing-auxfile-stops-makefiles-creation.sh: Remove as obsolete.
    * t/mdate.sh: Likewise.
    
    Signed-off-by: Stefano Lattarini <address@hidden>

commit 77fb5b4129ea68816a79af7ccf70e7accaf14825
Author: Stefano Lattarini <address@hidden>
Date:   Thu Jul 26 22:14:59 2012 +0200

    automake: remove support for threaded execution
    
    First, It add lots of complexity to the Automake script, which might
    get in the way of future refactorings.
    
    Also, the performance enhancements it offers seems to be fairly
    limited:
    <http://lists.gnu.org/archive/html/automake/2009-11/msg00004.html>
    albeit not excessively so:
    <http://www.open-mpi.org/community/lists/devel/2010/09/8524.php>
    
    In the end, the most relevant reason for this change is that we want to
    reach a point, during the yet-to-come maturity of Automake-NG, where it
    will be just a thin layer around the provided scripts and makefile
    fragments (with just a *tiny* smattering of preprocessing), as well as
    around autom4te (for the proper parsing of configure.ac).  At such a
    point, a threaded execution would bring no real benefit.
    
    Oh, and we should really be pushing peoples towards non-recursive
    build systems, where they just have one 'Makefile.am', and thus
    threading on different 'Makefile.am's is irrelevant ;-)
    
    * NG-NEWS: Update.
    * doc/automake-ng.texi, NG-NEWS: Likewise.
    * configure.ac: Don't check for 'ithreads' support in perl.
    Drop AC_SUBST 'PERL_THREADS'.
    * bootstrap.sh (PERL_THREADS): Don't define.
    (dosubst): Don't substitute it.
    * lib/Automake/Config.in ($perl_threads): Define no more.
    (@EXPORT): Drop it.
    * aclocal.in ($perl_threads): Remove, no more needed.
    * automake.in (BEGIN) [$perl_threads]: Don't require nor import
    the 'threads' and 'Thread::Queue' modules.
    (QUEUE_MESSAGE, QUEUE_CONF_FILE, QUEUE_LOCATION, QUEUE_STRING):
    Delete constants.
    ($required_conf_file_queue): Delete variable.
    ($nthreads): Likewise, and thus ...
    (get_number_of_threads): ... delete this function, whose only
    purpose was to initialize that variable.
    (handle_makefiles_serial): Delete, its body inlined in the main
    code.
    (require_file_internal): Don't take the '$QUEUE' argument, nor
    handle threading/serialization calling back ...
    (queue_required_file_check_or_copy): ... this function, which
    has thus been removed.
    (require_libsource_with_macro): Adjust 'require_file_internal'
    call to new signature.
    (require_conf_file): Likewise, in the process dropping any
    handling of threading/serialization.
    (handle_makefiles_threaded): This is no more called anywhere,
    so delete it, together with ...
    (require_queued_file_check_or_copy): ... this, which has in
    that its only caller.
    * lib/Automake/Location.pm (serialize, deserialize): Delete
    as unused.
    * lib/Automake/Channels.pm (setup_channel_queue,
    pop_channel_queue): Likewise.
    (@EXPORT): Adjust.
    (BEGIN) [$perl_threads]: Don't require nor import 'threads'.
    (%_default_options): Remove 'ordered', 'queue' and 'queue_key'
    keys, that were only required for serialization during threaded
    Automake.
    (_merge_options, _print_message): No need to handle those
    options.
    Adjust creation of channels 'automake', 'verb' and 'fatal'.
    (_enqueue, _dequeue): Delete as unused.
    (msg): Adjust a comment.
    (verb): Don't try to display informations about the current
    thread.
    * lib/Automake/DisjConditions.pm (CLONE): Delete, no more
    needed.
    * t/ax/am-test-lib.sh (require_tool): Drop handing of
    requirement 'perl-threads'; it is not used by any test now.
    * t/parallel-am.sh: Remove as obsolete.
    * t/parallel-am2.sh: Likewise.
    * t/parallel-am3.sh: Likewise.
    * t/pm/Condition-t.pl: Likewise.
    * t/pm/DisjConditions-t.pl: Likewise.
    * Makefile.am (check-coverage-run, recheck-coverage-run): Don't
    export 'WANT_NO_THREADS' to "yes", nor unset 'AUTOMAKE_JOBS'.
    
    Signed-off-by: Stefano Lattarini <address@hidden>

commit 94bde9aab7efff7650222e317ef97295c8cfcaed
Merge: 40d140a 1192735
Author: Stefano Lattarini <address@hidden>
Date:   Thu Jul 26 19:01:49 2012 +0200

    Merge branch 'master' into ng/master
    
    * master: (39 commits)
      typofix: in a comment in Makefile.am
      maintcheck: fixup list of files in $(xdefs)
      tests: never source test-defs.sh directly, source test-lib.sh instead
      runtest: sanitize test environment
      tests: remove an obsolescent self test
      tests: "am_using_tap=yes" -> "am_test_protocol=tap"
      tests: protect test libs against multiple inclusion
      configure: testsuite shell can return early from "dot-sourced" files
      tests: move sanitization and "Bournification" in the generic test lib
      tests: source test defs in the generic test lib
      test defs: no need to re-add $srcdir/t/ax to $PATH
      tests: split test libs into "generic" and "automake-specific"
      test setup: move actual calling of testsuite setup in ./defs
      test setup: merge definitions of function for simple tests
      test init: refactor: new function 'am_test_setup'
      test init: refactor: move displaying of debugging info later
      test init: refactor: new function 'am_setup_testdir'
      test init: refactor: new function 'am_set_exit_traps'
      configure: testsuite shell set exit traps in shell functions
      test init: refactor: new function 'am_exit_trap'
      ...
    
    + Extra non-trivial edits:
    
    * Makefile.am (perf_TESTS): Define here, as 't/list-of-tests.mk' is gone
    in the 'ng/master' branch.
    (all_TESTS): Don't list tests in 't/perf'; this reflects the removal of
    $(perf_TESTS) from $(handwritten_TESTS) done in 't/list-of-tests.mk' on
    the 'master' branch.
    
    * t/depcomp-shuffle.sh: Source 'test-lib.sh', not './defs-static'.
    Also, simply use:
        . depcomp-shuffle.sh
    instead of:
        . "$am_testauxdir"/depcomp-shuffle.sh
    to source the helper shell script 'depcomp-shuffle.sh'.  See recent
    commit 'v1.12.2-49-g42fb45b' for a rationale.
    * t/depcomp-shuffle-sub-vpath.sh: Likewise.
    * t/depcomp-shuffle-sub.sh: Likewise.
    * t/depcomp-shuffle-vpath.sh: Likewise.
    
    Signed-off-by: Stefano Lattarini <address@hidden>

-----------------------------------------------------------------------


hooks/post-receive
-- 
GNU Automake



reply via email to

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