From b3372909e1fde4d61669ed9a4bd2012c521d34f8 Mon Sep 17 00:00:00 2001 From: Yan Chunwei Date: Mon, 23 Apr 2018 20:29:04 +0800 Subject: [PATCH] add num_workers for make (#23) --- build_paddle.xsh | 1 + 1 file changed, 1 insertion(+) diff --git a/build_paddle.xsh b/build_paddle.xsh index 430bf96..d4e6fa0 100755 --- a/build_paddle.xsh +++ b/build_paddle.xsh @@ -4,6 +4,7 @@ $XONSH_SHOW_TRACEBACK = True import sys; sys.path.insert(0, '') import config +import os num_workers = os.environ.get('num_workers', 8)