Skip to content

Commit 95f9297

Browse files
authored
Update CentOS 7 to LLVM/Clang 7 (#324)
Note that in `llvm-toolset-7` the 7 refers to the OS version and it had LLVM 3 and 5. But For some reason for LLVM 7 it is now `llvm-toolset-7.0`.
1 parent f53cb8e commit 95f9297

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

swift-ci/master/centos/7/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ RUN yum install --enablerepo=centosplus -y \
1919
libtool \
2020
libuuid-devel \
2121
libxml2-devel \
22-
llvm-toolset-7 \
22+
llvm-toolset-7.0 \
2323
make \
2424
ncurses-devel \
2525
ninja-build \
@@ -39,7 +39,7 @@ RUN yum install --enablerepo=centosplus -y \
3939
which \
4040
zlib-devel
4141

42-
RUN echo -e ". /opt/rh/sclo-git25/enable\n. /opt/rh/llvm-toolset-7/enable\n. /opt/rh/devtoolset-8/enable\n" >> /home/build-user/.bashrc
42+
RUN echo -e ". /opt/rh/sclo-git25/enable\n. /opt/rh/llvm-toolset-7.0/enable\n. /opt/rh/devtoolset-8/enable\n" >> /home/build-user/.bashrc
4343

4444
RUN sed -i -e 's/\*__block/\*__libc_block/g' /usr/include/unistd.h
4545

0 commit comments

Comments
 (0)