-
-
Notifications
You must be signed in to change notification settings - Fork 520
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
Resolves #610 #622
Resolves #610 #622
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.
Awesome, thank you. One small comment needs to be deleted, then this is good to be merged.
NPROCS := $(shell grep -c ^processor /proc/cpuinfo) | ||
endif | ||
ifeq ($(OS),Darwin) #Mac OS | ||
NPROCS := $(shell sysctl -n hw.ncpu || echo 1) |
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.
Tested, works.
OS := $(shell uname -s) | ||
|
||
ifeq ($(OS),Linux) | ||
NPROCS := $(shell grep -c ^processor /proc/cpuinfo) |
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.
Works on my Arch Linux.
Hi, |
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.
Great, thanks.
Resolves #610