Skip to content

Commit 2efcd96

Browse files
committed
BLD: fix submodule update in gitpod.Dockerfile
This is analogous to what SciPy does.
1 parent 286e6b8 commit 2efcd96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/gitpod/gitpod.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ COPY --chown=gitpod . /tmp/numpy_repo
88

99
# the clone should be deep enough for versioneer to work
1010
RUN git clone --shallow-since=2021-05-22 file:////tmp/numpy_repo /tmp/numpy
11-
RUN git submodule update --init
1211

1312
# -----------------------------------------------------------------------------
1413
# Using the numpy-dev Docker image as a base
@@ -35,6 +34,7 @@ COPY --from=clone --chown=gitpod /tmp/numpy ${WORKSPACE}
3534
WORKDIR ${WORKSPACE}
3635

3736
# Build numpy to populate the cache used by ccache
37+
RUN git submodule update --init --depth=1 -- numpy/core/src/umath/svml
3838
RUN conda activate ${CONDA_ENV} && \
3939
python setup.py build_ext --inplace && \
4040
ccache -s

0 commit comments

Comments
 (0)