-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Prevent Parallelization on Windows #266
Conversation
Windows has an environment size limitation, which catkin can overflow during nested operations. This fixes: ms-iot/ROSOnWindows#148
The previous commit had multiple imports on the same line. This caused a CI break.
Fix for ms-iot/ROSOnWindows#148 |
For the record: this is a re-do of #265. (Please add references like this in the future otherwise all the previous conversation on this topic is not accessible.)
It doesn't seem that the patch is doing what you are describing. It unconditionally disables parallelization on Windows? Also I don't see how parsing of |
@dirk-thomas Thank you for the feedback. For ROS1/catkin, this change will universally disable paralleization on Windows. I believe this is a rare scenario (although correct me if this is an invalid assumption). The previous proposed fix affected both Linux and Windows, whereas this change only affects Windows. |
The question is why?
What scenario are you referring to?
Please reference the fix you are referring to. All linked older tickets (#265, #251, #250) were specific to Windows? |
I believe it is a rare scenario where a development workspace contains more than 100 projects. (With the customer we are engaged with, dependencies are install in the host workspace, so the development workspace is quite small.)
Please ignore this comment. I did not see the history. |
Can you provide more context on this? Why can an existing environment not be replicated in a new process? (Since we are not talking about extending any environment variables.) Can you reference any resources which document that specific limitation / bug.
Ok, I wouldn't call this case rare though. Building a ROS distribution from source commonly involves more packages that this threshold and that is a very common process in the ROS community. |
@ooeygui Any update on this? |
@ooeygui Another friendly ping. |
@dirk-thomas Thanks for the ping. I ended up getting quick sick after ROSCon; I'm on the mend and am digging out. |
@ooeygui Ping. |
I'm going to close this issue. We have a different solution which would keep parallization. |
Windows has a total environment size limitation, which catkin can overflow during nested operations. This change prevents creating a nested catkin operation for exceptionally large work spaces.