File tree 7 files changed +0
-20
lines changed 7 files changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -68,9 +68,6 @@ COPY --from=cuda11.8 /usr/local/cuda-11.8 /usr/local/cuda-11.8
68
68
COPY --from=cuda12.1 /usr/local/cuda-12.1 /usr/local/cuda-12.1
69
69
70
70
FROM ${BASE_TARGET} as final
71
- # Install LLVM
72
- COPY --from=pytorch/llvm:9.0.1 /opt/llvm /opt/llvm
73
- COPY --from=pytorch/llvm:9.0.1 /opt/llvm_no_cxx11_abi /opt/llvm_no_cxx11_abi
74
71
COPY --from=openssl /opt/openssl /opt/openssl
75
72
COPY --from=patchelf /patchelf /usr/local/bin/patchelf
76
73
COPY --from=conda /opt/conda /opt/conda
Original file line number Diff line number Diff line change @@ -72,9 +72,6 @@ RUN bash ./install_rocm_drm.sh && rm install_rocm_drm.sh
72
72
RUN bash ./install_rocm_magma.sh && rm install_rocm_magma.sh
73
73
74
74
FROM ${BASE_TARGET} as final
75
- # Install LLVM
76
- COPY --from=pytorch/llvm:9.0.1 /opt/llvm /opt/llvm
77
- COPY --from=pytorch/llvm:9.0.1 /opt/llvm_no_cxx11_abi /opt/llvm_no_cxx11_abi
78
75
COPY --from=openssl /opt/openssl /opt/openssl
79
76
# Install patchelf
80
77
ADD ./common/install_patchelf.sh install_patchelf.sh
Original file line number Diff line number Diff line change @@ -114,8 +114,6 @@ RUN git config --global --add safe.directory "*"
114
114
115
115
ENV SSL_CERT_FILE=/opt/_internal/certs.pem
116
116
# Install LLVM version
117
- COPY --from=pytorch/llvm:9.0.1 /opt/llvm /opt/llvm
118
- COPY --from=pytorch/llvm:9.0.1 /opt/llvm_no_cxx11_abi /opt/llvm_no_cxx11_abi
119
117
COPY --from=openssl /opt/openssl /opt/openssl
120
118
COPY --from=python /opt/python /opt/python
121
119
COPY --from=python /opt/_internal /opt/_internal
Original file line number Diff line number Diff line change @@ -97,8 +97,6 @@ RUN git config --global --add safe.directory "*"
97
97
98
98
ENV SSL_CERT_FILE=/opt/_internal/certs.pem
99
99
# Install LLVM version
100
- COPY --from=pytorch/llvm:9.0.1 /opt/llvm /opt/llvm
101
- COPY --from=pytorch/llvm:9.0.1 /opt/llvm_no_cxx11_abi /opt/llvm_no_cxx11_abi
102
100
COPY --from=openssl /opt/openssl /opt/openssl
103
101
COPY --from=base /opt/python /opt/python
104
102
COPY --from=base /opt/_internal /opt/_internal
Original file line number Diff line number Diff line change @@ -48,8 +48,6 @@ ADD ./common/install_libpng.sh install_libpng.sh
48
48
RUN bash ./install_libpng.sh && rm install_libpng.sh
49
49
50
50
FROM base as final
51
- COPY --from=pytorch/llvm:9.0.1 /opt/llvm /opt/llvm
52
- COPY --from=pytorch/llvm:9.0.1 /opt/llvm_no_cxx11_abi /opt/llvm_no_cxx11_abi
53
51
COPY --from=openssl /opt/openssl /opt/openssl
54
52
COPY --from=python /opt/python /opt/python
55
53
COPY --from=python /opt/_internal /opt/_internal
Original file line number Diff line number Diff line change @@ -139,12 +139,8 @@ esac
139
139
140
140
if [[ " $DESIRED_DEVTOOLSET " == * " cxx11-abi" * ]]; then
141
141
export _GLIBCXX_USE_CXX11_ABI=1
142
- export USE_LLVM=" /opt/llvm"
143
- export LLVM_DIR=" $USE_LLVM /lib/cmake/llvm"
144
142
else
145
143
export _GLIBCXX_USE_CXX11_ABI=0
146
- export USE_LLVM=" /opt/llvm_no_cxx11_abi"
147
- export LLVM_DIR=" $USE_LLVM /lib/cmake/llvm"
148
144
fi
149
145
150
146
if [[ " $DESIRED_CUDA " == * " rocm" * ]]; then
Original file line number Diff line number Diff line change 103
103
104
104
if [[ " $DESIRED_DEVTOOLSET " == * " cxx11-abi" * ]]; then
105
105
export _GLIBCXX_USE_CXX11_ABI=1
106
- export USE_LLVM=" /opt/llvm"
107
- export LLVM_DIR=" $USE_LLVM /lib/cmake/llvm"
108
106
else
109
107
export _GLIBCXX_USE_CXX11_ABI=0
110
- export USE_LLVM=" /opt/llvm_no_cxx11_abi"
111
- export LLVM_DIR=" $USE_LLVM /lib/cmake/llvm"
112
108
fi
113
109
114
110
if [[ " $DESIRED_CUDA " == * " rocm" * ]]; then
You can’t perform that action at this time.
0 commit comments