← Back to team overview

linuxdcpp-team team mailing list archive

[Bug 557758] Re: scons -j2 mode=release build breaks during help localization

 

the help module isn't made to be parallelized, it uses a temporary dir when building which can contain garbage if 2 builds are running at the same time.
i'm not aware of a way to detect whether SCons is running with a -j flag, nor to instruct it not to apply it to one specific module.
one solution could be to use a different temporary directory for each language, possibly not even make it persist so rebuilds go faster.

in the meantime, the following would probably work:
scons -j2 mode=release help=0
scons mode=release

-- 
scons -j2 mode=release build breaks during help localization
https://bugs.launchpad.net/bugs/557758
You received this bug notification because you are a member of
Dcplusplus-team, which is subscribed to DC++.

Status in DC++: New

Bug description:
scons mode=release (of course) works, but scons -j2 mode=release, scons -j4 mode=release, et cetera fail consistently. hhc.exe, specifically, seems to have problems, but I haven't closely investigated.

scons -j<N> mode=debug works fine.

Tested with scons 1.2.0 and 1.3.0 with identical results.

HTML help compiler version 4.74.8702.





References