From d02eac0c000984865dd1ce2474715538f8439470 Mon Sep 17 00:00:00 2001 From: Louis Dionne Date: Fri, 11 Dec 2020 14:12:59 -0500 Subject: [PATCH] [libc++] Fix Docker image build after installing clang-format --- libcxx/utils/ci/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libcxx/utils/ci/Dockerfile b/libcxx/utils/ci/Dockerfile index c7f8a32..6161dd4 100644 --- a/libcxx/utils/ci/Dockerfile +++ b/libcxx/utils/ci/Dockerfile @@ -51,8 +51,8 @@ RUN apt-get update && apt-get install -y libc6-dev-i386 # Required to cross-comp # Install the most recently released LLVM RUN apt-get update && apt-get install -y lsb-release wget software-properties-common RUN bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" -RUN ln -s $(find /usr/bin -regex '.+/clang\+\+-[a-zA-Z0-9.]+') /usr/bin/clang++ -RUN ln -s $(find /usr/bin -regex '.+/clang-[a-zA-Z0-9.]+') /usr/bin/clang +RUN ln -s $(find /usr/bin -regex '^.+/clang\+\+-[0-9.]+$') /usr/bin/clang++ +RUN ln -s $(find /usr/bin -regex '^.+/clang-[0-9.]+$') /usr/bin/clang # Install a recent GCC RUN add-apt-repository ppa:ubuntu-toolchain-r/test -- 2.7.4