aboutsummaryrefslogtreecommitdiff
path: root/build_odin.sh
diff options
context:
space:
mode:
authorLaytan <laytanlaats@hotmail.com>2025-04-02 21:13:10 +0200
committerLaytan <laytanlaats@hotmail.com>2025-04-02 21:13:10 +0200
commitb0316b7076c9954383574f65fc135db16f17c1c0 (patch)
treeb07f3ba5f2402b2d4011e32dec94031529516c38 /build_odin.sh
parent5eaff20f4a672760b4d90d596dd46be132634f41 (diff)
ci: update to LLVM 20 on MacOS and Linux CI and releases
Diffstat (limited to 'build_odin.sh')
-rwxr-xr-xbuild_odin.sh2
1 files changed, 1 insertions, 1 deletions
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"