-
-
Notifications
You must be signed in to change notification settings - Fork 529
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
Remove hard-coded -j8
argument for make
#610
Comments
Hi,
|
Hi @simrankedia,
|
Hi @julianoes, Also, please let me know how to build all the required components, so that I can test the edit I have made. |
You can still do other things but they will be slowed down. I think it's common practice to use Check the build instructions here: |
Agreed. And there is always |
Hi @julianoes Thanks. |
Nice @simrankedia! So the way it works is that you fork this repository and then create a pull request from there. |
Hi @julianoes I have raised a pull request. Kindly have a look. |
@simrankedia: I see your branch here on your fork, but not a PR. Are you sure you opened a pull request to this repo? From your branch, click "Pull Request", add a description (add "Resolves #610" in the description), and hit "Create pull request". Then it will appear here on the DronecodeSDK repo :-). |
Hi @JonasVautherin, Sorry my bad. I have raised the PR now. |
The current Makefile is sort of a wrapper script around cmake and that's a bit confusing.
Especially annoying is actually the hard-coded
-j8
argument for make. It would be better if this was taken from the CPU count or your settings for make (MAKEFLAGS
).https://github.com/Dronecode/DronecodeSDK/blob/ef45e4ddb7a8c5dcd0ac20df9a330afdaa9a7be6/Makefile#L22
More thoughts: https://stackoverflow.com/questions/10567890/parallel-make-set-j8-as-the-default-option
The text was updated successfully, but these errors were encountered: