-
-
Notifications
You must be signed in to change notification settings - Fork 18.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUG: Disable parallel cythonize on Windows (GH 30214) #30585
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you also enable this for Windows CI? Would be curious to see how much time it saves there
@WillAyd If I "enable" it for Windows CI, then all compiles would run sequentially. So that wouldn't save time (assuming the parallel stuff is working now). What am I missing here? |
I meant should add the “-j N” flag to the build command for Windows in the CI folder. We currently don’t pass anything so Cythonization and compilation are sequential
…Sent from my iPhone
On Dec 31, 2019, at 4:04 PM, Irv Lustig ***@***.***> wrote:
Can you also enable this for Windows CI? Would be curious to see how much time it saves there
@WillAyd If I "enable" it for Windows CI, then all compiles would run sequentially. So that wouldn't save time (assuming the parallel stuff is working now). What am I missing here?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
OK, I put that in the last commit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've tried this solution out, and compilation works fine for me.
Would be interesting to try parallizing on Windows when cython/cython#3262 is solved in a new Cython release.
thanks @Dr-Irv |
black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff
Added test in
setup.py
to check if nthreads is positive and on Windows.