CI: Update to LLVM-13
- Switch sources and CI scripts to install and use LLVM-13 - Update to latest "focal" tag. Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
@@ -2,7 +2,7 @@ variables:
|
|||||||
windows_vm: vs2017-win2016
|
windows_vm: vs2017-win2016
|
||||||
ubuntu_vm: ubuntu-18.04
|
ubuntu_vm: ubuntu-18.04
|
||||||
macos_vm: macOS-10.15
|
macos_vm: macOS-10.15
|
||||||
ci_runner_image: trini/u-boot-gitlab-ci-runner:focal-20210827-30Sep2021
|
ci_runner_image: trini/u-boot-gitlab-ci-runner:focal-20210921-05Oct2021
|
||||||
# Add '-u 0' options for Azure pipelines, otherwise we get "permission
|
# Add '-u 0' options for Azure pipelines, otherwise we get "permission
|
||||||
# denied" error when it tries to "useradd -m -u 1001 vsts_azpcontainer",
|
# denied" error when it tries to "useradd -m -u 1001 vsts_azpcontainer",
|
||||||
# since our $(ci_runner_image) user is not root.
|
# since our $(ci_runner_image) user is not root.
|
||||||
@@ -183,7 +183,7 @@ jobs:
|
|||||||
TEST_PY_BD: "sandbox"
|
TEST_PY_BD: "sandbox"
|
||||||
sandbox_clang:
|
sandbox_clang:
|
||||||
TEST_PY_BD: "sandbox"
|
TEST_PY_BD: "sandbox"
|
||||||
OVERRIDE: "-O clang-12"
|
OVERRIDE: "-O clang-13"
|
||||||
sandbox_spl:
|
sandbox_spl:
|
||||||
TEST_PY_BD: "sandbox_spl"
|
TEST_PY_BD: "sandbox_spl"
|
||||||
TEST_PY_TEST_SPEC: "test_ofplatdata or test_handoff or test_spl"
|
TEST_PY_TEST_SPEC: "test_ofplatdata or test_handoff or test_spl"
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# Grab our configured image. The source for this is found at:
|
# Grab our configured image. The source for this is found at:
|
||||||
# https://source.denx.de/u-boot/gitlab-ci-runner
|
# https://source.denx.de/u-boot/gitlab-ci-runner
|
||||||
image: trini/u-boot-gitlab-ci-runner:focal-20210827-30Sep2021
|
image: trini/u-boot-gitlab-ci-runner:focal-20210921-05Oct2021
|
||||||
|
|
||||||
# We run some tests in different order, to catch some failures quicker.
|
# We run some tests in different order, to catch some failures quicker.
|
||||||
stages:
|
stages:
|
||||||
@@ -190,7 +190,7 @@ sandbox test.py:
|
|||||||
sandbox with clang test.py:
|
sandbox with clang test.py:
|
||||||
variables:
|
variables:
|
||||||
TEST_PY_BD: "sandbox"
|
TEST_PY_BD: "sandbox"
|
||||||
OVERRIDE: "-O clang-12"
|
OVERRIDE: "-O clang-13"
|
||||||
<<: *buildman_and_testpy_dfn
|
<<: *buildman_and_testpy_dfn
|
||||||
|
|
||||||
sandbox_spl test.py:
|
sandbox_spl test.py:
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
# This Dockerfile is used to build an image containing basic stuff to be used
|
# This Dockerfile is used to build an image containing basic stuff to be used
|
||||||
# to build U-Boot and run our test suites.
|
# to build U-Boot and run our test suites.
|
||||||
|
|
||||||
FROM ubuntu:focal-20210827
|
FROM ubuntu:focal-20210921
|
||||||
MAINTAINER Tom Rini <trini@konsulko.com>
|
MAINTAINER Tom Rini <trini@konsulko.com>
|
||||||
LABEL Description=" This image is for building U-Boot inside a container"
|
LABEL Description=" This image is for building U-Boot inside a container"
|
||||||
|
|
||||||
@@ -12,7 +12,7 @@ ENV DEBIAN_FRONTEND=noninteractive
|
|||||||
# Add LLVM repository
|
# Add LLVM repository
|
||||||
RUN apt-get update && apt-get install -y gnupg2 wget xz-utils && rm -rf /var/lib/apt/lists/*
|
RUN apt-get update && apt-get install -y gnupg2 wget xz-utils && rm -rf /var/lib/apt/lists/*
|
||||||
RUN wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
|
RUN wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
|
||||||
RUN echo deb http://apt.llvm.org/focal/ llvm-toolchain-focal-12 main | tee /etc/apt/sources.list.d/llvm.list
|
RUN echo deb http://apt.llvm.org/focal/ llvm-toolchain-focal-13 main | tee /etc/apt/sources.list.d/llvm.list
|
||||||
|
|
||||||
# Manually install the kernel.org "Crosstool" based toolchains for gcc-11.1.0
|
# Manually install the kernel.org "Crosstool" based toolchains for gcc-11.1.0
|
||||||
RUN wget -O - https://mirrors.edge.kernel.org/pub/tools/crosstool/files/bin/x86_64/11.1.0/x86_64-gcc-11.1.0-nolibc-aarch64-linux.tar.xz | tar -C /opt -xJ
|
RUN wget -O - https://mirrors.edge.kernel.org/pub/tools/crosstool/files/bin/x86_64/11.1.0/x86_64-gcc-11.1.0-nolibc-aarch64-linux.tar.xz | tar -C /opt -xJ
|
||||||
@@ -39,7 +39,7 @@ RUN apt-get update && apt-get install -y \
|
|||||||
binutils-dev \
|
binutils-dev \
|
||||||
bison \
|
bison \
|
||||||
build-essential \
|
build-essential \
|
||||||
clang-12 \
|
clang-13 \
|
||||||
coreutils \
|
coreutils \
|
||||||
cpio \
|
cpio \
|
||||||
cppcheck \
|
cppcheck \
|
||||||
|
Reference in New Issue
Block a user