Skip to content

sources scanned even with --implicit-cache #1708

Open

Description

@bdbaddog

This issue was originally created at: 2007-08-14 06:01:16.
This issue was reported by: altac.

altac said at 2007-08-14 06:01:16

Hello,

When building a shared library, the --implicit-cache option does not prevent SCons from rescanning all source files. It seems to be due to the fact that the SharedObject builder returns Entry objects instead of File objects (the Entry class knows nothing about stored dependencies).

I am using SCons 0.97 and 0.97.0d20070809.

Example:

env = Environment()
objects = env.SharedObject(sources)
env.Alias('objects', objects)
env.SharedLibrary('mylib1', objects)
env.SharedLibrary('mylib2', [env.File(obj) for obj in objects])
$ scons --implicit-cache objects
==> source files are not scanned twice
 
$ scons --implicit-cache mylib1
==> source files are scanned each time
 
$ scons --implicit-cache mylib2
==> source files are not scanned twice

Best regards,
Emmanuel

gregnoel said at 2008-06-05 17:08:51

Bug party triage: Ken to research it and determine where in the 1.x timeframe it should be worked. With luck, Ken can fix it as well; if not, kick it to either Steven or Benoit.

gregnoel said at 2010-07-21 16:59:27

Bug party triage. Bump the priority of this issue.

gregnoel said at 2010-09-06 11:39:29

Increase priority so this issue will be reviewed at next bug party.

gregnoel said at 2010-09-27 18:02:03

Bug party triage. Steven to research issue; review issue two meetings hence.

gregnoel said at 2010-11-14 18:41:56

Promote issue so it will be reviewed at next bug party.

Activity

  1. added this to the milestone on Jan 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions