From b0316b7076c9954383574f65fc135db16f17c1c0 Mon Sep 17 00:00:00 2001 From: Laytan Date: Wed, 2 Apr 2025 21:13:10 +0200 Subject: ci: update to LLVM 20 on MacOS and Linux CI and releases --- build_odin.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build_odin.sh') diff --git a/build_odin.sh b/build_odin.sh index 773958d5f..19bb82a11 100755 --- a/build_odin.sh +++ b/build_odin.sh @@ -25,7 +25,7 @@ error() { # Brew advises people not to add llvm to their $PATH, so try and use brew to find it. if [ -z "$LLVM_CONFIG" ] && [ -n "$(command -v brew)" ]; then - if [ -n "$(command -v $(brew --prefix llvm)/bin/llvm-config)" ]; then LLVM_CONFIG="$(brew --prefix llvm)/bin/llvm-config" + if [ -n "$(command -v $(brew --prefix llvm@20)/bin/llvm-config)" ]; then LLVM_CONFIG="$(brew --prefix llvm@20)/bin/llvm-config" elif [ -n "$(command -v $(brew --prefix llvm@19)/bin/llvm-config)" ]; then LLVM_CONFIG="$(brew --prefix llvm@19)/bin/llvm-config" elif [ -n "$(command -v $(brew --prefix llvm@18)/bin/llvm-config)" ]; then LLVM_CONFIG="$(brew --prefix llvm@18)/bin/llvm-config" elif [ -n "$(command -v $(brew --prefix llvm@17)/bin/llvm-config)" ]; then LLVM_CONFIG="$(brew --prefix llvm@17)/bin/llvm-config" -- cgit v1.2.3