Skip to content

Commit 399bb4e

Browse files
committed
Don't install LLVM libraries
Signed-off-by: cyy <cyyever@outlook.com>
1 parent 0d40ff3 commit 399bb4e

File tree

3 files changed

+0
-9
lines changed

3 files changed

+0
-9
lines changed

.ci/docker/build.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,6 @@ docker build \
353353
${no_cache_flag} \
354354
${progress_flag} \
355355
--build-arg "BUILD_ENVIRONMENT=${image}" \
356-
--build-arg "LLVMDEV=${LLVMDEV:-}" \
357356
--build-arg "VISION=${VISION:-}" \
358357
--build-arg "UBUNTU_VERSION=${UBUNTU_VERSION}" \
359358
--build-arg "DEVTOOLSET_VERSION=${DEVTOOLSET_VERSION}" \

.ci/docker/ubuntu-rocm/Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,5 @@ RUN rm install_openmpi.sh
133133
ARG BUILD_ENVIRONMENT
134134
ENV BUILD_ENVIRONMENT ${BUILD_ENVIRONMENT}
135135

136-
# Install LLVM dev version (Defined in the pytorch/builder github repository)
137-
COPY --from=pytorch/llvm:9.0.1 /opt/llvm /opt/llvm
138-
139136
USER jenkins
140137
CMD ["bash"]

.ci/docker/ubuntu/Dockerfile

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -175,11 +175,6 @@ RUN rm install_openmpi.sh
175175
ARG BUILD_ENVIRONMENT
176176
ENV BUILD_ENVIRONMENT ${BUILD_ENVIRONMENT}
177177

178-
# Install LLVM dev version (Defined in the pytorch/builder github repository)
179-
ARG SKIP_LLVM_SRC_BUILD_INSTALL
180-
COPY --from=pytorch/llvm:9.0.1 /opt/llvm /opt/llvm
181-
RUN if [ -n "${SKIP_LLVM_SRC_BUILD_INSTALL}" ]; then set -eu; rm -rf /opt/llvm; fi
182-
183178
# AWS specific CUDA build guidance
184179
ENV TORCH_CUDA_ARCH_LIST Maxwell
185180
ENV TORCH_NVCC_FLAGS "-Xfatbin -compress-all"

0 commit comments

Comments
 (0)