Skip to content

Replace hardcoded "-jX" for make#420

Merged
inclement merged 4 commits into
kivy:masterfrom
thopiekar:master
Oct 3, 2015
Merged

Replace hardcoded "-jX" for make#420
inclement merged 4 commits into
kivy:masterfrom
thopiekar:master

Conversation

@thopiekar

Copy link
Copy Markdown
Contributor

I've noticed that "make -j5" was set globally when push_arm was done.
There might be other places were -j5 is missing now but I think they can be fixed very quickly.

@thopiekar

Copy link
Copy Markdown
Contributor Author

Just added now -j$MAKE_JOBS to all make commands (untested but beleave it works) and replaced all hardcoded -jX options with -j$MAKE_JOBS

@thopiekar thopiekar changed the title Replace hardcoded "-j5" for make Replace hardcoded "-jX" for make Jul 25, 2015
Comment thread distribute.sh

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe this should check if MAKE_JOBS is already set, so you can tell it how many jobs to use? Like if [ -z "$MAKE_JOBS" -a -f /proc/cpuinfo ]; then ...

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Didn't think about this situation. I'm not so good in bash just found a variation of this on the web and rewritten it.
Would it be a problem to merge the PR and you could make this tweak?

inclement added a commit that referenced this pull request Oct 3, 2015
Replace hardcoded "-jX" for make
@inclement inclement merged commit fc88bbc into kivy:master Oct 3, 2015
@inclement

Copy link
Copy Markdown
Member

I guess the only reason this wasn't merged was kived's observation, but it still seems like an improvement so I'll merge it anyway. Sorry for the delay.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants