From d71c437adf1217381771fada51765e167ef5f9b9 Mon Sep 17 00:00:00 2001 From: "Edward Z. Yang" Date: Tue, 29 Aug 2017 17:29:43 -0400 Subject: [PATCH] Initialize submodules in build. Signed-off-by: Edward Z. Yang --- jenkins/pytorch/build_nimbix.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/jenkins/pytorch/build_nimbix.sh b/jenkins/pytorch/build_nimbix.sh index a32ce72c6..6de61e98b 100644 --- a/jenkins/pytorch/build_nimbix.sh +++ b/jenkins/pytorch/build_nimbix.sh @@ -184,6 +184,7 @@ git clone https://github.com/pytorch/$PROJECT --quiet cd $PROJECT git fetch --tags https://github.com/pytorch/$PROJECT +refs/pull/*:refs/remotes/origin/pr/* --quiet git checkout $GIT_BRANCH +git submodule update --init --recursive if [ "$OS" == "OSX" ]; then export MACOSX_DEPLOYMENT_TARGET=10.9