1
0
Fork 0

Add openmp deps and update toolchain to 13

This commit is contained in:
Mikhail Goncharov 2021-12-09 17:16:30 +01:00
parent 4df2c2116c
commit cec188edc4
2 changed files with 32 additions and 31 deletions

View file

@ -8,6 +8,7 @@ RUN echo 'intall build dependencies'; \
zip wget git \
cmake gdb build-essential \
ninja-build \
libelf-dev libffi-dev gcc-multilib \
ccache \
python3 python3-psutil \
python3-pip python3-setuptools \
@ -15,8 +16,8 @@ RUN echo 'intall build dependencies'; \
swig python3-dev libedit-dev libncurses5-dev libxml2-dev liblzma-dev golang rsync jq;
RUN wget https://apt.llvm.org/llvm.sh; \
chmod +x llvm.sh; \
./llvm.sh 12;\
apt install -y clang-format-12 clang-tidy-12
./llvm.sh 13;\
apt install -y clang-format-13 clang-tidy-13
RUN echo 'configure locale'; \
sed --in-place '/en_US.UTF-8/s/^#//' /etc/locale.gen ;\
@ -30,11 +31,11 @@ ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
RUN ln -s /usr/bin/clang-12 /usr/bin/clang;\
ln -s /usr/bin/clang++-12 /usr/bin/clang++;\
ln -s /usr/bin/clang-tidy-12 /usr/bin/clang-tidy;\
ln -s /usr/bin/clang-tidy-diff-12.py /usr/bin/clang-tidy-diff;\
ln -s /usr/bin/clang-format-12 /usr/bin/clang-format;\
ln -s /usr/bin/clang-format-diff-12 /usr/bin/clang-format-diff;\
ln -s /usr/bin/lld-12 /usr/bin/lld
RUN ln -s /usr/bin/clang-13 /usr/bin/clang;\
ln -s /usr/bin/clang++-13 /usr/bin/clang++;\
ln -s /usr/bin/clang-tidy-13 /usr/bin/clang-tidy;\
ln -s /usr/bin/clang-tidy-diff-13.py /usr/bin/clang-tidy-diff;\
ln -s /usr/bin/clang-format-13 /usr/bin/clang-format;\
ln -s /usr/bin/clang-format-diff-13 /usr/bin/clang-format-diff;\
ln -s /usr/bin/lld-13 /usr/bin/lld

View file

@ -187,7 +187,7 @@ Most commonly used are:
- `ph_scripts_refspec`: ("main" by default): refspec branch of llvm-premerge-checks to use. This variable is also used in pipeline "bootstrap" in Buildkite interface. Use "branch-name" for branches and "pull/123/head" for Pull Requests.
- `ph_dry_run_report`: do not report any results back to Phabricator.
- `ph_no_cache`: (if set to any value) clear compilation cache before the build.
- `ph_projects`: which projects to use, "detect" will look on diff to infer the projects, "default" selects all projects.
- `ph_projects`: which projects to use (semicolon separated), "detect" will look on diff to infer the projects, "default" selects all projects.
- `ph_notify_email`: comma-separated list of email addresses to be notified when build is complete.
- `ph_log_level` ("DEBUG", "INFO", "WARNING" (default) or "ERROR"): log level for build scripts.
- `ph_linux_agents`, `ph_windows_agents`: custom JSON constraints on agents. For example, you might put one machine to a custom queue if it's errornous and send jobs to it with `ph_windows_agents={"queue": "custom"}`.