[Scons-users] Has anyone seen anything like this

Olivier, Jeffrey V jeffrey.v.olivier at intel.com
Wed May 25 14:24:01 EDT 2022


I've worked around the problem for now.  On your comment about the VariantDir, can you have more than one?  For example, something like

VariantDir("{}/src".format(build_prefix), 'src', duplicate=0)
# Execute SConscripts in this path

VariantDir("{}/utils".format(build_prefix), 'utils', duplicate=0)
# Execute SConscripts in this path
________________________________
From: Scons-users <scons-users-bounces at scons.org> on behalf of Bill Deegan <bill at baddogconsulting.com>
Sent: Wednesday, May 25, 2022 10:24 AM
To: SCons users mailing list <scons-users at scons.org>
Subject: Re: [Scons-users] Has anyone seen anything like this

Generally VariantDir(build_prefix, '.', duplicate=0) where the source dir is '.' and the variant dir is a subdir of that is a bad idea as you can end up with recursive expansion of the variant dir...
Which can lead to a lot of issues.

Please try SCons 4.3.0
Not sure it will resolve the issue, but 4.2.0 is quite old.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20220525/9efef24a/attachment.htm>


More information about the Scons-users mailing list