File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,13 +35,13 @@ RUN wget https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/cm
3535 && rm cmake-${CMAKE_VERSION}-linux-x86_64.sh
3636RUN bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)"
3737
38- RUN apt-get -y install --fix-missing clang-format clang-tidy clang-${PATH } llvm-${PATH } llvm-${PATH }-dev libclang-${PATH }-dev \
38+ RUN apt-get -y install --fix-missing clang-format clang-tidy clang-${CLANG_COMPILER_VERSION } llvm-${CLANG_COMPILER_VERSION } llvm-${CLANG_COMPILER_VERSION }-dev libclang-${CLANG_COMPILER_VERSION }-dev \
3939 && apt-get autoremove -y && apt-get clean
4040
4141RUN mkdir iwyu && cd iwyu \
42- && git clone --branch clang_${PATH } https://github.com/include-what-you-use/include-what-you-use.git \
42+ && git clone --branch clang_${CLANG_COMPILER_VERSION } https://github.com/include-what-you-use/include-what-you-use.git \
4343 && mkdir build && cd build \
44- && cmake -G "Ninja" -DCMAKE_PREFIX_PATH=/usr/lib/llvm-${PATH } ../include-what-you-use \
44+ && cmake -G "Ninja" -DCMAKE_PREFIX_PATH=/usr/lib/llvm-${CLANG_COMPILER_VERSION } ../include-what-you-use \
4545 && sudo ninja install \
4646 && cd ../.. \
4747 && rm -rf iwyu
You can’t perform that action at this time.
0 commit comments