From 99767073b5192b122f1fa184ebfd3f4a016395de Mon Sep 17 00:00:00 2001 From: ludamad Date: Fri, 9 Feb 2024 06:08:24 -0500 Subject: [PATCH] fix(bb): publishing bb for mac intel (#4523) Resolves https://github.com/AztecProtocol/aztec-packages/issues/4522 See https://github.com/AztecProtocol/aztec-packages/actions/runs/7835428713/job/21380804175 --- .github/workflows/publish-bb.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-bb.yml b/.github/workflows/publish-bb.yml index 6793f999745..d295b9fdcf8 100644 --- a/.github/workflows/publish-bb.yml +++ b/.github/workflows/publish-bb.yml @@ -149,12 +149,15 @@ jobs: ref: ${{ inputs.tag || env.GITHUB_REF }} - name: Create Mac Build Environment - run: brew install cmake ninja + run: brew install cmake ninja llvm@16 - name: Compile Barretenberg working-directory: barretenberg/cpp run: | - cmake --preset default -DCMAKE_BUILD_TYPE=RelWithAssert + export PATH="/usr/local/opt/llvm@16/bin:$PATH" + export LDFLAGS="-L/usr/local/opt/llvm@16/lib" + export CPPFLAGS="-I/usr/local/opt/llvm@16/include" + cmake -DCMAKE_BUILD_TYPE=RelWithAssert --preset default cmake --build --preset default --target bb - name: Package barretenberg artifact