You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When SCons is called in no-execute mode, and ninja is set up, it builds anyway, which is a bit of a surprise. A snip of a session using a modified version of the example from issue #4342 is pasted here:
ninja-4342]$ find subA -type fsubA/subB/src/filec.csubA/subB/src/fileb.csubA/subB/src/filea.csubA/subB/src/filed.csubA/subB/SConscriptninja-4342]$ scons -nscons: Reading SConscript files ...Initializing ninja tool... this feature is experimental. SCons internals and all environments will be affected.SCons running in ninja mode. build.ninja will be generated.scons: done reading SConscript files.scons: Building targets ...Generating: build.ninjaninja will be run with command line targets:Executing: /home/mats/.pyenv/versions/venv-system/lib64/python3.11/site-packages/ninja/data/bin/ninja -f /home/mats/github/scons/exp/ninja-4342/build.ninja -j1[5/5] Archiving subA/subB/libLIB_MANUAL.ascons: done building targets.ninja-4342]$ find subA -type fsubA/subB/libLIB_MANUAL.asubA/subB/src/filec.csubA/subB/src/filed.osubA/subB/src/filea.osubA/subB/src/fileb.csubA/subB/src/filea.csubA/subB/src/filed.csubA/subB/src/filec.osubA/subB/src/fileb.osubA/subB/SConscriptninja-4342]$
Alternatives mentioned would be to propagate -n to the ninja call, or alternatively, to not call ninja in this mode.
When SCons is called in no-execute mode, and ninja is set up, it builds anyway, which is a bit of a surprise. A snip of a session using a modified version of the example from issue #4342 is pasted here:
Alternatives mentioned would be to propagate
-n
to the ninja call, or alternatively, to not call ninja in this mode.Discord brief discussion link: https://discord.com/channels/571796279483564041/705176473711018024/1100802115418460182
The text was updated successfully, but these errors were encountered: