From 94c1ad26d5509639c6c11f8b972ac882383909fd Mon Sep 17 00:00:00 2001 From: Brock Allen Date: Sat, 27 Jan 2024 23:00:25 +0000 Subject: [PATCH] fix: typos --- builder.Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/builder.Dockerfile b/builder.Dockerfile index d372742..0c9600a 100644 --- a/builder.Dockerfile +++ b/builder.Dockerfile @@ -57,16 +57,16 @@ RUN ln -s /usr/bin/clang-tidy-${llvm_version} /usr/local/bin/clang-tidy # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # option A: install rust and install clang wrappers via cargo -this option installs rust and cargo, and then compiles the clang wrappers from scratch. -this can take a significant amount of time (e.g., several minutes just to compile one tool), -and also increases the image size significantly. therefore, we go for option B below. +# this option installs rust and cargo, and then compiles the clang wrappers from scratch. +# this can take a significant amount of time (e.g., several minutes just to compile one tool), +# and also increases the image size significantly. therefore, we go for option B below. RUN curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain stable -y ENV PATH=/root/.cargo/bin:$PATH -Each takes around 280 s to build on an M2 macbook air +# Each takes around 280 s to build on an M2 macbook air RUN cargo install run-clang-format -# RUN cargo install run-clang-tidy +RUN cargo install run-clang-tidy # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # option B: install pre-built clang wrappers