From 18b557bb1aa44c43df708e29601d3212df0ecc4b Mon Sep 17 00:00:00 2001 From: dongwlin Date: Wed, 11 Dec 2024 10:23:28 +0800 Subject: [PATCH] ci: fix build error for mac --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1ea38d2..d208af1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -220,8 +220,8 @@ jobs: - name: Build MAABH3 env: - CC: "/usr/local/opt/llvm/bin/clang" - CXX: "/usr/local/opt/llvm/bin/clang++" + CC: "$(brew --prefix llvm)/bin/clang" + CXX: "$(brew --prefix llvm)/bin/clang++" run: | cmake --preset 'NinjaMulti' \ -DARCH='${{ matrix.arch == 'x86_64' && 'x64' || 'arm64' }}' \