Skip to content

Commit f31845d

Browse files
committed
move submodule update.
1 parent d6e4e68 commit f31845d

File tree

5 files changed

+2
-3
lines changed

5 files changed

+2
-3
lines changed

.circleci/unittest/linux/scripts/install.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ conda install -y -c "pytorch-${UPLOAD_CHANNEL}" pytorch ${cudatoolkit}
3838

3939
# 2. Install torchaudio
4040
printf "* Installing torchaudio\n"
41-
git submodule update --init --recursive
4241
BUILD_SOX=1 python setup.py install
4342

4443
# 3. Install Test tools

.circleci/unittest/linux/scripts/setup_env.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ conda activate "${env_dir}"
4343
pip --quiet install cmake ninja
4444

4545
# 4. Buld codecs
46+
git submodule update --init --recursive
4647
mkdir -p third_party/build
4748
(
4849
cd third_party/build

packaging/build_conda.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,4 @@ export NO_CUDA_PACKAGE=1
99
setup_env 0.8.0
1010
export SOURCE_ROOT_DIR="$PWD"
1111
setup_conda_pytorch_constraint
12-
git submodule update --init --recursive
1312
conda build $CONDA_CHANNEL_FLAGS --no-anaconda-upload --python "$PYTHON_VERSION" packaging/torchaudio

packaging/build_wheel.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ setup_wheel_python
1111
pip_install numpy future
1212
setup_pip_pytorch_version
1313
python setup.py clean
14-
git submodule update --init --recursive
1514
if [[ "$OSTYPE" == "msys" ]]; then
1615
python_tag="$(echo "cp$PYTHON_VERSION" | tr -d '.')"
1716
python setup.py bdist_wheel --plat-name win_amd64 --python-tag $python_tag

packaging/pkg_helpers.bash

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ setup_macos() {
103103
#
104104
# Usage: setup_env 0.2.0
105105
setup_env() {
106+
git submodule update --init --recursive
106107
setup_cuda
107108
setup_build_version "$1"
108109
setup_macos

0 commit comments

Comments
 (0)