From: Jason Gunthorpe <jgg@xxxxxxxxxxxx> Latest release Signed-off-by: Jason Gunthorpe <jgg@xxxxxxxxxxxx> --- buildlib/azure-pipelines.yml | 10 +++++----- buildlib/cbuild | 5 ++++- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/buildlib/azure-pipelines.yml b/buildlib/azure-pipelines.yml index f488bfe607c482..f6f71ac0adfa42 100644 --- a/buildlib/azure-pipelines.yml +++ b/buildlib/azure-pipelines.yml @@ -67,9 +67,9 @@ stages: set -e mkdir build-clang cd build-clang - CC=clang-7 CFLAGS="-Werror -m32 -msse3" cmake -GNinja .. -DIOCTL_MODE=both -DNO_PYVERBS=1 + CC=clang-8 CFLAGS="-Werror -m32 -msse3" cmake -GNinja .. -DIOCTL_MODE=both -DNO_PYVERBS=1 ninja - displayName: clang 7.0 32-bit Compile + displayName: clang 8.0 32-bit Compile - bash: | set -e @@ -97,12 +97,12 @@ stages: echo 'set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror")' >> buildlib/RDMA_EnableCStd.cmake sed -i -e 's/-DCMAKE_BUILD_TYPE=Release/-DCMAKE_BUILD_TYPE=Debug/g' debian/rules sed -i -e 's/ninja \(.*\)-v/ninja \1/g' debian/rules - debian/rules CC=clang-7 build - displayName: clang 7.0 Bionic Build + debian/rules CC=clang-8 build + displayName: clang 8.0 Bionic Build - bash: | set -e fakeroot debian/rules binary - displayName: clang 7.0 Bionic .deb Build + displayName: clang 8.0 Bionic .deb Build - job: SrcPrep displayName: Build Source Tar diff --git a/buildlib/cbuild b/buildlib/cbuild index 34051e55c24e81..0be5d498bc1ae8 100755 --- a/buildlib/cbuild +++ b/buildlib/cbuild @@ -432,7 +432,7 @@ class azure_pipelines(bionic): "abi-compliance-checker", "abi-dumper", "ca-certificates", - "clang-7", + "clang-8", "fakeroot", "gcc-9", "git", @@ -467,6 +467,9 @@ class azure_pipelines(bionic): self.add_ppa(tmpdir, "deb http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu bionic main", "60C317803A41BA51845E371A1E9377A2BA9EF27F"); + self.add_ppa(tmpdir, + "deb [arch=amd64] http://apt.llvm.org/bionic/ llvm-toolchain-bionic-8 main", + "15CF4D18AF4F7421"); self.add_source_list(tmpdir,"arm64.list", """deb [arch=arm64] http://ports.ubuntu.com/ bionic main universe deb [arch=arm64] http://ports.ubuntu.com/ bionic-security main universe -- 2.22.0