[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] Cleanup SWIG generator to work with parallel make

From: David James <james82_at_gmail.com>
Date: 2005-12-19 05:54:35 CET

[[[
Checkout SWIG libraries and build external runtimes one at a time, so as
to be more friendly to parallel make. Move functionality for checking out
SWIG libraries into checkout_swig_header.py.

* build.conf
  (swig-checkout-files): New configuration value. Defines which SWIG headers
  should be checked out from the SWIG library.

* build/generator/gen_make.py, build/generator/gen_win.py
  (Generator.write): Checkout SWIG headers using new checkout_swig_header
  module.

* build/generator/swig/__init__.py
  (Generator.write): Read swig-checkout-files config variable.
  (Generator.checkout): Remove function. Move into checkout_swig_header.py.

* build/generator/swig/external_runtime.py
  (Generator.write): Rewrite function. Build external runtime for each
  language.
  (Generator.write_makefile_rules): Pass language into $(GEN_SWIG_RUNTIME).
  Add $(SWIG_CHECKOUT_FILES) as dependency.
  (Generator.write_external_runtime): Remove code for checking out SWIG
  libraries. Moved to checkout_swig_header.py.

* build/generator/swig/checkout_swig_header.py: New file. Checkout files from
  the SWIG library into Subversion's proxy directory.
]]]

--
David James -- http://www.cs.toronto.edu/~james


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Mon Dec 19 05:55:39 2005

This is an archived mail posted to the Subversion Dev mailing list.