Skip to content
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

Building Linux parallel parameter shell freezes #141

Closed
Nickrader opened this issue Apr 16, 2024 · 1 comment
Closed

Building Linux parallel parameter shell freezes #141

Nickrader opened this issue Apr 16, 2024 · 1 comment
Assignees
Labels
documentation Improvements or additions to documentation
Milestone

Comments

@Nickrader
Copy link
Contributor

Nickrader commented Apr 16, 2024

Documentation, https://github.com/cpp-sc2/cpp-sc2/blob/master/docs/building.md#linux-cmdline , shows building using parameter --parallel.

This can cause shell to lockup when building protobuf.
Building CXX object _deps/protobuf-build/CMakeFiles/libprotobuf.dir/src/google/protobuf/compiler/subprocess.cc.o

Workaround to pass 'n-1' threads your cpu supports to --parallel parameter.
E.g. cmake --build build --parallel -j 7 assuming your cpu supports 8 threads.

To Reproduce
Follow build steps using Linux, leaving '--parallel' as is.

Expected behavior
Finish compilation of project

Desktop (please complete the following information):

  • OS / Distro: Ubuntu 23.10

I am assuming this would fall under documentation change? Or maybe fails elsewhere for others?

@alkurbatov
Copy link
Member

Updated the documentation.

@alkurbatov alkurbatov added this to the v2.0.0 milestone May 28, 2024
@alkurbatov alkurbatov added the documentation Improvements or additions to documentation label May 28, 2024
@alkurbatov alkurbatov self-assigned this May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants