check GNU make exists in path

Signed-off-by: Giridhar Prasath R <cristianoprasath@gmail.com>
This commit is contained in:
Giridhar Prasath R 2019-09-12 07:35:32 +05:30 committed by Qi Wang
parent 22bc75ee3e
commit e06658cb24

View File

@ -14,7 +14,7 @@ nparallel = cpu_count() * 2
uname = uname()[0] uname = uname()[0]
if "BSD" in uname: if call("command -v gmake", shell=True) == 0:
make_cmd = 'gmake' make_cmd = 'gmake'
else: else:
make_cmd = 'make' make_cmd = 'make'