← Back to team overview

instant team mailing list archive

[HG instant] Changed some statements from instant_info to instant_debug, reducing the

 

One or more new changesets pushed to the primary instant repository.
A short summary of the last three changesets is included below.

changeset:   248:3fd1523831f039648fd84298285690c796d75b86
tag:         tip
user:        "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
date:        Sat Sep 13 17:36:32 2008 +0200
files:       src/instant/build_module.py
description:
Changed some statements from instant_info to instant_debug, reducing the
amount of default printing to only the "--- Instant: compiling ---" statement.


changeset:   247:4e6760e27d255c00c555eba89625ed340a43ff30
user:        "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
date:        Thu Sep 11 14:43:33 2008 +0200
files:       src/instant/signatures.py
description:
Changed .upper() to .lower() in checksum digest.


changeset:   246:93354337f9697e59ceef5b54e7f66c601768d79d
user:        "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
date:        Mon Sep 08 15:36:47 2008 +0200
files:       src/instant/build_module.py src/instant/cache.py src/instant/codegeneration.py src/instant/paths.py tests/test19.py
description:
Cleanup in cache system. Added test19.py which tests building and rebuilding with cache in several ways.

Behaviour of build_module is as follows:
- If modulename is provided, no cache is used and the module directory is placed locally.
  However, the module is not rebuilt if the checksum of the files is the same as last building.
- If signature is provided, it should be an identifier for the whole module configuration.
  That is, it must include information about the compilation flags etc.
  Otherwise, import_module(signature) wouldn't be possible.
  This mode is what FFC and SFC will use.
- If no modulename or signature is provided, a signature is computed from the checksum
  of all arguments and user-supplied files (i.e. not including the instant-generated files like setup.py).
  This mode is used by the inline* functions, and may be the best choice for dolfin.compile_function.


----------------------------------------------------------------------
For more details, visit http://www.fenics.org/hg/instant