aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen van Rijn <Kelimion@users.noreply.github.com>2023-04-12 20:04:19 +0200
committerGitHub <noreply@github.com>2023-04-12 20:04:19 +0200
commit073f51e284e50d324cc71c4d3e80fe56b79005a7 (patch)
tree6e03bdda1dbd0a148d50739ad3890d809d9ea63a
parentb42bb5be26eef651f886810778ee931cf37a8d6b (diff)
parentb5784bc2efb3c264947b67771a118f965de57082 (diff)
Merge pull request #2453 from TriedAngle/patch-1
Fix: `Unable to find LLVM-config` on Ubuntu
-rwxr-xr-xbuild_odin.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/build_odin.sh b/build_odin.sh
index a1cdbd62f..8cb081b45 100755
--- a/build_odin.sh
+++ b/build_odin.sh
@@ -97,6 +97,8 @@ config_linux() {
LLVM_CONFIG=llvm-config-11
elif [ -x "$(command -v llvm-config-11-16)" ]; then
LLVM_CONFIG=llvm-config-11-64
+ elif [ -x "$(command -v llvm-config-14)" ]; then
+ LLVM_CONFIG=llvm-config-14
else
panic "Unable to find LLVM-config"
fi