File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ RUN cd /tmp && \
2626
2727ADD https://api.github.com/repos/deepmodeling/abacus-develop/git/refs/heads/develop /dev/null
2828
29- RUN git clone https://github.com/deepmodeling/abacus-develop.git --depth 1 && \
29+ RUN git clone https://github.com/deepmodeling/abacus-develop.git -b LTS - -depth 1 && \
3030 cd abacus-develop && \
3131 cmake -B build -DUSE_CUDA=ON -DENABLE_RAPIDJSON=ON && \
3232 cmake --build build -j`nproc` && \
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ ADD https://api.github.com/repos/deepmodeling/abacus-develop/git/refs/heads/deve
3232 # This will fetch the latest commit info, and store in docker building cache.
3333 # If there are newer commits, docker build will ignore the cache and build latest codes.
3434
35- RUN git clone https://github.com/deepmodeling/abacus-develop.git --depth 1 && \
35+ RUN git clone https://github.com/deepmodeling/abacus-develop.git -b LTS - -depth 1 && \
3636 cd abacus-develop && \
3737 cmake -B build -DENABLE_DEEPKS =ON -DENABLE_LIBXC =ON -DENABLE_LIBRI =ON -DENABLE_RAPIDJSON =ON && \
3838 cmake --build build -j`nproc` && \
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ ENV CMAKE_PREFIX_PATH=/opt/libtorch/share/cmake
5656ADD https://api.github.com/repos/deepmodeling/abacus-develop/git/refs/heads/develop /dev/null
5757
5858RUN source /opt/intel/oneapi/setvars.sh && \
59- git clone https://github.com/deepmodeling/abacus-develop.git --depth 1 && \
59+ git clone https://github.com/deepmodeling/abacus-develop.git -b LTS - -depth 1 && \
6060 cd abacus-develop && \
6161 cmake -B build -DENABLE_DEEPKS=ON -DENABLE_LIBXC=ON -DENABLE_LIBRI=ON -DENABLE_RAPIDJSON=ON && \
6262 cmake --build build -j`nproc` && \
You can’t perform that action at this time.
0 commit comments