← Back to team overview

instant team mailing list archive

md5sum on what?

 

It seems Instant does not ignore the name of the module when
looking for previously built modules in the cache.

Here's a simple example:

  foo = create_extension(wrap_headers=["foo.h"], module="foo", ...)
  bar = create_extension(wrap_headers=["foo.h"], module="bar", ...)

Here, I want Instant to realize that the code for both modules is the
same (the file foo.h) so it should only need to build the module once.

This does not seem to be the case. Can it be fixed?

This is important when running time-dependent problems where the form
(and the code) remains the same but the system needs to be assembled
in each time step.

-- 
Anders


Follow ups