From 14978b4aad2ce9c0d73f07d24878de19e0a0a594 Mon Sep 17 00:00:00 2001 From: kevaundray Date: Mon, 21 Aug 2023 17:42:23 +0000 Subject: [PATCH] upgrade to clang16 for linux --- .../.github/workflows/release-please.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/circuits/cpp/barretenberg/.github/workflows/release-please.yml b/circuits/cpp/barretenberg/.github/workflows/release-please.yml index 1a5d8b75e4b..bdee1e1ccc1 100644 --- a/circuits/cpp/barretenberg/.github/workflows/release-please.yml +++ b/circuits/cpp/barretenberg/.github/workflows/release-please.yml @@ -39,7 +39,17 @@ jobs: - name: Create Build Environment run: | sudo apt-get update - sudo apt-get -y install clang ninja-build yarn + sudo apt-get -y install ninja-build yarn + + - name: Install Clang16 + run: | + wget https://github.com/llvm/llvm-project/releases/download/llvmorg-16.0.0/clang+llvm-16.0.0-x86_64-linux-gnu-ubuntu-18.04.tar.xz + tar -xvf clang+llvm-16.0.0-x86_64-linux-gnu-ubuntu-18.04.tar.xz + sudo cp clang+llvm-16.0.0-x86_64-linux-gnu-ubuntu-18.04/bin/* /usr/local/bin/ + sudo cp -r clang+llvm-16.0.0-x86_64-linux-gnu-ubuntu-18.04/include/* /usr/local/include/ + sudo cp -r clang+llvm-16.0.0-x86_64-linux-gnu-ubuntu-18.04/lib/* /usr/local/lib/ + sudo cp -r clang+llvm-16.0.0-x86_64-linux-gnu-ubuntu-18.04/share/* /usr/local/share/ + - name: Install yarn run: | curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -