[Scons-users] Scons and parts

Pico Geyer picogeyer at gmail.com
Fri Aug 11 11:34:20 EDT 2017


Hi all.

We have a scons build system that has grown rather large.
One particular subproject has to generate many many object files.
Scons is now getting quite slow just to complete reading all the
Sconscript files.
I remember reading that the parts project
(http://parts.stage.tigris.org/) could help break the project into
smaller components and thus keep scons' running time under control
when we're not trying to build the massive project anyway.

Unfortunately it doesn't look like the parts project has been updated
in long time and the latest version from svn seems like it doesn't
work with the latest scons:
AttributeError: 'module' object has no attribute '_semi_deepcopy_inst':
  File "/home/pico/work/dev/sconstest/parts/SConstruct", line 1:
    from parts import *
  File "/usr/lib/python2.7/site-packages/parts/__init__.py", line 7:
    from main import *
  File "/usr/lib/python2.7/site-packages/parts/main.py", line 8:
    import common
  File "/usr/lib/python2.7/site-packages/parts/common.py", line 62:
    g_base_env= SCons.Script.Environment(tools=[])
  File "/usr/lib/python2.7/site-packages/SCons/Environment.py", line 919:
    self._dict = semi_deepcopy(SCons.Defaults.ConstructionEnvironment)
  File "/usr/lib/python2.7/site-packages/SCons/Util.py", line 474:
    return copier(x)
  File "/usr/lib/python2.7/site-packages/SCons/Util.py", line 459:
    copy[key] = semi_deepcopy(val)
  File "/usr/lib/python2.7/site-packages/parts/env_overrides.py", line 230:
    return SCons.Util._semi_deepcopy_inst(x)

Does anyone know if Parts will still be maintained?

Best regards,
Pico


More information about the Scons-users mailing list