DescriptionMake root invocation less crazy so that multiprocessing works on Windows
Previously gyp.bat runs "python gyp" and "gyp" imports "gyp" expecting to
get pylib/gyp/__init__.py. Multiprocessing tries to fork and doesn't find
the entry point named gyp because it doesn't search for non-.py
extensions.
Instead, make non-Windows match with a wrapper 'gyp' in bash, and make the
python entry point gyp_main.py so that importing works more normally.
Also, remove "Using parallel processing..." message so that tests pass,
otherwise they complain that there was output on stderr. This was failing
on other OSs too.
R=thakis@chromium.org
BUG=154205
Committed: https://code.google.com/p/gyp/source/detail?r=1667
Patch Set 1 #
Total comments: 2
Patch Set 2 : . #
Total comments: 1
Messages
Total messages: 5 (0 generated)
|