diff options
| author | 0dminnimda <0dminnimda@gmail.com> | 2024-11-02 00:53:13 +0300 |
|---|---|---|
| committer | 0dminnimda <0dminnimda@gmail.com> | 2024-11-02 00:53:13 +0300 |
| commit | d06fcbfdd3adfc44c1a9e13ca758f7dc1f3b2459 (patch) | |
| tree | c11cb241f6e0639670daef2c83355817c94e3268 /build_odin.sh | |
| parent | d52e80502b55b25da38cda948ec042c9d7ccaf07 (diff) | |
Update version in more places
Diffstat (limited to 'build_odin.sh')
| -rwxr-xr-x | build_odin.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/build_odin.sh b/build_odin.sh index a2846646f..9010d5977 100755 --- a/build_odin.sh +++ b/build_odin.sh @@ -25,7 +25,8 @@ 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@18)/bin/llvm-config)" ]; then LLVM_CONFIG="$(brew --prefix llvm@18)/bin/llvm-config" + if [ -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" elif [ -n "$(command -v $(brew --prefix llvm@14)/bin/llvm-config)" ]; then LLVM_CONFIG="$(brew --prefix llvm@14)/bin/llvm-config" fi |