summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Z. Yang <ezyang@mit.edu>2018-02-12 17:51:22 -0500
committerSoumith Chintala <soumith@gmail.com>2018-02-12 17:51:22 -0500
commit849f94526b40f325bcf5ea7b8ecc16060e2ac9ec (patch)
treea2a79f6baddc4c76181d4ea8addd96764ebd73b0
parentdf0a4474c49af16bae563000d01a853a179977c8 (diff)
downloadpytorch-849f94526b40f325bcf5ea7b8ecc16060e2ac9ec.tar.gz
pytorch-849f94526b40f325bcf5ea7b8ecc16060e2ac9ec.tar.bz2
pytorch-849f94526b40f325bcf5ea7b8ecc16060e2ac9ec.zip
Set MAX_JOBS=3 for OS X builds. (#5199)
Signed-off-by: Edward Z. Yang <ezyang@fb.com>
-rwxr-xr-x.jenkins/macos-build-test.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/.jenkins/macos-build-test.sh b/.jenkins/macos-build-test.sh
index dc4188e917..cd23ded72f 100755
--- a/.jenkins/macos-build-test.sh
+++ b/.jenkins/macos-build-test.sh
@@ -19,6 +19,8 @@ echo "ENTERED_USER_LAND"
export MACOSX_DEPLOYMENT_TARGET=10.9
export CXX=clang++
export CC=clang
+# If we run too many parallel jobs, we will OOM
+export MAX_JOBS=3
python setup.py install
cd test/
echo "Ninja version: $(ninja --version)"